Michael Meeks
62badf3828
Move to MPLv2 license headers, with ESC decision and author's permission.
2013-04-22 09:37:38 +01:00
Matteo Casalin
e7bfe84711
Do not store return value for later, just exit
...
Change-Id: If71398ee5a29652303ae492d23e3910526307d3c
Reviewed-on: https://gerrit.libreoffice.org/3541
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-04-22 07:23:02 +00:00
Matteo Casalin
43513fec9c
Prefer standard prefix for data members
...
Change-Id: Ic0d0cdc88ee17bdeeb53855162085c30b25f9004
Reviewed-on: https://gerrit.libreoffice.org/3540
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-04-22 07:21:24 +00:00
Matteo Casalin
684aff90b0
Slightly simplify loop
...
Change-Id: If44e86ceecd4a407d3b4e294a03a84ad010f95e1
Reviewed-on: https://gerrit.libreoffice.org/3539
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-04-22 07:20:26 +00:00
Matteo Casalin
d1f99bdf2a
bDocumentDone is always false
...
Change-Id: Ifde4d9235d3eacf0317b19885f5ea57e1c695cb3
Reviewed-on: https://gerrit.libreoffice.org/3538
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-04-22 07:19:21 +00:00
Matteo Casalin
e0067f8451
sal_Bool to bool
...
Change-Id: I5831dfb7270ce3983a454c6c40558a74931d5200
Reviewed-on: https://gerrit.libreoffice.org/3537
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-04-22 07:16:25 +00:00
Matteo Casalin
8e73c8ebcb
Avoid multiple appends on OUString
...
Change-Id: I877c4520be335dc04bbfdfa9a15dab52dd7f446a
2013-04-21 19:06:41 +02:00
Marcos Paulo de Souza
0f200cc30e
fdo#63154: Change Min/Max/Abs for std::min/max/abs
...
Now all these usages were removed from LO.
Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6
Reviewed-on: https://gerrit.libreoffice.org/3326
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-20 11:09:54 +00:00
Eike Rathke
721d0dfe70
Revert "Revert "fix fdo#47018 Impress paste destroy bullet""
...
This reverts commit 674a40fe830748b63eafeaf07e0932e2e0a81ba6.
And restores a95cce2729
with the exception
that the sal_Int8 to sal_uInt16 change is omitted.
This stream length change causes loading of autoformats to fail, which
are stored in binary format, i.e. in user config's autotbl.fmt, loaded
and stored in Calc's ScAutoFormat sc/source/core/tool/autoform.cxx and
Writer's SwTableAutoFmtTbl sw/source/core/doc/tblafmt.cxx
Change-Id: I59f5d3b1c7e1011a8db304855b2fcf28971e7cb1
2013-04-19 14:56:15 +02:00
László Németh
f1f7dfebb3
fdo#63711 Calc: fix Catalan and Hungarian hyphenation
...
Change-Id: I08962578e5d41637e78c91f5df45e518893c82e5
2013-04-19 11:47:58 +02:00
Stephan Bergmann
98d594abd4
Revert "fix fdo#47018 Impress paste destroy bullet"
...
This reverts commit a95cce2729
, it lead to live-
lock in JunitTest_sc_unoapi, where SvxBoxItem::Create
(editeng/source/items/frmitems.cxx) failed to break out of the while(true) loop,
apparently because it kept reading past the end of rStrm, so cLine wouldn't be
updated. (That code would need to be made more robust, but I do not know how
best to flag errors from SvxBoxItem::Create?)
What looks suspicious about the changes of
a95cce2729
at least to
editeng/source/items/frmitems.cxx is that it changes the stream's format, now
reading/writing a 16 bit value where it previously read/wrote an 8 bit value
(SvStream /does/ support sal_Int8, btw).
Change-Id: I1a46746559dcf8e1ea8be63a9a0cf2d32ccc69a1
2013-04-19 11:46:31 +02:00
Lionel Elie Mamane
9830fd36db
date/time IDL datatypes incompatible change
...
- nanosecond precision
- signed (allowed negative) year
Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.
Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18 21:34:46 +02:00
Cao Cuong Ngo
a95cce2729
fix fdo#47018 Impress paste destroy bullet
...
Currently the copy function stores the paragraph attributes
to SvStream but the restoration in paste isn't implemented yet!
This patch implements the attributes loading from SvStream.
Change-Id: I58928ca66a83b3fe3c3894a28ccf1e7fe5f661b3
Reviewed-on: https://gerrit.libreoffice.org/3369
Reviewed-by: Julien Nabet <serval2412@yahoo.fr >
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-04-18 14:54:30 +00:00
Noel Power
dd76360478
basic inplace Font preview for calc
...
Change-Id: Ic1e6c953852a6106ee94f0b577ed398d62aa2285
2013-04-15 20:37:19 +01:00
navin patidar
1e7bc06905
use ImpEditEngine::ImplInitDigitModel() to set digit language.
...
Change-Id: I38047da8cb73493916803d73e1036dec68ee2d97
Reviewed-on: https://gerrit.libreoffice.org/3389
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-04-15 07:53:54 +00:00
Cao Cuong Ngo
5785db93c5
fdo#47018 Impress crashes when modifying bullet
...
Default numbering rules shouldn't be left zero nor hard-coded.
Change-Id: I8a34331006abf3de8c170f8dca43ccf9cec92f04
Reviewed-on: https://gerrit.libreoffice.org/3312
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-04-13 15:06:21 +00:00
Eike Rathke
8e725c7fad
added missing includes
...
Change-Id: I3b77f544478ccdb166a9c7ebc82fb04458aa42df
2013-04-12 20:48:39 +02:00
Eike Rathke
a324ad1ab6
resolveSystemLanguageByScriptType in case not set
...
Change-Id: I45582ba27579413140d536fdf0106edbef8dc4a7
2013-04-12 20:45:01 +02:00
Eike Rathke
f3e70f0f9c
make that a proper static method EditView::CheckLanguage()
...
Change-Id: I08c1af6813314b4881aafdd7f3f98a7629d5cf76
2013-04-12 20:45:01 +02:00
Eike Rathke
cabde84509
use proper language tag fallback for language guesser result
...
Change-Id: Icd912361ebca0e618bc76fa7017039cc116bef40
2013-04-12 20:45:01 +02:00
Stephan Bergmann
5acb6ad0fe
warning C4101: 'e' : unreferenced local variable
...
Change-Id: I31372075311e45b7b772ff057aedf4c5f1d0ed18
2013-04-12 12:28:50 +02:00
Jan Holesovsky
763011690b
i#79611: SvxFieldData::Create() is not supposed to throw.
...
Change-Id: Ied4e5cc9211b2a541006432d0b4d257f014249f4
2013-04-11 18:27:37 +02:00
Kohei Yoshida
d64b5cc1c3
fdo#62116: Be sure to convert relative URLs into absolute ones.
...
Just to preserve the old (and correct) behavior.
Change-Id: I229e0b80097f6d70ff3023072b52576815010b15
2013-04-08 19:25:38 -04:00
Armin Le Grand
7a90044df2
#120650# truncate mis-sized bullet sizes to useful values
...
Patch by: Tang Meng
Review by: alg(cherry picked from commit e5720990bd3691222363bb2d674b7d39a0d8829f)
2013-04-07 23:37:37 +02:00
Luboš Luňák
ba044b1e96
remove needless forward rtl::OUString declarations
...
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07 14:23:12 +02:00
Luboš Luňák
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Eike Rathke
876c619b94
new module i18nlangtag
...
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.
This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.
Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
Eike Rathke
5be14df244
ResMgr with LanguageTag
...
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-29 14:09:01 +01:00
Stephan Bergmann
129836c99d
-Werror=unused-macros
...
Change-Id: I70813300c9935435de62a6a1347530aed8dfdc08
2013-03-27 17:26:23 +01:00
Stephan Bergmann
aa753f01ba
-Wunused-macros
...
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
Thomas Arnhold
646daee253
kill some unused inlines
...
Change-Id: I17160b264b547067c694dd268eb0d3bd1086565d
2013-03-27 03:14:45 +01:00
Julien Nabet
549030d96a
coverity#704226 Logically dead code
...
Change-Id: I24e55bea6070ce1113c5b64902dbd41c7827f91d
2013-03-23 16:58:52 +01:00
Julien Nabet
6408f363bf
coverity#704225 Logically dead code
...
Change-Id: I9aa41653b9622245de8084443ef3e0b74f720571
2013-03-23 16:50:49 +01:00
Kohei Yoshida
e3504ca6b8
Make EditTextObject copyable. Its Clone() method uses that anyway...
...
Change-Id: I9c9ce4ddbf4849e3b237f037d8f1232b4ae84387
2013-03-22 21:49:17 -04:00
Julien Nabet
d96dd35771
coverity#704628/704629/704630 Explicit null dereferenced
...
+ return early if no whichid or after default case
Change-Id: I40f3ec310604ccde22022dd2e82984b0f3057307
Reviewed-on: https://gerrit.libreoffice.org/2869
Reviewed-by: Noel Power <noel.power@suse.com >
Tested-by: Noel Power <noel.power@suse.com >
2013-03-20 15:58:06 +00:00
Stephan Bergmann
2d9ce9191d
Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)
...
...which is a confusing overload with unexpectedly different semantics from the
one-parameter form. In preparation of marking it as deprecated.
Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
2013-03-20 13:05:35 +01:00
Thomas Arnhold
39d45390f4
removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
...
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms
Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-19 10:48:30 +00:00
Julien Nabet
8f2cf65ec9
coverity#735374 Copy-paste error
...
Change-Id: Icbd64c87f6a8fb87f4f2d82f23d3df613bbb6cfb
Reviewed-on: https://gerrit.libreoffice.org/2798
Reviewed-by: Noel Power <noel.power@suse.com >
Tested-by: Noel Power <noel.power@suse.com >
2013-03-19 10:30:48 +00:00
Thomas Arnhold
8b27d78b4a
automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
...
Done with a perl regex:
s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms
Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-19 09:00:26 +00:00
Julien Nabet
5f50fcf94e
coverity#735373 Copy-paste error
...
Change-Id: I0273a08a7aa23aa9bb7aa2139a0cea02611e8feb
Reviewed-on: https://gerrit.libreoffice.org/2797
Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be >
Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz >
Tested-by: Tomáš Chvátal <tchvatal@suse.cz >
2013-03-18 14:18:31 +00:00
David Tardon
327a649b48
use SAL_N_ELEMENTS
2013-03-18 12:29:35 +01:00
Michael Meeks
79b0046ba0
remove legacy build.pl prj/build.lst files.
2013-03-14 17:05:51 +00:00
Andre Fischer
8569f74b89
i#119907# Numbering type now applied (almost) unconditionally.
...
Patch by: Steve Yin
Cleanup: af
Change-Id: Iccf48a24cc947115524b1d92874386c1e2e0aecf
2013-03-14 16:03:04 +01:00
Caolán McNamara
251200d25c
don't jam numbers directly on text, leave a space
...
...for the "X characters at start/end of line" in the paragraph style dialog
style-description entry when hyphenation is not default
Move it into the resource string, that way translators have the chance to
position the numbers in the right place of the string.
Change-Id: I04217e27336bc032548645fc46a6daf58cccd0c4
2013-03-13 15:06:19 +00:00
Steven Meyer
07c6e76749
fdo#60724: Fix spelling avaliable -> available.
2013-03-13 08:57:14 +01:00
Fridrich Štrba
c7bcb98de0
Oops
...
Change-Id: Idc22c05ff2425702fb7a5ab25b3413f967238569
2013-03-12 23:48:14 +01:00
Zhe Wang
ef23b47e88
Resolves: #i120773 Numbering lost when saving or opening a ppt file
...
* subversion/main/editeng/inc/editeng/svxenum.hxx
Define some numbering types supported by MS ppt
* subversion/main/filter/source/msfilter/svdfppt.cxx
Mapping added MS numbering types to Symphony numbering types
* subversion/main/sd/source/filter/eppt/epptso.cxx
Export added MS numbering types
Patch by: Yin Bing <steve.yin.aoo@gmail.com >
Suggested by: Wang Zhe <kingwisemmx@gmail.com >
Found by: Yin Bing <steve.yin.aoo@gmail.com >
Review by: Wang Zhe <kingwisemmx@gmail.com >(cherry picked from commit 39e9cae1ac9b7944c9df0642a193b042a1b68266)
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch >
Conflicts:
editeng/inc/editeng/svxenum.hxx
sd/source/filter/eppt/epptso.cxx
Change-Id: Ic8a9406fd1b58e5cec5c5adc28bf0190ccb87315
2013-03-12 23:21:41 +01:00
Tor Lillqvist
3ce934bfc9
One more Rec->Rect in editeng
...
Change-Id: Id30c005559631d4685aa00a6197fbc6c062dc624
2013-03-12 09:32:01 +02:00
Tor Lillqvist
eca1592a6d
Let's abbreviate Rectangle as Rect, not Rec
...
(Rec is commonly used to mean Record.)
Change-Id: I19f4611948510536b2db1e0142b52a7c0a35a60b
2013-03-12 09:26:27 +02:00
navin patidar
68c3dfc311
fix fdo#62143: set TEXT_LAYOUT_BIDI_STRONG flag.
...
Change-Id: I19ed1874ff73c3a8002934fa3456d718e383c5d6
Reviewed-on: https://gerrit.libreoffice.org/2664
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-03-11 14:34:29 +00:00