summaryrefslogtreecommitdiffstats
path: root/linguistic
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:unusedmethods in l10ntools to lotuswordproNoel Grandin2016-05-191-9/+0
| | | | | | | Change-Id: Ibda82734821f3faa9388f7508e6a3e39e5b5007d Reviewed-on: https://gerrit.libreoffice.org/25106 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Fix typosAndrea Gelmini2016-05-101-1/+1
| | | | | | | Change-Id: I1c1894fcf533291b34a662b6efb96dcfa75b92b3 Reviewed-on: https://gerrit.libreoffice.org/24760 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* use Any constructor instead of temporariesNoel Grandin2016-05-041-6/+2
| | | | Change-Id: Iffb82a2cee1a28d89eeea2b905aaa14086ee475a
* clang-tidy modernize-loop-convert in h-l/*Noel Grandin2016-04-284-12/+10
| | | | | | | Change-Id: I843528327b25d18476f8959cabba16371213a48a Reviewed-on: https://gerrit.libreoffice.org/24460 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann2016-04-207-21/+21
| | | | Change-Id: Idd106e7ab94a7377807872d7742263225b22da28
* clang-tidy performance-unnecessary-copy-initializationNoel Grandin2016-04-183-25/+18
| | | | | | | | | | | probably not much performance benefit, but it sure is good at identifying leftover intermediate variables from previous refactorings. Change-Id: I3ce16fe496ac2733c1cb0a35f74c0fc9193cc657 Reviewed-on: https://gerrit.libreoffice.org/24026 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* clang-tidy performance-unnecessary-value-param in variousNoel Grandin2016-04-145-9/+9
| | | | | | | Change-Id: I7168d44dab8e6a8e37bb7920d744ff32f5e52907 Reviewed-on: https://gerrit.libreoffice.org/24019 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:passstuffbyref in variousNoel Grandin2016-04-141-1/+1
| | | | Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
* tdf#94306 replace boost::noncopyable ...Jochen Nitschke2016-04-113-9/+10
| | | | | | | | | | | | | ... in modules editeng to oox. Replace with C++11 delete copy-constructur and copy-assignment. Remove boost/noncopyable.hpp includes and one unused boost/checked_delete.hpp include in linguistic. Change-Id: I5a38d8e5ac1b4286bdeb3858d56490a53d13fe80 Reviewed-on: https://gerrit.libreoffice.org/23928 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Avoid reserved identifierStephan Bergmann2016-04-062-3/+3
| | | | Change-Id: I56dfbda84e000d974a9dd0644b3dbc2963d3e353
* tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionalsRohan Kumar2016-04-053-30/+13
| | | | | | | | | | I disentangled my previous patch and uploaded one patch per module Change-Id: Ic7351452833816358cff96e154d6d5d40f094aa8 Reviewed-on: https://gerrit.libreoffice.org/22666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
* cleanup: remove unused Reference.h(xx) includesJochen Nitschke2016-04-021-1/+0
| | | | | | | | | and unused using-declarations from Reference.h Change-Id: I297a7ae6044fa329d245ecf08fd5c4cb930f5b19 Reviewed-on: https://gerrit.libreoffice.org/23735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* sequence->vector in linguisticNoel Grandin2016-04-018-170/+100
| | | | | | | Change-Id: I28ed0b4bb2a140493fca693807011b91b3569986 Reviewed-on: https://gerrit.libreoffice.org/23695 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* use SAL_N_ELEMENTS more widelyNoel Grandin2016-03-315-7/+7
| | | | | | | found using git grep -n 'sizeof.*/.*sizeof.*[0]' Change-Id: Icd4a6cc1ca8ec8ebd68e1701a02789c74cf0eb2a
* Avoid reserved identifiersStephan Bergmann2016-03-292-8/+8
| | | | | | | Change-Id: I759939aa74570be63f5d41814c22aad1851d65c4 Reviewed-on: https://gerrit.libreoffice.org/23587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* loplugin:constantparam in linguisticNoel Grandin2016-03-232-14/+9
| | | | Change-Id: Iffdcaae0b7cd99a481068c0c97ee25f5b40ee6ec
* tdf#97179: do not suggest 1-letter custom dictionary wordsLászló Németh2016-02-181-1/+1
| | | | | | | | | | | | | Fix for the following regression: Suggestions for all 1- or 2-letter words contain ~all Greek letters from the commit c4318b8c1912c1ee947d96b02b3d4abf2eaf65f6 (add Greek alphabet to the technical dictionary). Change-Id: I9356d439debfec34a963edbe5daacde976cc532c Reviewed-on: https://gerrit.libreoffice.org/22449 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* [API CHANGE] add operator==/!= to UNO structsNoel Grandin2016-02-111-7/+0
| | | | | | | | | this is useful now that we are storing UNO structs in std::vector Change-Id: Ic558bcd669bd2b3cdf9eb8393269eb906ac52369 Reviewed-on: https://gerrit.libreoffice.org/22257 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Remove excess newlinesChris Sherlock2016-02-0925-53/+0
| | | | | | | | | | | | | | | | | | | A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* Fix typosAndrea Gelmini2016-02-051-1/+1
| | | | | | | Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
* unnecessary use of OUString constructorNoel Grandin2016-01-311-1/+1
| | | | | | | Change-Id: Idd31b0a53c8318af69bbcd32f6798721ec8eb8e1 Reviewed-on: https://gerrit.libreoffice.org/21945 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* InterfaceContainer2 with vector instead of SequenceNoel Grandin2016-01-2514-66/+25
| | | | | | | | | | create an InterfaceContainer2 class to replace InterfaceContainer. It uses a std::vector instead of a Sequence for the mutable listener list, which provides far better performance. Switch all our internal use-sites to the new class. Change-Id: I6b56cfa511ded2395faa22e68fab3b2f16c3cb88
* loplugin:unusedmethods unused return value in l10ntools,linguisticNoel Grandin2016-01-151-3/+2
| | | | Change-Id: I11571c25e527787a2054bc8106a27c44b8a96116
* Fix typosAndrea Gelmini2016-01-101-1/+1
| | | | | | | Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
* loplugin:unusedfields in lingu,lotuswordpro,mysqlcNoel Grandin2015-12-221-2/+0
| | | | Change-Id: I5866c8d95e04714e81a45e73bf00a430859a4327
* loplugin:unusedfieldsNoel Grandin2015-11-301-1/+0
| | | | Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864
* use comphelper::containerToSequenceNoel Grandin2015-11-191-8/+2
| | | | | | in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
* no need to take a mutex when only dealing with stack-local dataNoel Grandin2015-11-167-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>
* use initialiser list for Sequence<OUString>Noel Grandin2015-11-164-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>
* use initialiser for Sequence<OUString>Noel Grandin2015-11-151-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>
* use initialiser for Sequence<OUString>Noel Grandin2015-11-152-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>
* Missing includesStephan Bergmann2015-11-112-0/+5
| | | | Change-Id: I5cade452b4567886c5587be927af7caaa24d92b4
* linguistic: boost::ptr_vector->std::vector<std::unique_ptr>Noel Grandin2015-11-112-7/+9
| | | | Change-Id: I4343b77dde4353db6294d597cdd5da6131e30afe
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-1014-82/+82
| | | | Change-Id: I5d642a463f4dca8665745c19918699e7bfe7db99
* new loplugin: oncevarNoel Grandin2015-11-091-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>
* loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann2015-11-062-5/+5
| | | | Change-Id: I068f052aff5d26c36c9a15dc66e1d6c00321005e
* java: remove ((unnecessary)) parenthesesNoel Grandin2015-11-051-1/+1
| | | | Change-Id: I39fbe3a260c8dbfc203662c54eec4db064b88195
* use uno::Reference::set method instead of assignmentNoel Grandin2015-11-045-20/+15
| | | | Change-Id: I11822c50fa66d038a3d6f38054ab35c2e613f077
* Reduce scope of #include <tools/stream.hxx>Matteo Casalin2015-10-271-1/+1
| | | | Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
* com::sun::star->css in linguisticNoel Grandin2015-10-2322-426/+371
| | | | Change-Id: I3708931dd96d83d1daa332e930e291c3d6cfd73b
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-1217-217/+217
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-1211-26/+26
| | | | Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
* clang-analyzer-deadcode.DeadStoresStephan Bergmann2015-10-071-5/+4
| | | | Change-Id: Ie8e69d2a39abf6538cf3f8b75b76042ca7b71521
* loplugin:mergeclassesNoel Grandin2015-10-072-41/+14
| | | | Change-Id: I9b926e59b2df62c22fb5ecfc7c16d8047b6da2a4
* Fix typosAndrea Gelmini2015-09-303-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>
* 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>