summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)AuthorFilesLines
2015-03-11Clean up previous commitStephan Bergmann3-15/+7
Change-Id: I6ecc801d19c54ff93559bff627b99c656e71a6e4
2015-03-11svl: use constructor syntax in svl.componentChris Sherlock8-168/+40
Change-Id: I2cb78695ede4017dfc4594175268e3d3c7eb4eca Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-03-11do not call virtual Commit() from dtors of utl::ConfigItem subclassesMichael Stahl1-2/+1
~SvtAppFilterOptions_Impl() demonstrates that this is a bad idea, by not invoking its subclasses' ImplCommit() but its own. Change-Id: Ic675e9cd3be1494c740a4f289be3bdbf0d1a122b
2015-03-11utl::ConfigItem::Commit() should call ClearModified()Michael Stahl8-12/+20
Rename the virtual function, and add a new non-virtual Commit() to do that. Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara4-15/+7
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2015-03-11SfxItemHandle is only used in one place, so inline itNoel Grandin1-44/+0
Change-Id: Ie54e0699312b6c072d2b162a068cffdf960be4d0
2015-03-09V801: Decreased performanceCaolán McNamara1-2/+2
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
2015-03-04V813: Decreased performanceCaolán McNamara2-6/+3
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-02convert SVX_SEARCHAPP_ constants to enum classNoel Grandin1-3/+7
Change-Id: I2b9d379e56e0af655aa06afb5391140de952b9d6
2015-03-02replace SVX_SEARCHCMD_ constants with enum classNoel Grandin1-4/+8
Change-Id: I675c488742219cc19624a21d1fc8e5033e7cbefa
2015-02-25remove NUMBERFORMAT_ constantsNoel Grandin6-346/+346
.. in favour of just using the underlying constants from css::util::NumberFormat Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
2015-02-24Remove long-unnecessary cruftStephan Bergmann1-19/+10
Change-Id: Id770188f8c03cade5fd4f97295bb0933968dee71
2015-02-23tdf#88835 Calc: General format: 2 digits in exponentLaurent Balland-Poirier1-10/+15
Create 4 new formats enums rtl_math_StringFormat: rtl_math_StringFormat_E1, rtl_math_StringFormat_E2, rtl_math_StringFormat_G1, rtl_math_StringFormat_G2 to 1 or 2 digits in exponent for scientific notation. Set General format to use rtl_math_StringFormat_E2. Set trendline equation in status bar to use rtl_math_StringFormat_E1 Change-Id: I41466a6d4ba808ba5b9b38ba252b37c6b4560f12 Reviewed-on: https://gerrit.libreoffice.org/14562 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-02-22Simplify erase iterator management (zforlist.cxx)Julien Nabet1-2/+2
Change-Id: Ia3ddb5223d4ac54b9b6b31d734a4cc6978dff3b3
2015-02-20Resolves: tdf#89500 catch ISO 8601 datetime in all localesEike Rathke1-7/+26
Change-Id: I906ebdc6aa5c365df98a29e9e0f319f89f6833c6
2015-02-18boost->stdCaolán McNamara4-44/+45
Change-Id: I412137e7e7b9b2b87f401bc140a9499d1fc012c6
2015-02-16boost::noncopyable->'= delete'Caolán McNamara1-0/+1
Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea
2015-02-16boost::foo_ptr->std::foo_ptrCaolán McNamara1-160/+160
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
2015-02-08Extract SfxItemSet::dumpAsXml() from swMiklos Vajna1-0/+10
Change-Id: I30cb1a3c99ad5116cc2d014a7bbb1048fe8cb9f8
2015-02-07loplugin:deletedspecialStephan Bergmann1-10/+0
Change-Id: Id4f2e6cd7d689ac0b4688d92780b48d51427307a
2015-02-06shared_ptr<T>(new T(args)) -> make_shared<T>(args)Caolán McNamara1-1/+1
and boost:make_shared->std::make_shared Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
2015-02-05yet another Windows build 'Locale' ambiguous symbolEike Rathke1-1/+1
Change-Id: I9aec5b5e982b5b29b5937fba1cebf6b429d82adf
2015-02-05yet another Windows build fixEike Rathke1-3/+3
'Locale' : ambiguous symbol, could be 'com::sun::star::lang::Locale' or 'icu_54::Locale' Change-Id: Id5688195907624467d3956aff4b27f6839e03015
2015-02-05fix Windows buildEike Rathke1-2/+2
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 Nakashian1-2/+9
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 McNamara1-6/+0
Change-Id: I8ed7028f865bd4a6425859ab3b57ed8e928a78e4
2015-02-03tdf#88960 Scientific format: add/remove digits with buttonsLaurent Balland-Poirier1-0/+13
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 Bergmann1-22/+0
Change-Id: Iaf75d9570c2091365a16e13119e4515957a86551
2015-02-01Extract SfxUndoManager::dumpAsXml() from swMiklos Vajna1-0/+11
Change-Id: Ic031b63641e0fd0fbd1524657082188d9ce78fcf
2015-01-31Extract SfxUndoAction::dumpAsXml() from swMiklos Vajna1-0/+21
Change-Id: I7ec2071150c03b61f3f681dbd26968ae3c535742
2015-01-29callcatcher: large newly detected unused methods post de-virtualizationCaolán McNamara4-123/+0
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 Bergmann1-497/+497
Change-Id: I86f9b9ada62687e8159497bf428e18be1442c8a6
2015-01-26merge existing date input tests to new unit test, tdf#63230Eike Rathke1-28/+2
2015-01-26add older problems to unit test, tdf#63230Eike Rathke1-2/+8
Check that various older problems remain fixed.
2015-01-26add unit test for tdf#63230Eike Rathke1-0/+525
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 Rathke1-3/+3
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 Bergmann1-0/+1
...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 Grandin1-10/+0
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 Vajna1-0/+8
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 Vajna1-1/+9
Change-Id: If218d83297bfdd39471d5502c0639248c96af9c6
2015-01-20Some more loplugin:cstylecast: svlStephan Bergmann3-8/+8
Change-Id: I98f34cd3925189941d33056d709a5f5bc26412a7
2015-01-16remove unnecessary parenthesesNoel Grandin2-8/+8
left over from "SVStream operator>> to Write method" conversion Change-Id: I619eb743d7890d5c70d0a94e51ce263567fa6f3b
2015-01-13simplify Date/Time/DateTime conversion codeNoel Grandin1-2/+1
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 Weghorn2-7/+4
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 Stahl3-4/+4
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin1-12/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin1-1/+1
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-05java: remove dead codeNoel Grandin3-3/+0
found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara5-12/+13
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2015-01-02iss is unordered_multimap, so can't rely on orderCaolán McNamara1-0/+1
Change-Id: Ief399439bdde047dfbaef43f2262e6212db8bd7e