summaryrefslogtreecommitdiff
path: root/linguistic
AgeCommit message (Collapse)AuthorFilesLines
2015-11-19use comphelper::containerToSequenceNoel Grandin1-8/+2
in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
2015-11-16no need to take a mutex when only dealing with stack-local dataNoel Grandin7-20/+0
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 Grandin4-10/+4
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 Grandin1-2/+1
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin2-4/+2
replaced using: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9 Reviewed-on: https://gerrit.libreoffice.org/19969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-11Missing includesStephan Bergmann2-0/+5
Change-Id: I5cade452b4567886c5587be927af7caaa24d92b4
2015-11-11linguistic: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin2-7/+9
Change-Id: I4343b77dde4353db6294d597cdd5da6131e30afe
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann14-82/+82
Change-Id: I5d642a463f4dca8665745c19918699e7bfe7db99
2015-11-09new loplugin: oncevarNoel Grandin1-2/+1
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann2-5/+5
Change-Id: I068f052aff5d26c36c9a15dc66e1d6c00321005e
2015-11-05java: remove ((unnecessary)) parenthesesNoel Grandin1-1/+1
Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
2015-11-04use uno::Reference::set method instead of assignmentNoel Grandin5-20/+15
Change-Id: I11822c50fa66d038a3d6f38054ab35c2e613f077
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin1-1/+1
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-23com::sun::star->css in linguisticNoel Grandin22-426/+371
Change-Id: I3708931dd96d83d1daa332e930e291c3d6cfd73b
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann17-217/+217
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann11-26/+26
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-5/+4
Change-Id: Ie8e69d2a39abf6538cf3f8b75b76042ca7b71521
2015-10-07loplugin:mergeclassesNoel Grandin2-41/+14
Change-Id: I9b926e59b2df62c22fb5ecfc7c16d8047b6da2a4
2015-09-30Fix typosAndrea Gelmini3-3/+3
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 McNamara1-0/+2
Change-Id: I59ff81e1c203fb81a3f6b0fe666082a08ad8cfc5
2015-09-17boost->stdCaolán McNamara7-13/+11
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
2015-09-08clang-analyzer-deadcode.DeadStoresStephan Bergmann1-4/+0
...ever since its inception with 4c9ed88132bb472eb1b759c8e53874e79402c769 "INTEGRATION: CWS tl04: #118281# switch to Proximity linguistic" Change-Id: Id1579bfc6dffa3685641c96b7a79489338e8dd22
2015-08-27Clean up aEmptyStephan Bergmann1-2/+1
Change-Id: I4c4294b7fb1cb537ba3ae3e6e7e747a3333b7469
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