summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)Author
2013-05-07drop commented-out codeTakeshi Abe
Change-Id: I7384a4fd82c8807dfaf9049306b65fe3ef5cab42
2013-04-30i#120015# Let SdrUndoAttrObj remember a reference to the used style to surviveArmin Le Grand
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 Meeks
2013-04-27Bin ugly (ab)use of preprocessor in headersTor Lillqvist
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 Abe
Change-Id: I7dcb2dcef78c67d90ff2dea58c1374bd17ac58af
2013-04-24Don't point to inc directories that don't exist any longerTor Lillqvist
Change-Id: If783897a60a545baf3968c5eeccf80a1e186bc51
2013-04-24Don't point to inc directories that don't exist any longerTor Lillqvist
Change-Id: Ia160f0ee3e9480c60056d38bf11a6b139b53424f
2013-04-24gbuild: drop empty use_packages callsDavid Tardon
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 Tardon
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 Michaelsen
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-23eliminated another unnecessary rString.toString()Eike Rathke
Change-Id: Ic2fad1120876160f741056937825ab564e6d5f4e
2013-04-22fixed a mess of out of bounds string accessesEike Rathke
Change-Id: I800840e1b3c0d97a049b3ceba0ec244365dc8e6b
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza
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 Dunphy
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 Rathke
String::Match() wasn't quite right at that place either, but.. Change-Id: I1aed325340f5f36973ef2da8fd48af3283c0b79b
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane
- 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 Arnhold
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-12spurious warning C4701: potentially uninitialized local variableMichael Stahl
Change-Id: I2e99cbe9db6d5911f0c2ec61229cd47e07e99cdf
2013-04-10Resolves: #i120077# Memory leak fixed in ScXMLFontAutoStylePool_ImplArmin Le Grand
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 Pandey
Change-Id: I1d095cf5640595789f4ae99f1b0679be88b0baa9
2013-04-07Fix Array index "i" is used before limits checkJulien Nabet
Change-Id: Ie7a4b836db7391f4e625bfeaeab55c2ed4304604
2013-04-07remove needless forward rtl::OUString declarationsLuboš Luňák
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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 Rathke
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 Rathke
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 Lillqvist
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 Bergmann
...and fixing two call-sites. Change-Id: I8ed8cb189bd5034130b49b2f57156568e6b24716
2013-04-02Revert "Revert "reduce some uglyness""Thomas Arnhold
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 Arnhold
Change-Id: Ia1aea9dea8766b50a57e897bec9fb2557310168c
2013-04-01Remove RTL_CONSTASCII_USTRINGPARAM in smoketest/sot/svl/toolkit/vbahelperChr. Rossmanith
Change-Id: I0816631a1d0c68dcef9c640c91d00ac9942ded28
2013-03-29unit test for i#116701Korrawit Pruegsanusak
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 Rathke
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-27-Werror=unused-macrosStephan Bergmann
Change-Id: I377711500e6308e8aa273f016f8a2a9dcbaab760
2013-03-26Cleanup comments and some translations in style.cxxJoren De Cuyper
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 Lillqvist
Change-Id: Ie8d05b8596fb7d17e057bc32c7a4204a9ff54021
2013-03-26style.hrc: translate commentsMichael Stahl
Change-Id: I00766a327a99b6fd5eed8e0ba411f3f71f07e942
2013-03-26fdo#61429: Stylist: save selection of "Hierarchical" entryMichael Stahl
This is unfortunately rather ugly because that one is "very special". Change-Id: Ie2bc9ce2690fbc742b4510e453ca1ef310614256
2013-03-23"atomar" is not a wordTor Lillqvist
SCNR Change-Id: I3aaa8d9b37423d44fe11f161cc21c0a77b466353
2013-03-22chose date that does not suffer from historic time zone bugEike Rathke
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 Bergmann
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19unit test for fdo#60915Korrawit Pruegsanusak
Change-Id: Ib7c1e87521fbbfd76b8eeead17c58915c5d71728
2013-03-18renamed method, it determines if symbol combinesEike Rathke
Change-Id: I60fec73900b861363c02ec51ecbf9dcfd7edb167
2013-03-18use switch instead of multiple ifsEike Rathke
Change-Id: Ib928f7e80aa185119c37b400e8a3e002619ffd41
2013-03-18make empty subformat code work againEike Rathke
Broken with 842c95519a35174238c728784662f854031993d7 were things like ;;;@ or _;0 Change-Id: Idf99378beedacf97a0376d1cd11ee78d3f7c9aff
2013-03-18avoid Wundef in cases where the usage seems otherwise okLuboš Luňák
Change-Id: Iabccc31c59cec32235661f5225f45bb13f76a68f
2013-03-18janitorial: typo in commentLionel Elie Mamane
Change-Id: I57ff7cf21ab3d6bc7ded7fadd26475bbbe2cc2f5
2013-03-15i#120055 Prevent crash caused by un-disposed secondary item pool.Andre Fischer
Conflicts: svl/source/items/itempool.cxx Adapted to new pImp implementation. (erAck) Change-Id: I106f0dc41bc8f41d394d680fe89a8fee6a2f508a
2013-03-15clarify logicEike Rathke
Change-Id: Idc223daa6034b359ac62693ce8dfebed846d5789
2013-03-15rename methods to something meaningfulEike Rathke
Change-Id: I92f5b3cb637b7cc6152d118505b69e762047f78b
2013-03-15simplify logicEike Rathke
Change-Id: I60726b445712cc15f8453812ce6313167314a8df