summaryrefslogtreecommitdiff
path: root/linguistic/source
AgeCommit message (Collapse)Author
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-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
Change-Id: Ie8e69d2a39abf6538cf3f8b75b76042ca7b71521
2015-10-07loplugin:mergeclassesNoel Grandin
Change-Id: I9b926e59b2df62c22fb5ecfc7c16d8047b6da2a4
2015-09-30Fix typosAndrea Gelmini
Change-Id: I44bdb63bef76e9686e995661a24a3bef7cd50ab7 Reviewed-on: https://gerrit.libreoffice.org/18959 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-17include algorithm for std::min/maxCaolán McNamara
Change-Id: I59ff81e1c203fb81a3f6b0fe666082a08ad8cfc5
2015-09-17boost->stdCaolán McNamara
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
2015-09-08clang-analyzer-deadcode.DeadStoresStephan Bergmann
...ever since its inception with 4c9ed88132bb472eb1b759c8e53874e79402c769 "INTEGRATION: CWS tl04: #118281# switch to Proximity linguistic" Change-Id: Id1579bfc6dffa3685641c96b7a79489338e8dd22
2015-08-27Clean up aEmptyStephan Bergmann
Change-Id: I4c4294b7fb1cb537ba3ae3e6e7e747a3333b7469
2015-08-21linguistic: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe
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 Grandin
Change-Id: I5afe7f9f5caa1f5e55c6218bdb3771571ff0dafa
2015-07-24no need to redeclare these constants with slightly different namesNoel Grandin
Change-Id: Ic9a1f2f0cef25baaf8b97db4989dc536a5da89f7
2015-07-15loplugin:unusedmethods linguisticNoel Grandin
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 Bergmann
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 Gelmini
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 McNamara
Change-Id: If9eea42dc28404dcf9e532fc72cdd1f12e9698b2
2015-06-27coverity#1308446 Uncaught exceptionCaolán McNamara
Change-Id: I880b6a68326255b6be93eafa9c2cb05fd0136e4b
2015-06-26loplugin:stringconstant: handle OUString+=OUString(literal)Stephan Bergmann
Change-Id: If12ab824969f93af0d129f5ba9aa628000f7ba27
2015-06-23Revert "Typo: iff->if"Julien Nabet
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 Nabet
This reverts commit abd7ad8bff9b1874e3903aa55f33ef887d95096a.
2015-06-23Wrong comment with 'sal_True' instead of 'true'Julien Nabet
Change-Id: If1aa0f0b84c900d4c4b8378359d6e8e24e868934
2015-06-23Typo: iff->ifJulien Nabet
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-06-22Fix typosAndrea Gelmini
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 Grandin
Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522
2015-06-13Fix typosAndrea Gelmini
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 Nabet
Change-Id: I21c352a63d668c174eef212dbfbe6346c678ce4d
2015-06-10cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I0081113bf312287fe6e14749a569709ee892d8dd
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: I34315c0e76ee89e456f50776ef3393dc9408e8fd
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-02drop useless debugging stuffCaolán McNamara
Change-Id: I4475b1112dfd9d6b1439deb4792d1320a00b79dc
2015-05-02drop useless debugging stuffCaolán McNamara
Change-Id: Ia7f189de07370edc9330e8e79169bdb07a0000df
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist
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 Bergmann
Change-Id: I485fce696a1c1b18a563f56b0d69bb3816bd8784
2015-04-28Fix sal_Bool -> bool assignmentStephan Bergmann
Change-Id: I2cd55fa3ecef70b29b940e682faf98c7f6718b3c
2015-04-28Rephrase comparisons between bool and sal_BoolStephan Bergmann
...to cater for forthcoming loplugin:implicitboolconversion improvements Change-Id: I801b6b73648715448198d582a087cc834f6e20c8
2015-04-27More loplugin:simplifyboolStephan Bergmann
Change-Id: I68b98ad56d4487ff85b8e4555c94f6dd247c2012
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
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 Stahl
Most likely it was cleared by another thread while this one showed the "no JRE" dialog. Change-Id: Ib0e74c73a510f52778163ad24c20d7ae835ced11
2015-04-09loplugin:staticmethodsNoel Grandin
Change-Id: Ie348778ea666c24e95e048386547f301083a0017
2015-04-08convert CapType to scoped enumNoel Grandin
Change-Id: I88fa3672a1f933ae818368c9bc400c6a845babb6
2015-04-08convert DIC_ERR_ constants to scoped enumNoel Grandin
Change-Id: I083f1b7f21b18c5067b01c82fa8fec467a3d0c50
2015-04-08convert PATH_FLAG to scoped enumNoel Grandin
and move it inside the linguistic module, since it is not used externally Change-Id: I5e405bd921c090277e75e3bcff81638af0845ece
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: Ia569901fd6061d9ccb8a584cac12e1ec59242d33
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: Ib76b11d081e6c4f854b23a920973750c88dce3fa
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I9159db9b8fdbabefe29bcc606ec27c1709a620dd
2015-03-19loplugin:constantfunction: linguisticNoel Grandin
Change-Id: If9645dc5962432af6912c98649eea9c981fb0ed1
2015-03-11utl::ConfigItem::Commit() should call ClearModified()Michael Stahl
Rename the virtual function, and add a new non-virtual Commit() to do that. Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022
2015-03-09V801: Decreased performanceCaolán McNamara
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d