summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)Author
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: Id4f2e6cd7d689ac0b4688d92780b48d51427307a
2015-02-06shared_ptr<T>(new T(args)) -> make_shared<T>(args)Caolán McNamara
and boost:make_shared->std::make_shared Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
2015-02-05yet another Windows build 'Locale' ambiguous symbolEike Rathke
Change-Id: I9aec5b5e982b5b29b5937fba1cebf6b429d82adf
2015-02-05yet another Windows build fixEike Rathke
'Locale' : ambiguous symbol, could be 'com::sun::star::lang::Locale' or 'icu_54::Locale' Change-Id: Id5688195907624467d3956aff4b27f6839e03015
2015-02-05fix Windows buildEike Rathke
hopefully.. C:/cygwin/home/tinderbox/master/svl/source/items/srchitem.cxx(111) : error C2872: 'Locale' : ambiguous symbol could be 'C:\cygwin\home\tinderbox\master\workdir\UnoApiHeadersTarget\udkapi\normal\com/sun/star/lang/Locale.hdl(17) : com::sun::star::lang::Locale' or 'C:\cygwin\home\tinderbox\master\workdir\UnpackedTarball\icu\source\common\unicode/unistr.h(79) : icu_54::Locale' Change-Id: I9d9650cd058fb4328fcaa2ae8f5adbb903001817
2015-02-05Updated all precompiled headers.Ashod Nakashian
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-03callcatcher: shave off some moreCaolán McNamara
Change-Id: I8ed7028f865bd4a6425859ab3b57ed8e928a78e4
2015-02-03tdf#88960 Scientific format: add/remove digits with buttonsLaurent Balland-Poirier
Use buttons "Add Decimal Place" or "Delete Decimal Place" to change the number of significant digits with scientific format (also works for "General" format) Improve format management for "red for negative" to be compatible with tdf#88999 Change-Id: Id681afc4fc73674c9823172c6cd71925e63b867f Reviewed-on: https://gerrit.libreoffice.org/14264 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-01loplugin:unreffunStephan Bergmann
Change-Id: Iaf75d9570c2091365a16e13119e4515957a86551
2015-02-01Extract SfxUndoManager::dumpAsXml() from swMiklos Vajna
Change-Id: Ic031b63641e0fd0fbd1524657082188d9ce78fcf
2015-01-31Extract SfxUndoAction::dumpAsXml() from swMiklos Vajna
Change-Id: I7ec2071150c03b61f3f681dbd26968ae3c535742
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara
i.e lots now able to be detected after... commit b44cbb26efe1d0b0950b1e1613e131b506dc3876 Author: Noel Grandin <noel@peralex.com> Date: Tue Jan 20 12:38:10 2015 +0200 new loplugin: change virtual methods to non-virtual Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I605e2fa56f7186c3d3a764f3cd30f5cf7f881f9d
2015-01-26-Werror,-Wmissing-bracesStephan Bergmann
Change-Id: I86f9b9ada62687e8159497bf428e18be1442c8a6
2015-01-26merge existing date input tests to new unit test, tdf#63230Eike Rathke
2015-01-26add older problems to unit test, tdf#63230Eike Rathke
Check that various older problems remain fixed.
2015-01-26add unit test for tdf#63230Eike Rathke
All problematic dates of https://bugs.documentfoundation.org/attachment.cgi?id=79051 Muchas gracias to Isamu Mogi!
2015-01-26implement css::i18n::XCalendar4 and LocaleCalendar2 service, tdf#63230Eike Rathke
Implementation only, new local date/time routines not used yet from the outside in this step.
2015-01-26Visible function type RTTI for Clang -fsanitize=functionStephan Bergmann
...by adding some further SAL_DLLPUBLIC_RTTI type annotations (cf. b4f6b26b5a1a78fecfa95ec2eb7ac8b80495d8aa "SAL_DLLPUBLIC_RTTI for proper RTTI visibility for LLVM") and by making sure relevant function types do not use incomplete types in their parameter and return types (which would make the RTTI hidden). Change-Id: Id7aadcbc0704b9759968ae36266fc9ce11a2e340
2015-01-26followup code removal after changing virtual methods to non-virtualNoel Grandin
This cleanups up indentation and removes dead classes. This is a followup patch to commit 272b1dd55797aacf511fb4342b0054e3697243f6 "new loplugin: change virtual methods to non-virtual" Change-Id: I1c2139589cf8cb23bb9808defe22c51039d38de1
2015-01-23Factor out SfxPoolItem::dumpAsXml() from swMiklos Vajna
The primary benefit of this is that it's no longer necessary to manually downcast to each and every subclass in sw. Change-Id: I5742d5744836eef192eef2d4f7ad180da67eb914
2015-01-22Factor out SfxStringItem::dumpAsXml() from swMiklos Vajna
Change-Id: If218d83297bfdd39471d5502c0639248c96af9c6
2015-01-20Some more loplugin:cstylecast: svlStephan Bergmann
Change-Id: I98f34cd3925189941d33056d709a5f5bc26412a7
2015-01-16remove unnecessary parenthesesNoel Grandin
left over from "SVStream operator>> to Write method" conversion Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
2015-01-13simplify Date/Time/DateTime conversion codeNoel Grandin
add constructors to Date/DateTime/Time, that take the css::util counterparts, to simplify code converting between these type Change-Id: I4b03da02c63f65b6ec18cb4d6ecc3859bdef1ff7 Reviewed-on: https://gerrit.libreoffice.org/13855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2015-01-12fdo#39440 reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: I46b9293eed0cba2ebca119cc1fb0a6334ea66308 Reviewed-on: https://gerrit.libreoffice.org/13844 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-09override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-05java: remove dead codeNoel Grandin
found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2015-01-02iss is unordered_multimap, so can't rely on orderCaolán McNamara
Change-Id: Ief399439bdde047dfbaef43f2262e6212db8bd7e
2014-12-22callcatcher: update unused codeCaolán McNamara
Change-Id: I62e49fbf27364bd244099a9bb247452d5a691119
2014-12-19java: reduce visibility of some methods and fieldsNoel Grandin
found by UCDetector Change-Id: I0a0a00d1fae1fed2e6aef198b7a1482d7e7e29f0
2014-12-18svl: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I212dccf416fda574f940f13a2b1de5c293b3f9fd
2014-12-15coverity#1242875 Untrusted loop boundCaolán McNamara
Change-Id: I5ba34dca7d9f510981b85a35c056c792159f5f98
2014-12-14Factor out SfxUInt16Item::dumpAsXml() from swMiklos Vajna
Change-Id: Ia58bed9c4a0be4b909789e8bdcd64f06230c0f43
2014-12-12coverity#1242875 Untrusted pointer writeCaolán McNamara
Change-Id: I197a67320bd6cd8f0e6735b8cd24deebcdf190f1
2014-12-12silence coverity#1242911 Untrusted loop boundCaolán McNamara
Change-Id: Ifab75371cbedd26d510f162efe2c9247e37893ed
2014-12-12leave this Clone as inlineCaolán McNamara
so code isn't generated for it unless the new_clone is required, which it isn't under gcc. Change-Id: I07e0b3e4b2e07625509b51ba7d37e24440f56cfe
2014-12-12leave the deliberately unused, not-for-use method inlineCaolán McNamara
doing so means code is not generated for it seeing as its not used, moving it out means code is generated for it and its detected as unused code Change-Id: I72edc89446bdfac50069e0b509fc7f90540e0d4a
2014-12-12svl: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I8d8528c74bae3de67a0a9bdd727cd0d8c8304d3e
2014-12-11java: reduce visibility of fields and methodsNoel Grandin
found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-10java: simplify the getMSF() methodsNoel Grandin
Change-Id: Ib459799f4a3224f8c9683ac4b6cf37982d2077a3 Reviewed-on: https://gerrit.libreoffice.org/13406 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-08Move IndexedStyleSheets to the Imp(l) class.Kohei Yoshida
And remove #include <vector> which wasn't really used. Change-Id: I05bbc7848c753795f859f80725be6332d8e5ce46
2014-12-07Forward-declare MarkedUndoAction.Kohei Yoshida
Change-Id: I1c36077cada47bacfb8436cf3fb659e47d02da60
2014-12-07Pimplize SfxListUndoAction.Kohei Yoshida
Change-Id: Ic82755788df237c455c802a039881a9d056f4df2
2014-12-07Pimplize SfxUndoActions.Kohei Yoshida
Change-Id: I35ef457111f4cf8b811a4ee8bb676421746e1d9d
2014-12-04Putting this back in to fix Windows build.Kohei Yoshida
Change-Id: I98262000956f10dc3b3da069b6bc286fec314a45
2014-12-04callcatcher: update unused codeCaolán McNamara
Change-Id: Ia25b857738bb7b6c3baf18c68ef0d1bc0b3e142e
2014-12-04pIimplize SfxBroadcaster and SfxListener.Kohei Yoshida
Change-Id: I0d1d73402f11cc61ea9e7629bea34e24c22f5beb