summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)Author
2015-03-19loplugin:constantfunction: svlNoel Grandin
Change-Id: I6504e354cfb381cc00ea837f959e2e18e5fc596c
2015-03-19loplugin:constantfunction: toolsNoel Grandin
Change-Id: I3a29d90c60157dceb1da2225f4517ef3d193815e
2015-03-18more cast hellCaolán McNamara
Change-Id: I125c08ed182786cbdae7b5afabdab0754c31053a
2015-03-18another round of build fixingCaolán McNamara
Change-Id: I79964b1e091b9a11a0e5724c6ce8465b31d25bff
2015-03-18some more blind fixing towards a windows buildCaolán McNamara
Change-Id: I92f0df38fae820dac2df8289a9a38d7d0f12bc26
2015-03-18CF_TEXT and SotClipboardFormatId::STRING are both 1Caolán McNamara
Change-Id: If97a74b947fcec1790c6cf1497299ff11b87f042
2015-03-18fix windows DdePoke signatureCaolán McNamara
Change-Id: I61a2c7287a2a5b7abadcd79f74fb38ba528d7da7
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin
of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann
...in preparation of enabling the __attribute__((format(...))) in sal_detail_logFormat (include/sal/detail/log.h) Change-Id: I8a859199fa11ca0f9f4f4b4b23a8ebddec955a86
2015-03-11Clean up previous commitStephan Bergmann
Change-Id: I6ecc801d19c54ff93559bff627b99c656e71a6e4
2015-03-11svl: use constructor syntax in svl.componentChris Sherlock
Change-Id: I2cb78695ede4017dfc4594175268e3d3c7eb4eca Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2015-03-11do not call virtual Commit() from dtors of utl::ConfigItem subclassesMichael Stahl
~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 Stahl
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 McNamara
Change-Id: I4a33bd92fc8448638a4bfe1eab7e5041a4c5cc39
2015-03-11SfxItemHandle is only used in one place, so inline itNoel Grandin
Change-Id: Ie54e0699312b6c072d2b162a068cffdf960be4d0
2015-03-09V801: Decreased performanceCaolán McNamara
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
2015-03-04V813: Decreased performanceCaolán McNamara
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-02convert SVX_SEARCHAPP_ constants to enum classNoel Grandin
Change-Id: I2b9d379e56e0af655aa06afb5391140de952b9d6
2015-03-02replace SVX_SEARCHCMD_ constants with enum classNoel Grandin
Change-Id: I675c488742219cc19624a21d1fc8e5033e7cbefa
2015-02-25remove NUMBERFORMAT_ constantsNoel Grandin
.. in favour of just using the underlying constants from css::util::NumberFormat Change-Id: I0c6b128b66c91b268f5ae300f9c17c7792df5e99
2015-02-24Remove long-unnecessary cruftStephan Bergmann
Change-Id: Id770188f8c03cade5fd4f97295bb0933968dee71
2015-02-23tdf#88835 Calc: General format: 2 digits in exponentLaurent Balland-Poirier
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 Nabet
Change-Id: Ia3ddb5223d4ac54b9b6b31d734a4cc6978dff3b3
2015-02-20Resolves: tdf#89500 catch ISO 8601 datetime in all localesEike Rathke
Change-Id: I906ebdc6aa5c365df98a29e9e0f319f89f6833c6
2015-02-18boost->stdCaolán McNamara
Change-Id: I412137e7e7b9b2b87f401bc140a9499d1fc012c6
2015-02-16boost::noncopyable->'= delete'Caolán McNamara
Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea
2015-02-16boost::foo_ptr->std::foo_ptrCaolán McNamara
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
2015-02-08Extract SfxItemSet::dumpAsXml() from swMiklos Vajna
Change-Id: I30cb1a3c99ad5116cc2d014a7bbb1048fe8cb9f8
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