summaryrefslogtreecommitdiff
path: root/lingucomponent/source
AgeCommit message (Collapse)Author
2014-02-11coverity#707953 Uninitialized scalar fieldCaolán McNamara
Change-Id: I7ae556a065f250774c7d0f8ca4f6f9c9c2c6c533
2014-02-04fdo#44314 Unicode hyphenation at soft hyphens with two extra char.László Németh
Change-Id: I4b8eba6d8353e4207cac4a8b24d2b9f0440ce9e6
2014-01-30fdo#44314 non-standard hyphenation at soft hyphens + with pers. dic.László Németh
Change-Id: I25e7c13036c6ce1948cc33d45901ef69a258fb03
2014-01-30fdo#63154 Removed unused solar.h ref. in linguc., sfx2, starmath, svl and svxAlexandre Vicenzi
Change-Id: I241661119371b75804fcf9215ff5e5da2a5b9265 Reviewed-on: https://gerrit.libreoffice.org/7732 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-01Drop the unnecessary extra directory levelKhaled Hosny
Just like other lingucomponent parts, besides altlinuxhyph is a historical library name that no longer exist. Change-Id: I803c4483633c3c8993d70e0057f0c825b1020ace
2013-12-26WaE: unused variable 'aPathOpt'Tor Lillqvist
Change-Id: I6544fdddd1662850a715e8841dcad35135fb1d94
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-16Clean-up uno/lbnames.hStephan Bergmann
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-09Revert "fdo#56443 allow different name for .dic and .aff files"Andras Timar
This reverts commit cb56ab9bca5e917d86a7dc24eb144353c405f07c.
2013-12-09fdo#56443 allow different name for .dic and .aff filesAndras Timar
For example, de_CH_frami.dic and de_AT_frami.dic use de_DE_frami.aff. Change-Id: I1d3770ad871b4714f7e595e1cd13f5fd7f224a1f
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-10-31Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin
This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-25fdo#54938: More uses of cppu::supportsServiceMarcos Paulo de Souza
Change-Id: I90a7a07a43559b8d7e1d4b886b2624255200d46b Reviewed-on: https://gerrit.libreoffice.org/6406 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-23clean up some include guardsThomas Arnhold
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 Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-20String -> OUStringStephan Bergmann
Change-Id: Ied50819f226d1fa7fd7f6d004a796b5a08194a23
2013-10-20drop unnecessary tools/string includesCaolán McNamara
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-11the dreaded hu_HU_u8.dic of myspell-hu needs exceptional handlingEike Rathke
Change-Id: I2cef8d0dd306ce22552db0b5d8890c754be9e835
2013-10-02CID#983035 fix potential memleakCaolán McNamara
Change-Id: If41d78ce424e85390c7a92eaa36f912c43eef390
2013-09-17clearly it's enough to obtain the const array onceEike Rathke
Change-Id: I6d9ffef6b052012d09ff54d2a457e1314e6239ee
2013-09-17convert LINGUCOMPONENT module from String to OUStringNoel Grandin
Change-Id: I1a47545127885f92e9fcdbf855ca60fbbef1395d
2013-09-12get rid of unnecessary conversion, use LinguIsUnspecified(OUString)Eike Rathke
Change-Id: Ib1074e3025680306c0a8bf7dcff651cefdcb90ba
2013-09-12a set of LanguageType fallback converted to is utter nonsense hereEike Rathke
Change-Id: I02881a2a7ab3178521388b76e2413b7e1cd6c443
2013-09-12no need to count, just findEike Rathke
Change-Id: Ia4fa44c2382f6d1f5a6b3fed533f401bcb03be53
2013-09-12it's a set, so treat it as suchEike Rathke
Change-Id: Ia156b27d944bf419a2e0bd45fa65efd4b7f89404
2013-09-12if valid accept whatever the dictionary's name might compriseEike Rathke
Change-Id: Ia6ea53f1a9e1c575606901e173bc952449135522
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke
Change-Id: Ieea44614271c79beb7a9a3fce35acf921ccb478f
2013-08-12Mark as constTakeshi Abe
Change-Id: I9277052ee9c6197cef7a46bd8f3ab9c5515c2502
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-06-10Use a simpler fix for bad old libexttextcat constants.Mark Wielaard
Don't patch the upstream sources. Don't do version dependend checks. Just define the missing constants ourselves if they are missing. Change-Id: Ie0c56474e5ff20c092c99c1648cd15b97149041f Reviewed-on: https://gerrit.libreoffice.org/4200 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-14One more XPropertySet -> XLinguPropertiesTor Lillqvist
Change-Id: I9ce34899181416f6c5e38289035af35ed5533616
2013-05-14fdo#46808, propogate XLinguProperties through some more codeNoel Grandin
Change-Id: I89258875094e9731921fcafdc903278ca8f95aa8
2013-05-09small optimization, don't call objectAtIndex twiceHerbert Dürr
(cherry picked from commit a88630fb326fa4dcbe28edd1c149c8e5e7b7f123) Conflicts: lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx Change-Id: Ic48281be27bf43f8a564f46684ddb53a2d83d80e
2013-05-06fix typos (wich instead of which)Philipp Riemer
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-25libexttextcat: mis-spell it again for old versionsMichael Stahl
Also, windows build cunningly uses an included version header that would be overwritten by configure. Change-Id: Id01b5dcd0f021a11d016571b6ee81e4fb8495020
2013-03-25libexttextcat: fix the --with-system case too...Michael Stahl
... by introducing a version check that is so horribly ugly that it will hopefully be removed again as soon as a new upstream release with the rename is available. Change-Id: I8e0409ba7331dec7140d2a4a49720c804e90582f
2013-03-25Missing _TEXTCAT_RESULT_SHORT -> TEXTCAT_RESULT_SHORT_STRStephan Bergmann
...cf. d4244efeb171632f309c8cfcbea4fbe2a3de3193 "libexttextcat: fix spelling of TEXTCAT_RESULT_UNKOWN." Change-Id: I65e8327296450324205e937fa762b656afebe2dd
2013-03-25libexttextcat: fix spelling of _TEXTCAT_RESULT_UNKOWNMichael Stahl
and remove the _ prefix too while at it Change-Id: I30ee8cd5aead53abac19fdc372e1fe45b3cbf55f
2013-03-25Fix spelling errors and typos: 'unkown' change to 'unknown'vincent
Change-Id: Ia3ff77d2b99c9ef6c4c9b510bb30f349592c0b94 Reviewed-on: https://gerrit.libreoffice.org/3030 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-02-08fdo#60427, fdo#59337: spell words with ZWNJ/ZWJ, f-lig. (only 8-bit dic.)László Németh
Change-Id: Ie8ac76373f4f4a456cdfb7f1a77ce640a5595d10
2013-01-30do not use removed A2OU macroLuboš Luňák
Change-Id: I1af159daed382e78f8c9933af10df9dba2010193
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-17Reduce scopeJulien Nabet
Change-Id: I58a1f5d36939dd95648ea42b31331e757c65ee57
2013-01-09resolved fdo#58503 restore awkward handling of empty locale for legacyEike Rathke
Partly reverts d7a5ec62e91ce3dc5b784815254218f16181f676 An empty locale was treated as LANGUAGE_NONE, effectively being interpreted as absence or undetermined or multiple or all depending on context. Restore this behavior as it was an undocumented feature of the API. Change-Id: If4b1641e776d10dea0d3037f7a62725c2b8d612c