summaryrefslogtreecommitdiff
path: root/linguistic
AgeCommit message (Collapse)AuthorFilesLines
2015-08-21linguistic: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe20-41/+32
with the variadic variants. Change-Id: I7a4df40d680ed9e10daacd01657df9666b8cc524 Reviewed-on: https://gerrit.libreoffice.org/17868 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-11loplugin: defaultparamsNoel Grandin2-5/+3
Change-Id: I5afe7f9f5caa1f5e55c6218bdb3771571ff0dafa
2015-07-24no need to redeclare these constants with slightly different namesNoel Grandin1-37/+37
Change-Id: Ic9a1f2f0cef25baaf8b97db4989dc536a5da89f7
2015-07-15loplugin:unusedmethods linguisticNoel Grandin11-44/+1
Change-Id: I0a2aac4965c444dbd868515549dcc9b1571166cb Reviewed-on: https://gerrit.libreoffice.org/17067 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-30Revert "Revert "Wrong comment with 'sal_True' instead of 'true'""Stephan Bergmann1-1/+1
This reverts commit 262dbabe8e07f60d55461ab3fb2c26d37b86a311, no good reason to revert the original commit in the first place. Conflicts: linguistic/source/lngsvcmgr.cxx Change-Id: Ifa1896da3ec3fd291a9b30a9a6734bdcce406b99
2015-06-28Fix typosAndrea Gelmini1-1/+1
Change-Id: I80995af6459af9f647e66d1c85da2eedad2647b9 Reviewed-on: https://gerrit.libreoffice.org/16523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-27coverity#1308449 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: If9eea42dc28404dcf9e532fc72cdd1f12e9698b2
2015-06-27coverity#1308446 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: I880b6a68326255b6be93eafa9c2cb05fd0136e4b
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann1-43/+11
Change-Id: If12ab824969f93af0d129f5ba9aa628000f7ba27
2015-06-23Revert "Typo: iff->if"Julien Nabet1-1/+1
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
2015-06-23Revert "Wrong comment with 'sal_True' instead of 'true'"Julien Nabet1-1/+1
This reverts commit abd7ad8bff9b1874e3903aa55f33ef887d95096a.
2015-06-23Wrong comment with 'sal_True' instead of 'true'Julien Nabet1-1/+1
Change-Id: If1aa0f0b84c900d4c4b8378359d6e8e24e868934
2015-06-23Typo: iff->ifJulien Nabet1-1/+1
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-06-22Fix typosAndrea Gelmini1-1/+1
Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-15cppcheck:unreadVariableNoel Grandin1-3/+1
Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522
2015-06-13Fix typosAndrea Gelmini1-1/+1
Change-Id: Ifaa52b49b717d893846fc1e7ae4ac50735f824ac Reviewed-on: https://gerrit.libreoffice.org/16260 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-06-13TyposJulien Nabet1-1/+1
Change-Id: I21c352a63d668c174eef212dbfbe6346c678ce4d
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