summaryrefslogtreecommitdiffstats
path: root/linguistic
Commit message (Collapse)AuthorAgeFilesLines
* include algorithm for std::min/maxCaolán McNamara2015-09-171-0/+2
| | | | Change-Id: I59ff81e1c203fb81a3f6b0fe666082a08ad8cfc5
* boost->stdCaolán McNamara2015-09-177-13/+11
| | | | Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
* clang-analyzer-deadcode.DeadStoresStephan Bergmann2015-09-081-4/+0
| | | | | | | ...ever since its inception with 4c9ed88132bb472eb1b759c8e53874e79402c769 "INTEGRATION: CWS tl04: #118281# switch to Proximity linguistic" Change-Id: Id1579bfc6dffa3685641c96b7a79489338e8dd22
* Clean up aEmptyStephan Bergmann2015-08-271-2/+1
| | | | Change-Id: I4c4294b7fb1cb537ba3ae3e6e7e747a3333b7469
* linguistic: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe2015-08-2120-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>
* loplugin: defaultparamsNoel Grandin2015-08-112-5/+3
| | | | Change-Id: I5afe7f9f5caa1f5e55c6218bdb3771571ff0dafa
* no need to redeclare these constants with slightly different namesNoel Grandin2015-07-241-37/+37
| | | | Change-Id: Ic9a1f2f0cef25baaf8b97db4989dc536a5da89f7
* loplugin:unusedmethods linguisticNoel Grandin2015-07-1511-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>
* Revert "Revert "Wrong comment with 'sal_True' instead of 'true'""Stephan Bergmann2015-06-301-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
* Fix typosAndrea Gelmini2015-06-281-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>
* coverity#1308449 Uncaught exceptionCaolán McNamara2015-06-272-2/+2
| | | | Change-Id: If9eea42dc28404dcf9e532fc72cdd1f12e9698b2
* coverity#1308446 Uncaught exceptionCaolán McNamara2015-06-272-2/+2
| | | | Change-Id: I880b6a68326255b6be93eafa9c2cb05fd0136e4b
* loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann2015-06-261-43/+11
| | | | Change-Id: If12ab824969f93af0d129f5ba9aa628000f7ba27
* Revert "Typo: iff->if"Julien Nabet2015-06-231-1/+1
| | | | | | This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
* Revert "Wrong comment with 'sal_True' instead of 'true'"Julien Nabet2015-06-231-1/+1
| | | | This reverts commit abd7ad8bff9b1874e3903aa55f33ef887d95096a.
* Wrong comment with 'sal_True' instead of 'true'Julien Nabet2015-06-231-1/+1
| | | | Change-Id: If1aa0f0b84c900d4c4b8378359d6e8e24e868934
* Typo: iff->ifJulien Nabet2015-06-231-1/+1
| | | | Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
* Fix typosAndrea Gelmini2015-06-221-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>
* cppcheck:unreadVariableNoel Grandin2015-06-151-3/+1
| | | | Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522
* Fix typosAndrea Gelmini2015-06-131-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>
* TyposJulien Nabet2015-06-131-1/+1
| | | | Change-Id: I21c352a63d668c174eef212dbfbe6346c678ce4d
* cppcheck: noExplicitConstructorCaolán McNamara2015-06-108-15/+14
| | | | Change-Id: I0081113bf312287fe6e14749a569709ee892d8dd
* loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann2015-06-087-20/+20
| | | | Change-Id: I34315c0e76ee89e456f50776ef3393dc9408e8fd
* Use typed Idle::SetIdleHdl LinkStephan Bergmann2015-05-052-4/+2
| | | | Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
* drop useless debugging stuffCaolán McNamara2015-05-021-3/+0
| | | | Change-Id: I4475b1112dfd9d6b1439deb4792d1320a00b79dc
* drop useless debugging stuffCaolán McNamara2015-05-021-8/+0
| | | | Change-Id: Ia7f189de07370edc9330e8e79169bdb07a0000df
* Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist2015-04-302-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
* Fix sal_Int16 var initializationStephan Bergmann2015-04-281-1/+1
| | | | Change-Id: I485fce696a1c1b18a563f56b0d69bb3816bd8784
* Fix sal_Bool -> bool assignmentStephan Bergmann2015-04-281-1/+1
| | | | Change-Id: I2cd55fa3ecef70b29b940e682faf98c7f6718b3c
* Rephrase comparisons between bool and sal_BoolStephan Bergmann2015-04-281-1/+1
| | | | | | ...to cater for forthcoming loplugin:implicitboolconversion improvements Change-Id: I801b6b73648715448198d582a087cc834f6e20c8
* More loplugin:simplifyboolStephan Bergmann2015-04-271-2/+2
| | | | Change-Id: I68b98ad56d4487ff85b8e4555c94f6dd247c2012
* remove unnecessary use of void in function declarationsNoel Grandin2015-04-152-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
* linguistic: try to avoid crash with null LngSvcMgr::pAvailGrammarSvcsMichael Stahl2015-04-101-0/+8
| | | | | | | Most likely it was cleared by another thread while this one showed the "no JRE" dialog. Change-Id: Ib0e74c73a510f52778163ad24c20d7ae835ced11
* loplugin:staticmethodsNoel Grandin2015-04-094-8/+8
| | | | Change-Id: Ie348778ea666c24e95e048386547f301083a0017
* convert CapType to scoped enumNoel Grandin2015-04-082-11/+11
| | | | Change-Id: I88fa3672a1f933ae818368c9bc400c6a845babb6
* convert DIC_ERR_ constants to scoped enumNoel Grandin2015-04-081-6/+6
| | | | Change-Id: I083f1b7f21b18c5067b01c82fa8fec467a3d0c50
* convert PATH_FLAG to scoped enumNoel Grandin2015-04-081-7/+22
| | | | | | | and move it inside the linguistic module, since it is not used externally Change-Id: I5e405bd921c090277e75e3bcff81638af0845ece
* Change INetProtocol enumerators to CamelCaseStephan Bergmann2015-04-022-4/+4
| | | | | | ...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
* Change INetProtocol to scoped enumerationStephan Bergmann2015-04-022-4/+4
| | | | | | ...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
* Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2015-04-011-13/+13
| | | | Change-Id: Ia569901fd6061d9ccb8a584cac12e1ec59242d33
* Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann2015-03-311-5/+5
| | | | Change-Id: Ib76b11d081e6c4f854b23a920973750c88dce3fa
* Clean up C-style casts from pointers to voidStephan Bergmann2015-03-281-1/+1
| | | | Change-Id: I9159db9b8fdbabefe29bcc606ec27c1709a620dd
* loplugin:constantfunction: linguisticNoel Grandin2015-03-191-6/+0
| | | | Change-Id: If9645dc5962432af6912c98649eea9c981fb0ed1
* utl::ConfigItem::Commit() should call ClearModified()Michael Stahl2015-03-112-3/+3
| | | | | | | Rename the virtual function, and add a new non-virtual Commit() to do that. Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022
* V801: Decreased performanceCaolán McNamara2015-03-092-2/+2
| | | | Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
* Idle: Changed to new enum nameTobias Madl2015-03-061-1/+1
| | | | Change-Id: Id3852abe9bc7bbe774331a7d691abd2a79ff59b4
* Idle: Removed VCL_IDLE_PRIORITY_ prefix of enumTobias Madl2015-03-061-1/+1
| | | | Change-Id: I12290bed7e4f298ab90393b8de6e2b6e7061e53f
* Idle and Timer are now completely independentTobias Madl2015-03-061-0/+1
| | | | | | And everything is functionating pretty well. Change-Id: Id7f5a995362f6f7c5235f2e9facb7c7f119f3140
* Timer: Adapted all idle includes and enum usesTobias Madl2015-03-061-1/+1
| | | | Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
* Typo: initialy->initiallyJulien Nabet2015-02-231-1/+1
| | | | Change-Id: I458b2e4c812f727b4254137aa48627522576df3b