summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)AuthorFilesLines
2013-05-14unused svl/source/items/cstitem.src + hrc cleanupAndras Timar3-28/+0
Change-Id: I3db54045dc5be13dd7c72076c96a7e3f3b7b30ea
2013-05-14Remove obsolete RestrictedPath env var supportStephan Bergmann3-304/+0
Change-Id: Ia4ea7d60d7b69c863c1e891887060265e73e1cb6
2013-05-14typo fix: s/inavlid/invalid/Andras Timar1-1/+1
Change-Id: If75cad038f35033be6dcad6f051673bd795accf3
2013-05-09fdo#63154: Remove _CL and _LF from solar.hMarcos Paulo de Souza1-1/+1
And use RTL_CHAR_{CR,LF} from rtl/string.h Conflicts: vcl/source/app/dbggui.cxx Change-Id: I05b0325006845e48eb5483485a9042aa7b0cd22a Reviewed-on: https://gerrit.libreoffice.org/3740 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-05-07officecfg: remove Package_cppheaderMichael Stahl1-0/+4
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-07drop commented-out codeTakeshi Abe2-100/+0
Change-Id: I7384a4fd82c8807dfaf9049306b65fe3ef5cab42
2013-04-30i#120015# Let SdrUndoAttrObj remember a reference to the used style to surviveArmin Le Grand1-8/+13
removal of the style by UI (which creates no undo actions). Re-add the style when undoing if needed. Change-Id: I6069a1cb42dfaeb0dd35fdc15687fd307f2b641e
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks4-95/+26
2013-04-27Bin ugly (ab)use of preprocessor in headersTor Lillqvist6-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>
2013-04-26sal_Bool to boolTakeshi Abe12-41/+41
Change-Id: I7dcb2dcef78c67d90ff2dea58c1374bd17ac58af
2013-04-24Don't point to inc directories that don't exist any longerTor Lillqvist1-1/+0
Change-Id: If783897a60a545baf3968c5eeccf80a1e186bc51
2013-04-24Don't point to inc directories that don't exist any longerTor Lillqvist1-1/+0
Change-Id: Ia160f0ee3e9480c60056d38bf11a6b139b53424f
2013-04-24gbuild: drop empty use_packages callsDavid Tardon2-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>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon4-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>
2013-04-23execute move of global headersBjoern Michaelsen90-12354/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23eliminated another unnecessary rString.toString()Eike Rathke1-1/+1
Change-Id: Ic2fad1120876160f741056937825ab564e6d5f4e
2013-04-22fixed a mess of out of bounds string accessesEike Rathke1-23/+40
Change-Id: I800840e1b3c0d97a049b3ceba0ec244365dc8e6b
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza1-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>
2013-04-19Delete two pass-through include files and update the file that included them.Michael Dunphy3-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>
2013-04-19OUString::startsWith() is not equivalent to String::Match()Eike Rathke1-2/+2
String::Match() wasn't quite right at that place either, but.. Change-Id: I1aed325340f5f36973ef2da8fd48af3283c0b79b
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane2-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
2013-04-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-12spurious warning C4701: potentially uninitialized local variableMichael Stahl1-2/+2
Change-Id: I2e99cbe9db6d5911f0c2ec61229cd47e07e99cdf
2013-04-10Resolves: #i120077# Memory leak fixed in ScXMLFontAutoStylePool_ImplArmin Le Grand2-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
2013-04-10fdo#62096: Replaced some OUString 'compareTo' with '=='Prashant Pandey1-1/+1
Change-Id: I1d095cf5640595789f4ae99f1b0679be88b0baa9
2013-04-07Fix Array index "i" is used before limits checkJulien Nabet1-2/+2
Change-Id: Ie7a4b836db7391f4e625bfeaeab55c2ed4304604
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák3-6/+0
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák80-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
2013-04-05new module i18nlangtagEike Rathke21-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
2013-04-05resolved fdo#63161 out of bounds string accessEike Rathke1-0/+4
Introduced with c7709b460394283fd5b1d2779b6af3585f80a991 String to OUString where previous String::GetChar() handled this. Change-Id: I9253df1af7498e2d7a8ea8077ec6b369697ad44e
2013-04-05Drop jvmaccess and jvmfwk when no SOLAR_JAVATor Lillqvist1-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
2013-04-03Asserting rtl::O[U]StringBuffer::operator [] preconditionsStephan Bergmann1-1/+3
...and fixing two call-sites. Change-Id: I8ed8cb189bd5034130b49b2f57156568e6b24716
2013-04-02Revert "Revert "reduce some uglyness""Thomas Arnhold3-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>
2013-04-02nranges: add lost header guardThomas Arnhold1-0/+1
Change-Id: Ia1aea9dea8766b50a57e897bec9fb2557310168c
2013-04-01Remove RTL_CONSTASCII_USTRINGPARAM in smoketest/sot/svl/toolkit/vbahelperChr. Rossmanith4-26/+26
Change-Id: I0816631a1d0c68dcef9c640c91d00ac9942ded28
2013-03-29unit test for i#116701Korrawit Pruegsanusak1-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>
2013-03-29ResMgr with LanguageTagEike Rathke5-13/+10
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-27-Werror=unused-macrosStephan Bergmann1-1/+1
Change-Id: I377711500e6308e8aa273f016f8a2a9dcbaab760
2013-03-26Cleanup comments and some translations in style.cxxJoren De Cuyper1-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>
2013-03-26Lock files make no sense on Android or iOSTor Lillqvist1-1/+2
Change-Id: Ie8d05b8596fb7d17e057bc32c7a4204a9ff54021
2013-03-26style.hrc: translate commentsMichael Stahl1-10/+10
Change-Id: I00766a327a99b6fd5eed8e0ba411f3f71f07e942
2013-03-26fdo#61429: Stylist: save selection of "Hierarchical" entryMichael Stahl1-0/+1
This is unfortunately rather ugly because that one is "very special". Change-Id: Ie2bc9ce2690fbc742b4510e453ca1ef310614256
2013-03-23"atomar" is not a wordTor Lillqvist3-4/+4
SCNR Change-Id: I3aaa8d9b37423d44fe11f161cc21c0a77b466353
2013-03-22chose date that does not suffer from historic time zone bugEike Rathke1-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
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann2-11/+11
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19unit test for fdo#60915Korrawit Pruegsanusak1-0/+61
Change-Id: Ib7c1e87521fbbfd76b8eeead17c58915c5d71728
2013-03-18renamed method, it determines if symbol combinesEike Rathke1-2/+2
Change-Id: I60fec73900b861363c02ec51ecbf9dcfd7edb167
2013-03-18use switch instead of multiple ifsEike Rathke1-9/+13
Change-Id: Ib928f7e80aa185119c37b400e8a3e002619ffd41
2013-03-18make empty subformat code work againEike Rathke1-3/+3
Broken with 842c95519a35174238c728784662f854031993d7 were things like ;;;@ or _;0 Change-Id: Idf99378beedacf97a0376d1cd11ee78d3f7c9aff
2013-03-18avoid Wundef in cases where the usage seems otherwise okLuboš Luňák1-2/+2
Change-Id: Iabccc31c59cec32235661f5225f45bb13f76a68f