summaryrefslogtreecommitdiff
path: root/linguistic
AgeCommit message (Collapse)AuthorFilesLines
2015-06-10cppcheck: noExplicitConstructorCaolán McNamara8-15/+14
Change-Id: I0081113bf312287fe6e14749a569709ee892d8dd
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann7-20/+20
Change-Id: I34315c0e76ee89e456f50776ef3393dc9408e8fd
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann2-4/+2
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-02drop useless debugging stuffCaolán McNamara1-3/+0
Change-Id: I4475b1112dfd9d6b1439deb4792d1320a00b79dc
2015-05-02drop useless debugging stuffCaolán McNamara1-8/+0
Change-Id: Ia7f189de07370edc9330e8e79169bdb07a0000df
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist2-8/+0
Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
2015-04-28Fix sal_Int16 var initializationStephan Bergmann1-1/+1
Change-Id: I485fce696a1c1b18a563f56b0d69bb3816bd8784
2015-04-28Fix sal_Bool -> bool assignmentStephan Bergmann1-1/+1
Change-Id: I2cd55fa3ecef70b29b940e682faf98c7f6718b3c
2015-04-28Rephrase comparisons between bool and sal_BoolStephan Bergmann1-1/+1
...to cater for forthcoming loplugin:implicitboolconversion improvements Change-Id: I801b6b73648715448198d582a087cc834f6e20c8
2015-04-27More loplugin:simplifyboolStephan Bergmann1-2/+2
Change-Id: I68b98ad56d4487ff85b8e4555c94f6dd247c2012
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin2-4/+4
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-10linguistic: try to avoid crash with null LngSvcMgr::pAvailGrammarSvcsMichael Stahl1-0/+8
Most likely it was cleared by another thread while this one showed the "no JRE" dialog. Change-Id: Ib0e74c73a510f52778163ad24c20d7ae835ced11
2015-04-09loplugin:staticmethodsNoel Grandin4-8/+8
Change-Id: Ie348778ea666c24e95e048386547f301083a0017
2015-04-08convert CapType to scoped enumNoel Grandin2-11/+11
Change-Id: I88fa3672a1f933ae818368c9bc400c6a845babb6
2015-04-08convert DIC_ERR_ constants to scoped enumNoel Grandin1-6/+6
Change-Id: I083f1b7f21b18c5067b01c82fa8fec467a3d0c50
2015-04-08convert PATH_FLAG to scoped enumNoel Grandin1-7/+22
and move it inside the linguistic module, since it is not used externally Change-Id: I5e405bd921c090277e75e3bcff81638af0845ece
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann2-4/+4
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann2-4/+4
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann1-13/+13
Change-Id: Ia569901fd6061d9ccb8a584cac12e1ec59242d33
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann1-5/+5
Change-Id: Ib76b11d081e6c4f854b23a920973750c88dce3fa
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann1-1/+1
Change-Id: I9159db9b8fdbabefe29bcc606ec27c1709a620dd
2015-03-19loplugin:constantfunction: linguisticNoel Grandin1-6/+0
Change-Id: If9645dc5962432af6912c98649eea9c981fb0ed1
2015-03-11utl::ConfigItem::Commit() should call ClearModified()Michael Stahl2-3/+3
Rename the virtual function, and add a new non-virtual Commit() to do that. Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022
2015-03-09V801: Decreased performanceCaolán McNamara2-2/+2
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
2015-03-06Idle: Changed to new enum nameTobias Madl1-1/+1
Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
2015-03-06Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl1-1/+1
Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
2015-03-06Idle and Timer are now completely independentTobias Madl1-0/+1
And everything is functionating pretty well. Change-Id: Id7f5a995362f6f7c5235f2e9facb7c7f119f3140
2015-03-06Timer: Adapted all idle includes and enum usesTobias Madl1-1/+1
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
2015-02-23Typo: initialy->initiallyJulien Nabet1-1/+1
Change-Id: I458b2e4c812f727b4254137aa48627522576df3b
2015-02-07loplugin:deletedspecialStephan Bergmann13-58/+26
Change-Id: I5b341e6fa5cf66dca9e01b728ef476257b629aeb
2015-01-22rhbz#1184582: At least catch and log UNO exceptions in grammar checking threadStephan Bergmann1-50/+60
Change-Id: I87744f86d1413973709a46a58ebc03a39bce842c
2015-01-09java: simplify array creationNoel Grandin1-3/+3
and remove the need to worry about keeping indexes correct Change-Id: I9a5fc00f7e28f305279b41099274c96daebebb95
2015-01-06fdo#84938: convert IMPORT_ constants to 'enum class'Noel Grandin1-1/+1
Change-Id: Idaa8f07c62b3ba93c27ca5fe286720254baac10d
2015-01-02linguistic: fix gcc-4.8 buildMiklos Vajna1-2/+2
Change-Id: Ic67d11cff11078a7d83a3ee98b91ec8ae138adef
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara1-4/+4
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-12-18linguistic: Use appropriate OUString functions on string constantsStephan Bergmann1-1/+1
Change-Id: I50e17b9de80e826204deeb154b5533b3e87e601c
2014-12-18fdo#39440 reduce scope of local variablesMichael Weghorn2-4/+2
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-12linguistic: Use appropriate OUString functions on string constantsStephan Bergmann1-16/+16
Change-Id: I76ee3a435ac7a49308db497306b5a9404f3c3ba0
2014-12-10java: simplify the getMSF() methodsNoel Grandin1-2/+1
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-09changed timers to idlesTobias Madl2-4/+4
Change-Id: Ic0d7730f7880dfe2e83c84e773b8cc420249b269
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava2-2/+2
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini1-1/+1
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-11-07coverity#1251171 Missing break in switchNorbert Thiebaud1-1/+3
Change-Id: Iefdeecc9fb2032d171cc2a353fe160dcd92050b2
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann1-1/+1
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin1-1/+1
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin1-1/+1
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-11-03fdo#61167 suggest titlecase and uppercase words from exception dictAndras Timar1-2/+42
Change-Id: I280ffed996814e246ac3e93de5ff0acaad84018c
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin2-2/+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-10-03loplugin: cstylecastNoel Grandin1-1/+1
Change-Id: I114924d5e0407883b2e77016da3c2e3e55657b21
2014-09-30linguistic: std::auto_ptr -> std::unique_ptrStephan Bergmann1-2/+2
Change-Id: I4eb6a5aee50709093e70d5c4863f0c029d691471