summaryrefslogtreecommitdiff
path: root/linguistic
AgeCommit message (Collapse)AuthorFilesLines
2014-02-11coverity#705125 Invalid iterator comparisonCaolán McNamara1-2/+1
Change-Id: Ifa84db9cc6bd3622a562c31f7624aee6fa157807
2014-02-11coverity#705124 Invalid iterator comparisonCaolán McNamara1-2/+1
Change-Id: I3066e838c13cd6a937c7dd37da23310ddfb014c4
2014-02-11coverity#705123 Invalid iterator comparisonCaolán McNamara1-2/+1
Change-Id: I0b055ba0a4c19f6cb6e7b929baee8aee8ca0dc78
2014-02-06Introduce com.sun.star.util.thePathSettings singleton.Matúš Kukan1-2/+2
To replace single-instance com.sun.star.util.PathSettings service, incorrectly converted in 89b0017b22889af6a8afe28b94c06e7095dc8c6f Keeping util::PathSettings::create in sc/source/ui/vba/vbaapplication.cxx because for some reason util::thePathSettings::get does not work in sc_macros_test while testing sc/qa/extras/testdocuments/Ranges.xls. Change-Id: I75b68ae56ac5b58f72416070dba100ab3ab70fe8
2014-02-04fdo#44314 Unicode hyphenation at soft hyphens with two extra char.László Németh2-11/+5
Change-Id: I4b8eba6d8353e4207cac4a8b24d2b9f0440ce9e6
2014-02-02fdo#54938 Convert bridges, editeng and others to cppu::supportsServiceAlexandre Vicenzi1-60/+20
Change-Id: I7ff5189473c3e0831c2f1e95264d1a04f3b716a9 Reviewed-on: https://gerrit.libreoffice.org/7761 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-01-30fdo#44314 non-standard hyphenation (fix previous commit)László Németh1-4/+6
Change-Id: Ib830cf5b57051039106d1f60059fe8a3bdbecf1a
2014-01-30fdo#44314 non-standard hyphenation at soft hyphens + with pers. dic.László Németh3-20/+83
Change-Id: I25e7c13036c6ce1948cc33d45901ef69a258fb03
2014-01-28bool improvementsStephan Bergmann9-27/+27
Change-Id: I2337b6ffd51c24a3d2de80591bf3b989b2c5936d
2014-01-20Removed unused solar.h reference in linguisticAlexandre Vicenzi3-7/+0
Change-Id: I43a78b0a24d92362100cf9fab956120f01843222 Reviewed-on: https://gerrit.libreoffice.org/7516 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-01-14bool improvementsStephan Bergmann1-4/+4
Change-Id: Ia940d5a064f60c147e743e9e28ac2252cebff840
2014-01-09Consolidate XServiceInfo for classes derived from SvXMLImportStephan Bergmann2-12/+1
Change-Id: I5a269d8b7e95049c67ae14b06a79b417bc91a474
2014-01-08Consolidate XServiceInfo for classes derived from SvXMLExportStephan Bergmann2-11/+1
Change-Id: Ia3e2b5e682a64844bb6c713912c50c7681393d52
2014-01-01Resolves: fdo#72464 Character line break is set to 0 Options/.../Writing AidsJulien Nabet1-1/+1
Change-Id: I9f3d1c64fde064fc7ba9bdfcb9e35032a0c40255
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann1-2/+2
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-16Clean-up uno/lbnames.hStephan Bergmann11-12/+0
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-12Don't hold css::uno::Type instances by pointerStephan Bergmann1-41/+41
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara1-1/+1
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-11Revert "Don't hold css::uno::Type instances by pointer"Stephan Bergmann1-41/+41
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde for now: Ach, old GCC doesn't like plain string literals to initialize members of OUString type... Change-Id: I50563a00406259bb5d41831e2a2796762450d097
2013-12-11Don't hold css::uno::Type instances by pointerStephan Bergmann1-41/+41
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-10Drop duplicate #includeTakeshi Abe1-1/+0
Change-Id: Ib8969d5cd4898b81a5dcd90dc313abd28adfe052
2013-12-06Default OMultiTypeInferfaceContainerHelperVar equalImpl parameterStephan Bergmann1-4/+1
...and assorted OUStringHash clean up Change-Id: I779904e1275e8df88f567beb388d1d11af9e9671
2013-12-04remove some STRING_NOTFOUND usageNoel Grandin1-6/+6
from old, probably dead code. Completely untested. But at least it's not in my grep results anymore. Change-Id: I9d917d0558bcab25a48fa36140beaa92150b62c9
2013-12-03fix spelling delimeter -> delimiterNoel Grandin1-2/+2
Change-Id: I12a330e922f8f6ffe9c746a26e5b32c0bbae626a
2013-12-03convert xub_StrLen->sal_Int32 in linguisticNoel Grandin2-6/+6
Change-Id: Id2e49e43bc149ee639cdbe5b7a1000049fb87978
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin1-1/+1
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-21remove unnecessary RTL_CONSTASCII_STRINGPARAM in OUString::equalsLNoel Grandin1-2/+2
Convert code like this: if (aStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aStr == "rem") which compiles down to the same code. Change-Id: I2dfa0f0a457c465948ecf720daaa45ff29d69de9
2013-11-20Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"Noel Grandin1-2/+2
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
2013-11-20remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL callsNoel Grandin1-2/+2
Convert code like: if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aByteStr.startsWith("rem")) Change-Id: I09e40b3fdc87d59a8176c2a5f39cc6aa5cf5a576
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::appendNoel Grandin1-6/+6
Convert code like: aOStringBuf.append( RTL_CONSTASCII_STRINGPARAM( " is missing )") ); to: aOStringBuf.append( " is missing )" ); which compiles down to the same code. Change-Id: I3d8ed0cbf96a881686524a167412d5f303c06b71
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin1-1/+1
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin5-5/+5
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-11convert OUString 0==compareToAscii to equalsAsciiNoel Grandin1-17/+17
Convert code like: 0 == aStr.compareToAscii("XXX") to aStr.equalsAscii("XXX") which is both clearer and faster. Change-Id: I2e906d7d38494db38eb292702fadb781b1251e07
2013-11-06convert linguistic::isUpper from xub_StrLen to sal_Int32Noel Grandin1-1/+1
Change-Id: I7bf426e1753b3761c9ce8930ad637526a9895495
2013-11-05convert xub_StrLen to sal_Int32Noel Grandin1-4/+3
Convert code like: xub_StrLen nLen = aStr.getLength(); into sal_Int32 nLen = aStr.getLength(); Change-Id: Ib0af6b747068257478918fd1cc93e4925f32ac47
2013-11-05fixincludeguards.sh: linguisticThomas Arnhold15-30/+30
Change-Id: I8c5d9e5fcf8790e6c60242cf009992a061f8f01d
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin2-5/+5
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-23clean up some include guardsThomas Arnhold1-2/+2
Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist21-37/+37
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-21convert lcl_GetToken from xub_StrLen to sal_Int32Caolán McNamara1-6/+5
Change-Id: I72e98f1059280ed05b6cf77a6d69e522b4b8c075
2013-10-20drop unnecessary tools/string includesCaolán McNamara10-9/+1
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-07fdo#54938: Adapt supportsService implementations to cppu::supportsServiceMarcos Paulo de Souza7-52/+14
Change-Id: I683c0d30c3286ed5d725d4eefe8b3977b82ee316 Reviewed-on: https://gerrit.libreoffice.org/6035 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-02-Werror,-Wunused-variableStephan Bergmann1-4/+0
Change-Id: I90ad58235c07b0336a9cee5981a57b9ad16312e7
2013-10-02Use std::auto_ptr::reset where applicableStephan Bergmann1-2/+2
(avoids warnings about std::auto_ptr ctor being deprecated) Change-Id: I39d2d155c0bc62ca77a30c02428ea39102213f42
2013-09-26typo fixes in commentsAndras Timar1-1/+1
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-13String to OUStringThomas Arnhold3-13/+8
This removes nearly all ToLowerAscii() calls. Conflicts: linguistic/source/convdic.cxx linguistic/source/convdiclist.cxx linguistic/source/dlistimp.cxx sc/source/filter/html/htmlexp.cxx Change-Id: Iddcaacfb7383e1df3d2f13751a3c788eba953fdd Reviewed-on: https://gerrit.libreoffice.org/5895 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-09-12get rid of unnecessary conversion, use LinguIsUnspecified(OUString)Eike Rathke1-0/+13
Change-Id: Ib1074e3025680306c0a8bf7dcff651cefdcb90ba
2013-09-11convert linguistic/source/*.cxx from String to OUStringNoel Grandin9-102/+102
Change-Id: I6f278d4b1a0eccf3757e1a7add6324402a09dfed
2013-09-11convert linguistic/source/convdic.hxx from String to OUStringNoel Grandin2-16/+16
Change-Id: Id4dc56902722ea139e06e727a7090b9b10e3b347
2013-09-11convert linguistic/source/dlistimp.hxx from String to OUStringNoel Grandin2-2/+2
Change-Id: I6928f59bba5e744957f2b2aae34d2d057c147985