summaryrefslogtreecommitdiff
path: root/lingucomponent
AgeCommit message (Collapse)Author
2016-04-19unused header file which is no longer in hunspell 4-0Caolán McNamara
Change-Id: Ia1deaca48d653518cf6f440a833752268c47aaf3 Reviewed-on: https://gerrit.libreoffice.org/24218 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-11-24cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I1934441858baeeb41a46f694dbcef2d846b308b7
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann
Change-Id: Ia93c541ea21be89578789d58f642109184a18685
2015-11-16no need to take a mutex when only dealing with stack-local dataNoel Grandin
Change-Id: Ie45e626aad55a8174a53b769a98601bf54dedf65 Reviewed-on: https://gerrit.libreoffice.org/19979 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
performed using: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f Reviewed-on: https://gerrit.libreoffice.org/19968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite; Mac-specific code)Stephan Bergmann
Change-Id: I48e80668c76b7fb94dfa2876ae8ca5e895cea3be
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I1aa63ce279fe3914e0f5153b7d8559880a3fccc3
2015-11-04use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: I11822c50fa66d038a3d6f38054ab35c2e613f077
2015-10-23com::sun::star->css in lingucomponentNoel Grandin
Change-Id: Iceef10c51db88b3e85f118a366de45f0f70bbf21
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-08-19Clean up remaining utl::LocalFileHelper::Convert...Stephan Bergmann
together with 58d68a1bc9146334376206ae7ba8b1a6594a1040 "ConvertURLToSystemPath->getSystemPathFromFileURL" and 28f3464a571a23a2c16bd0980e9021b95d011511 "ConvertSystemPathToURL->getFileURLFromSystemPath," this replaces all those Convert... functionality with direct calls to the corresponding osl::FileBase functions. Change-Id: I2876171cd337a5eb939d25d8cf1e0c1253ff73a7
2015-08-19lingucomponent: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe
with the variadic variants. Change-Id: Ibe00b26512a4895a603a084f4e816c74b99894df Reviewed-on: https://gerrit.libreoffice.org/17850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-30loplugin:unusedmethodsNoel Grandin
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-19Fix typosAndrea Gelmini
Change-Id: I52cbaad71560d73f5e24f3de3cd62b00d678dd6c Reviewed-on: https://gerrit.libreoffice.org/17187 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-06-17Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe
This may reduce some degree of dependency on boost. Done by running a script like: git grep -l '#include *.boost/scoped_array.hpp.' \ | xargs sed -i -e 's@#include *.boost/scoped_array.hpp.@#include <memory>@' git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \ | xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/' ... and then killing duplicate or unnecessary includes, while changing manually m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx, extensions/source/ole/unoconversionutilities.hxx, and extensions/source/ole/oleobjw.cxx. Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd Reviewed-on: https://gerrit.libreoffice.org/16289 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-15I guess we can revert this "temporary check" nowDavid Tardon
On the other side, it has been in the code for only 2 years, so who knows .-) Revert "libexttextcat: fix the --with-system case too..." This reverts commit a81f44c707c4df56e7b999fa3b656d7fa4543d1b. Change-Id: I4e02ebe971f8a838bf2a1630ed38d4408245bf37
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: I617d55415aee923d0734f3f3b74948b26132611b
2015-06-02loplugin:loopvartoosmallStephan Bergmann
Change-Id: I33f4e74f97ba52b9240e6304d53eb256bd822060
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann
Change-Id: I0730744b8424bc6dea5e8016199088f86e9570f5
2015-05-11loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann
Change-Id: Ic494c8e3b072adceca984a3ceec02088ac08e880
2015-04-23loplugin:staticmethodsNoel Grandin
Change-Id: Id7fc12bc61c6e803f45cc60556d9cf54ac2e529f
2015-04-08convert CapType to scoped enumNoel Grandin
Change-Id: I88fa3672a1f933ae818368c9bc400c6a845babb6
2015-04-02loplugin:redundantcastStephan Bergmann
Change-Id: I3ef78881cfed8b66f067e9164efcccf425fb549c
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: I34dc9028a273b6a22395fe662dd071505989dc5c
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I76204cd86daa7b95f9c70276459d7dd112198135
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: Id916058c4a1483a7a050d93cce45926fbd0df9ed
2015-03-04V813: Decreased performanceCaolán McNamara
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
2015-03-01use initializer list here tooDavid Tardon
Change-Id: I30e4374dc44a58cb1b7315e3d7bfbed99c77030a
2015-03-01initialize membersDavid Tardon
Change-Id: I907fdbb4ca12a25fbfa99c6fa345c3c07aea0833
2015-02-07loplugin:deletedspecial (Mac OS X)Stephan Bergmann
Change-Id: Ia09e2e7b3e40bd04da64b52fe29258017b90b156
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: I65d025fc465b9b1d11c43e01e2ff6796b72d6333
2015-01-22loplugin:cstylecast (MACOSX)Stephan Bergmann
Change-Id: I1dac5542d711133f30fb4e61590a19bd2beccf53
2014-12-18fdo#39440 reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: Ib16e4ecc0e0c43b2c1fb527eb0668a960ae9756e Reviewed-on: https://gerrit.libreoffice.org/13513 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-17Introduce rtl::OUStringLiteral1Stephan Bergmann
...to use single ASCII character literals "more directly" in the OUString API (instead of having to go via an intermediary OUString ctor call). Especially useful for character literals that are defined as const variables or via macros ("direct" uses of character literals in the OUString API can often simply be replaced with single-character string literals, for improved readability). (The functions overloaded for OUStringLiteral1 are those that are actually used by the existing LO code; more could potentially be added. The asymmetry in the operator ==/!= parameter types is by design, though---writing code like 'x' == s is an abomination that shall not be abetted.) Change-Id: Ic5264714be7439eed56b5dfca6ccaee277306f1f
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
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-10-16MAC_OS_X_VERSION_MAX_ALLOWED is always >= 1080 nowTor Lillqvist
Change-Id: Ieae67cbf917cdf4bca2b0d6c1697eddc6137dbe2
2014-09-15sal_Bool -> boolStephan Bergmann
Change-Id: Id93c6c3cd5d9d4821a59b9f6a5d0b534939dfa39
2014-08-07Fix *_component_getFactory function typeStephan Bergmann
Change-Id: Ib86d37e1570c9a64ef83beaf11bf0ec4676533eb
2014-08-01typo: more then -> more thanTakeshi Abe
Change-Id: I2e477d66f25bde7256938ccb1f95ab26add24922
2014-07-15fdo#80363 always use WIN32 long path prefix with Hunspell, MyThes, HyphenLászló Németh
Change-Id: I738401babffd38c241ef16e23d1b246444fd8d55
2014-06-17conditionally revert 96840ff0ce697c5c05b59d53409b3cf27ac35e5fDouglas Mencken
Change-Id: If5e53ca72fc3b90435d95b50c5c796ec0ff04869 Reviewed-on: https://gerrit.libreoffice.org/9790 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-05various: remove SAL_THROW macroNoel Grandin
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-06-04compareToAscii -> equalsAsciiNoel Grandin
convert places using compareToAscii that should be using equalsAscii Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
2014-06-03WaE: 'guessesForWord:' is deprecated: first deprecated in OS X 10.6Tor Lillqvist
Change-Id: I861d4012c12096958c73c7008b0a9dfa6934fda2
2014-05-23Try to fix Windows buildTor Lillqvist
Change-Id: Ib73cc86f9f14397b296324e14562278b5f8a2144
2014-05-23Reintroduce Win_GetShortPathName()Tor Lillqvist
Change-Id: Id15d1d4d9b7fb9bb2a0a5f52b5ec1928c38bd27b
2014-05-23Fix typoTor Lillqvist
Change-Id: I7ee0eecc36659ac8ee9a62698923a90e96b7f302