summaryrefslogtreecommitdiffstats
path: root/linguistic
Commit message (Collapse)AuthorAgeFilesLines
* Introduce com.sun.star.util.thePathSettings singleton.Matúš Kukan2014-02-061-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
* fdo#44314 Unicode hyphenation at soft hyphens with two extra char.László Németh2014-02-042-11/+5
| | | | Change-Id: I4b8eba6d8353e4207cac4a8b24d2b9f0440ce9e6
* fdo#54938 Convert bridges, editeng and others to cppu::supportsServiceAlexandre Vicenzi2014-02-021-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>
* fdo#44314 non-standard hyphenation (fix previous commit)László Németh2014-01-301-4/+6
| | | | Change-Id: Ib830cf5b57051039106d1f60059fe8a3bdbecf1a
* fdo#44314 non-standard hyphenation at soft hyphens + with pers. dic.László Németh2014-01-303-20/+83
| | | | Change-Id: I25e7c13036c6ce1948cc33d45901ef69a258fb03
* bool improvementsStephan Bergmann2014-01-289-27/+27
| | | | Change-Id: I2337b6ffd51c24a3d2de80591bf3b989b2c5936d
* Removed unused solar.h reference in linguisticAlexandre Vicenzi2014-01-203-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>
* bool improvementsStephan Bergmann2014-01-141-4/+4
| | | | Change-Id: Ia940d5a064f60c147e743e9e28ac2252cebff840
* Consolidate XServiceInfo for classes derived from SvXMLImportStephan Bergmann2014-01-092-12/+1
| | | | Change-Id: I5a269d8b7e95049c67ae14b06a79b417bc91a474
* Consolidate XServiceInfo for classes derived from SvXMLExportStephan Bergmann2014-01-082-11/+1
| | | | Change-Id: Ia3e2b5e682a64844bb6c713912c50c7681393d52
* Resolves: fdo#72464 Character line break is set to 0 Options/.../Writing AidsJulien Nabet2014-01-011-1/+1
| | | | Change-Id: I9f3d1c64fde064fc7ba9bdfcb9e35032a0c40255
* Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2013-12-171-2/+2
| | | | Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
* Clean-up uno/lbnames.hStephan Bergmann2013-12-1611-12/+0
| | | | Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
* Don't hold css::uno::Type instances by pointerStephan Bergmann2013-12-121-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
* Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara2013-12-111-1/+1
| | | | | | | Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
* Revert "Don't hold css::uno::Type instances by pointer"Stephan Bergmann2013-12-111-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
* Don't hold css::uno::Type instances by pointerStephan Bergmann2013-12-111-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
* Drop duplicate #includeTakeshi Abe2013-12-101-1/+0
| | | | Change-Id: Ib8969d5cd4898b81a5dcd90dc313abd28adfe052
* Default OMultiTypeInferfaceContainerHelperVar equalImpl parameterStephan Bergmann2013-12-061-4/+1
| | | | | | ...and assorted OUStringHash clean up Change-Id: I779904e1275e8df88f567beb388d1d11af9e9671
* remove some STRING_NOTFOUND usageNoel Grandin2013-12-041-6/+6
| | | | | | | from old, probably dead code. Completely untested. But at least it's not in my grep results anymore. Change-Id: I9d917d0558bcab25a48fa36140beaa92150b62c9
* fix spelling delimeter -> delimiterNoel Grandin2013-12-031-2/+2
| | | | Change-Id: I12a330e922f8f6ffe9c746a26e5b32c0bbae626a
* convert xub_StrLen->sal_Int32 in linguisticNoel Grandin2013-12-032-6/+6
| | | | Change-Id: Id2e49e43bc149ee639cdbe5b7a1000049fb87978
* remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin2013-11-221-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
* remove unnecessary RTL_CONSTASCII_STRINGPARAM in OUString::equalsLNoel Grandin2013-11-211-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
* Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"Noel Grandin2013-11-201-2/+2
| | | | | | | This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295. I mistakenly converted OUString::equalsL calls to OUString::startsWith calls.
* remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL callsNoel Grandin2013-11-201-2/+2
| | | | | | | | | Convert code like: if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) to: if (aByteStr.startsWith("rem")) Change-Id: I09e40b3fdc87d59a8176c2a5f39cc6aa5cf5a576
* remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::appendNoel Grandin2013-11-201-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
* remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin2013-11-191-1/+1
| | | | | | This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
* convert OUString !compareToAscii to equalsAsciiNoel Grandin2013-11-115-5/+5
| | | | | | | | | | Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
* convert OUString 0==compareToAscii to equalsAsciiNoel Grandin2013-11-111-17/+17
| | | | | | | | | | Convert code like: 0 == aStr.compareToAscii("XXX") to aStr.equalsAscii("XXX") which is both clearer and faster. Change-Id: I2e906d7d38494db38eb292702fadb781b1251e07
* convert linguistic::isUpper from xub_StrLen to sal_Int32Noel Grandin2013-11-061-1/+1
| | | | Change-Id: I7bf426e1753b3761c9ce8930ad637526a9895495
* convert xub_StrLen to sal_Int32Noel Grandin2013-11-051-4/+3
| | | | | | | | | Convert code like: xub_StrLen nLen = aStr.getLength(); into sal_Int32 nLen = aStr.getLength(); Change-Id: Ib0af6b747068257478918fd1cc93e4925f32ac47
* fixincludeguards.sh: linguisticThomas Arnhold2013-11-0515-30/+30
| | | | Change-Id: I8c5d9e5fcf8790e6c60242cf009992a061f8f01d
* Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin2013-11-042-5/+5
| | | | | | This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
* clean up some include guardsThomas Arnhold2013-10-231-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>
* Bin comments that claim to say why some header is includedTor Lillqvist2013-10-2221-37/+37
| | | | | | They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
* convert lcl_GetToken from xub_StrLen to sal_Int32Caolán McNamara2013-10-211-6/+5
| | | | Change-Id: I72e98f1059280ed05b6cf77a6d69e522b4b8c075
* drop unnecessary tools/string includesCaolán McNamara2013-10-2010-9/+1
| | | | Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
* fdo#54938: Adapt supportsService implementations to cppu::supportsServiceMarcos Paulo de Souza2013-10-077-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>
* -Werror,-Wunused-variableStephan Bergmann2013-10-021-4/+0
| | | | Change-Id: I90ad58235c07b0336a9cee5981a57b9ad16312e7
* Use std::auto_ptr::reset where applicableStephan Bergmann2013-10-021-2/+2
| | | | | | (avoids warnings about std::auto_ptr ctor being deprecated) Change-Id: I39d2d155c0bc62ca77a30c02428ea39102213f42
* typo fixes in commentsAndras Timar2013-09-261-1/+1
| | | | Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
* String to OUStringThomas Arnhold2013-09-133-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>
* get rid of unnecessary conversion, use LinguIsUnspecified(OUString)Eike Rathke2013-09-121-0/+13
| | | | Change-Id: Ib1074e3025680306c0a8bf7dcff651cefdcb90ba
* convert linguistic/source/*.cxx from String to OUStringNoel Grandin2013-09-119-102/+102
| | | | Change-Id: I6f278d4b1a0eccf3757e1a7add6324402a09dfed
* convert linguistic/source/convdic.hxx from String to OUStringNoel Grandin2013-09-112-16/+16
| | | | Change-Id: Id4dc56902722ea139e06e727a7090b9b10e3b347
* convert linguistic/source/dlistimp.hxx from String to OUStringNoel Grandin2013-09-112-2/+2
| | | | Change-Id: I6928f59bba5e744957f2b2aae34d2d057c147985
* convert linguistic/source/hhconvdic.hxx from String to OUStringNoel Grandin2013-09-112-2/+2
| | | | Change-Id: I6ab2fd0d66410f8e10ec4228d7261358c1d0afe2
* convert linguistic/source/lngsvcmgr.hxx from String to OUStringNoel Grandin2013-09-112-6/+6
| | | | Change-Id: If9fd76687e1e361a6b29fe206edffd67a16cbb7f
* convert include/linguistic/misc.hxx from String to OUStringNoel Grandin2013-09-112-14/+14
| | | | Change-Id: I454c577d7b6c0994046de9cba076e6478a4ce309