summaryrefslogtreecommitdiffstats
path: root/svl
Commit message (Collapse)AuthorAgeFilesLines
* i#120015# Let SdrUndoAttrObj remember a reference to the used style to surviveArmin Le Grand2013-04-301-8/+13
| | | | | | | removal of the style by UI (which creates no undo actions). Re-add the style when undoing if needed. Change-Id: I6069a1cb42dfaeb0dd35fdc15687fd307f2b641e
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-304-95/+26
|
* Bin ugly (ab)use of preprocessor in headersTor Lillqvist2013-04-276-18/+21
| | | | | | | | | | | | | | | The time when it made sense to use "clever" #ifdefs to, for performance or compiler reasons, conditionally bypass private parts of a class declaration passed a decade or longer ago. Still more of this in sw and sc. People working on those modules might want to do it too, or not. Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be Reviewed-on: https://gerrit.libreoffice.org/3627 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* sal_Bool to boolTakeshi Abe2013-04-2612-41/+41
| | | | Change-Id: I7dcb2dcef78c67d90ff2dea58c1374bd17ac58af
* Don't point to inc directories that don't exist any longerTor Lillqvist2013-04-241-1/+0
| | | | Change-Id: If783897a60a545baf3968c5eeccf80a1e186bc51
* Don't point to inc directories that don't exist any longerTor Lillqvist2013-04-241-1/+0
| | | | Change-Id: Ia160f0ee3e9480c60056d38bf11a6b139b53424f
* gbuild: drop empty use_packages callsDavid Tardon2013-04-242-6/+0
| | | | | | | Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* gbuild: drop uses of removed packagesDavid Tardon2013-04-244-7/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-2390-12354/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* eliminated another unnecessary rString.toString()Eike Rathke2013-04-231-1/+1
| | | | Change-Id: Ic2fad1120876160f741056937825ab564e6d5f4e
* fixed a mess of out of bounds string accessesEike Rathke2013-04-221-23/+40
| | | | Change-Id: I800840e1b3c0d97a049b3ceba0ec244365dc8e6b
* fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza2013-04-201-7/+7
| | | | | | | | | 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>
* Delete two pass-through include files and update the file that included them.Michael Dunphy2013-04-193-46/+0
| | | | | | | Change-Id: I6f02d312d1425dbb28b7cb7a2aa87a734054c4a7 Reviewed-on: https://gerrit.libreoffice.org/3474 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* OUString::startsWith() is not equivalent to String::Match()Eike Rathke2013-04-191-2/+2
| | | | | | String::Match() wasn't quite right at that place either, but.. Change-Id: I1aed325340f5f36973ef2da8fd48af3283c0b79b
* date/time IDL datatypes incompatible changeLionel Elie Mamane2013-04-182-3/+3
| | | | | | | | | | - nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
* fdo#60724 correct spellingThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
* spurious warning C4701: potentially uninitialized local variableMichael Stahl2013-04-121-2/+2
| | | | Change-Id: I2e99cbe9db6d5911f0c2ec61229cd47e07e99cdf
* Resolves: #i120077# Memory leak fixed in ScXMLFontAutoStylePool_ImplArmin Le Grand2013-04-102-14/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | also checked and fixed memory leaks caused by not deleting SfxStyleSheetIterator instances. Found by: Chao Huang Patch by: Chao Huang Review by: alg (cherry picked from commit aee8221b3fbe64d8e88aa3a1b630214807cd86f0) Conflicts: sc/source/core/data/stlsheet.cxx sc/source/filter/xml/xmlfonte.cxx sfx2/source/doc/objcont.cxx svl/source/items/style.cxx sw/source/core/unocore/unostyle.cxx Resolves: #120077# ALG: Reverted r1354011, adapted all usages of SfxStyleSheetIterator and CreateIterator to use boost::shared_ptr (cherry picked from commit ec1819f218b94bed1556653e1b2b816a65da61ef) Conflicts: sc/source/core/data/stlsheet.cxx sc/source/filter/xml/xmlfonte.cxx sfx2/source/doc/objcont.cxx svl/inc/svl/style.hxx svl/source/items/style.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unostyle.cxx 26937d4d65562b14de0aea59a7b01cc4334f73c1 Change-Id: If99bf3ee399292ec269d68b36ee78ed63f033215
* fdo#62096: Replaced some OUString 'compareTo' with '=='Prashant Pandey2013-04-101-1/+1
| | | | Change-Id: I1d095cf5640595789f4ae99f1b0679be88b0baa9
* Fix Array index "i" is used before limits checkJulien Nabet2013-04-071-2/+2
| | | | Change-Id: Ie7a4b836db7391f4e625bfeaeab55c2ed4304604
* remove needless forward rtl::OUString declarationsLuboš Luňák2013-04-073-6/+0
| | | | Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0780-774/+770
| | | | | | | | 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
* new module i18nlangtagEike Rathke2013-04-0521-24/+24
| | | | | | | | | | | 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
* resolved fdo#63161 out of bounds string accessEike Rathke2013-04-051-0/+4
| | | | | | | Introduced with c7709b460394283fd5b1d2779b6af3585f80a991 String to OUString where previous String::GetChar() handled this. Change-Id: I9253df1af7498e2d7a8ea8077ec6b369697ad44e
* Drop jvmaccess and jvmfwk when no SOLAR_JAVATor Lillqvist2013-04-051-1/+2
| | | | | | | | | Just sprinkle #ifdef SOLAR_JAVA into the code instead. In the source for jvmaccess and jvmfwk such ifdefs can be removed as it isn't compiled unless SOLAR_JAVA. Change-Id: Ia8614f8bd6d833582d3b79b5fb75f9153fa79606
* Asserting rtl::O[U]StringBuffer::operator [] preconditionsStephan Bergmann2013-04-031-1/+3
| | | | | | ...and fixing two call-sites. Change-Id: I8ed8cb189bd5034130b49b2f57156568e6b24716
* Revert "Revert "reduce some uglyness""Thomas Arnhold2013-04-023-254/+197
| | | | | | | | | | | The header guard seems to solve the problem. This reverts commit df8c41cceeca27ae49e9fa6b5cd64c65c8feb218. Change-Id: I27869be9c70e79a366a547ce061e71a3743f87da Reviewed-on: https://gerrit.libreoffice.org/3171 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* nranges: add lost header guardThomas Arnhold2013-04-021-0/+1
| | | | Change-Id: Ia1aea9dea8766b50a57e897bec9fb2557310168c
* Remove RTL_CONSTASCII_USTRINGPARAM in smoketest/sot/svl/toolkit/vbahelperChr. Rossmanith2013-04-014-26/+26
| | | | Change-Id: I0816631a1d0c68dcef9c640c91d00ac9942ded28
* unit test for i#116701Korrawit Pruegsanusak2013-03-291-0/+45
| | | | | | | | Change-Id: Id9a9532d0e02b478f7913bc4a687c38f79a3a322 Reviewed-on: https://gerrit.libreoffice.org/2896 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* ResMgr with LanguageTagEike Rathke2013-03-295-13/+10
| | | | Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
* -Werror=unused-macrosStephan Bergmann2013-03-271-1/+1
| | | | Change-Id: I377711500e6308e8aa273f016f8a2a9dcbaab760
* Cleanup comments and some translations in style.cxxJoren De Cuyper2013-03-261-57/+10
| | | | | | | Change-Id: I18f0a3d9e9c97164691233e3c997f978d339e401 Reviewed-on: https://gerrit.libreoffice.org/3062 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Lock files make no sense on Android or iOSTor Lillqvist2013-03-261-1/+2
| | | | Change-Id: Ie8d05b8596fb7d17e057bc32c7a4204a9ff54021
* style.hrc: translate commentsMichael Stahl2013-03-261-10/+10
| | | | Change-Id: I00766a327a99b6fd5eed8e0ba411f3f71f07e942
* fdo#61429: Stylist: save selection of "Hierarchical" entryMichael Stahl2013-03-261-0/+1
| | | | | | This is unfortunately rather ugly because that one is "very special". Change-Id: Ie2bc9ce2690fbc742b4510e453ca1ef310614256
* "atomar" is not a wordTor Lillqvist2013-03-233-4/+4
| | | | | | SCNR Change-Id: I3aaa8d9b37423d44fe11f161cc21c0a77b466353
* chose date that does not suffer from historic time zone bugEike Rathke2013-03-221-9/+9
| | | | | | | | | When building in a time zone that suffers from the historical time zone bug https://bugs.freedesktop.org/show_bug.cgi?id=44286 e.g. TZ=America/Sao_Paulo the build failed. Chose a recent enough test date to circumvent. Change-Id: Iad6c99f6a0a656546924c94edd39aca92d92d47d
* Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann2013-03-192-11/+11
| | | | Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
* unit test for fdo#60915Korrawit Pruegsanusak2013-03-191-0/+61
| | | | Change-Id: Ib7c1e87521fbbfd76b8eeead17c58915c5d71728
* renamed method, it determines if symbol combinesEike Rathke2013-03-181-2/+2
| | | | Change-Id: I60fec73900b861363c02ec51ecbf9dcfd7edb167
* use switch instead of multiple ifsEike Rathke2013-03-181-9/+13
| | | | Change-Id: Ib928f7e80aa185119c37b400e8a3e002619ffd41
* make empty subformat code work againEike Rathke2013-03-181-3/+3
| | | | | | | Broken with 842c95519a35174238c728784662f854031993d7 were things like ;;;@ or _;0 Change-Id: Idf99378beedacf97a0376d1cd11ee78d3f7c9aff
* avoid Wundef in cases where the usage seems otherwise okLuboš Luňák2013-03-181-2/+2
| | | | Change-Id: Iabccc31c59cec32235661f5225f45bb13f76a68f
* janitorial: typo in commentLionel Elie Mamane2013-03-181-1/+1
| | | | Change-Id: I57ff7cf21ab3d6bc7ded7fadd26475bbbe2cc2f5
* i#120055 Prevent crash caused by un-disposed secondary item pool.Andre Fischer2013-03-151-1/+12
| | | | | | | | | Conflicts: svl/source/items/itempool.cxx Adapted to new pImp implementation. (erAck) Change-Id: I106f0dc41bc8f41d394d680fe89a8fee6a2f508a
* clarify logicEike Rathke2013-03-151-6/+5
| | | | Change-Id: Idc223daa6034b359ac62693ce8dfebed846d5789
* rename methods to something meaningfulEike Rathke2013-03-153-7/+8
| | | | Change-Id: I92f5b3cb637b7cc6152d118505b69e762047f78b
* simplify logicEike Rathke2013-03-151-6/+4
| | | | Change-Id: I60726b445712cc15f8453812ce6313167314a8df
* i#119964 - Number displays different from MS with the same format codeWang Lei2013-03-152-0/+15
| | | | | | | | | Patch by: Zhang Lu Review by: Wang Lei Conflicts: svl/source/numbers/zformat.cxx Change-Id: Id1ce742dc829a7aa8056e3be50e315ea4499ecc6