summaryrefslogtreecommitdiff
path: root/svl/source/config
AgeCommit message (Collapse)AuthorFilesLines
2015-04-17convert SCRIPTTYPE_ constants to scoped enumNoel Grandin3-13/+44
Change-Id: I5be3980ac865162d8d7626556ca47eca4b0ee433 Reviewed-on: https://gerrit.libreoffice.org/15344 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin1-2/+2
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-02loplugin:staticmethodsNoel Grandin1-2/+2
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
2015-04-02loplugin:staticmethodsNoel Grandin1-3/+3
Change-Id: I1f6c6d13697aa397067478d6b07429120106e6bd
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2-2/+2
Change-Id: I641a3a1e2cf2c789844940d7231015cb85e3b8bc
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann1-1/+1
Change-Id: I4ce94a1cbe0567a829de977aaa9fd1cdbff71788
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 Stahl3-5/+7
Rename the virtual function, and add a new non-virtual Commit() to do that. Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022
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
2014-11-24svl: convert DBG_ASSERTs in SvtCTLOptionsMichael Stahl1-18/+16
Change-Id: Iec07c3f4088e2af9bc5b63f44e9943af215cebf1
2014-11-24svl: convert DBG_ASSERTs in SvtCJKOptionsMichael Stahl1-13/+12
Change-Id: I3b7222217e1f5d8b2a26f49b359d9c8587793e88
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl2-0/+2
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin1-1/+0
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-22Remove some useless tools/debug.hxx includesMarcos Paulo de Souza2-3/+1
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h header was necessary in some cases because of a macro or a typedef that was needed. Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9 Reviewed-on: https://gerrit.libreoffice.org/11075 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-08-16svl: Remove ASCII art and pointless commentsChris Laplante3-14/+5
Change-Id: Idd8ea0cb7e7d58a29dbfcae084558320efe5fe43 Reviewed-on: https://gerrit.libreoffice.org/10945 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15fix-includes.pl: svlThomas Arnhold3-23/+23
Change-Id: I18fb7a677e2bb98c83f43f5af3fa988393dc23f9
2014-04-22cppcheck: fix variable reassigned before the old value has been usedJulien Nabet1-3/+1
Change-Id: I866eaf946d4cd8eaa8e4b8799ddac5e0d5dc59bb
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann2-2/+2
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann3-5/+5
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2-2/+2
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-23Remove unneccessary commentsAlexander Wilms3-27/+27
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20svl: sal_Bool -> boolStephan Bergmann3-75/+75
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-01-28bool improvementsStephan Bergmann1-8/+8
Change-Id: I6cf511b92383f3cd60923620518b9233b82850c0
2014-01-21bool improvementsStephan Bergmann1-1/+1
Change-Id: I28697ffd7902321730435e15fcf3018c78a61c5f
2013-12-27cppcheck: fix var reassignedJulien Nabet1-3/+1
Change-Id: I10bb64672d02626814c162b09b8bdd615f7fcad8
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke1-1/+1
Change-Id: Ib45634b0baad4ef4c6754b13cee6d92c2bc504f8
2013-07-17After some trials, maybe even I can get things rightFridrich Štrba1-1/+1
Change-Id: Ib553ea1ceff1d09dff86c4a36b896dddab854ba0
2013-07-17Brackets are cheap, so use themFridrich Štrba1-1/+1
Change-Id: If5b539025020a2e9a35fa6e7bc70bcc6a9a4f4c6
2013-07-17Fix MINGW64 build in svlFridrich Štrba1-1/+1
Change-Id: I92370c829c192be4ae480e13f290629e7a85be0c
2013-07-17fdo#62475 removed pointless commentsJelle van der Waa4-35/+0
Change-Id: Id9d579960a9b641b7b2cdf05eabea8bfbfc06bd6 Reviewed-on: https://gerrit.libreoffice.org/4901 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke2-3/+3
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-12constify these methodsCaolán McNamara1-6/+4
Change-Id: I72173ef6cbea28afe9f349aa57a94cbfd537a851
2013-07-12Resolves: fdo#54493 autoenable CJK/CTL ui based on installed keyboardsCaolán McNamara2-21/+66
Change-Id: I66d3c57c88ff64fc3e3a7fa50fb5a173e709e3bf
2013-07-12Related: fdo#54493 determine if a CJK/CTL keyboard is installedMarc Garcia1-0/+47
Change-Id: If21a34c69f58612f8ec2eba1253f325f352962cd
2013-07-11use LanguageTag to convertEike Rathke1-4/+1
Change-Id: I721f1018e6380a3102b6dd20052001b1e950421b
2013-07-10use LanguageTag to convertEike Rathke1-19/+5
Change-Id: I45fe02ca4cc3c171cc7f230093ca9623d7e69980
2013-06-16cppcheck: fix uninitMemberVar from ctloptions.cxx (svl)Julien Nabet1-0/+2
Change-Id: I4a0bf380d2f7786332ddb7f10f432636a0eda928
2013-04-26sal_Bool to boolTakeshi Abe1-2/+2
Change-Id: I7dcb2dcef78c67d90ff2dea58c1374bd17ac58af
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák5-25/+25
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 Rathke3-4/+4
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
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens3-14/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-21obtain LanguageTag from SvtSysLocaleEike Rathke2-2/+2
Change-Id: Iaee25f1d92349704eaae45e6582d31dfa718ddcb
2012-11-16use LanguageTagEike Rathke1-1/+2
Change-Id: I28aff5533ec6cc31a3d6f3de3198452bd716ba62
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin1-6/+4
...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-02sal_Bool->bool in svl::SvtCTLOptionsNoel Grandin1-37/+37
Change-Id: I824595b6b60d4114f27bf64d8a84f2973f778e39
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud1-1/+0
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-08-08reduce ascii noise and useless commentsThomas Arnhold2-4/+0
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08remove include comments and boxesThomas Arnhold2-5/+0
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-07-03Get rid of RTL_CONSTASCII_USTRINGPARAM in svl/Olivier Hallot4-41/+25
Change-Id: I64f3f966011bf07a2ee0c7327feb4a46df595210
2012-07-02re-base on ALv2 code.Michael Meeks6-138/+84