diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-06 13:10:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-06 20:23:09 +0200 |
commit | 8c77b5670ec0ee6d550d5adba51b8ae76fe2c162 (patch) | |
tree | 9a905004341f2fae7bee3b45bd8826d95f801353 /i18nlangtag | |
parent | make binary functor unary, related tdf#108782 (diff) | |
download | core-8c77b5670ec0ee6d550d5adba51b8ae76fe2c162.tar.gz core-8c77b5670ec0ee6d550d5adba51b8ae76fe2c162.zip |
use OString::operator== in preference to ::equals
Change-Id: Ib291521963a791a9c6175964571e9d9895072acf
Reviewed-on: https://gerrit.libreoffice.org/39646
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18nlangtag')
-rw-r--r-- | i18nlangtag/source/isolang/isolang.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index 87bc329e9596..602ec4447bbd 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -1464,11 +1464,11 @@ LanguageType MsLangId::convertUnxByteStringToLanguage( for (const IsoLangGLIBCModifiersEntry* pGLIBCModifiersEntry = aImplIsoLangGLIBCModifiersEntries; pGLIBCModifiersEntry->mnLang != LANGUAGE_DONTKNOW; ++pGLIBCModifiersEntry) { // avoid embedded \0 warning - if (aLowerLang.equals( static_cast< const char* >( pGLIBCModifiersEntry->maLanguage )) && - aAtString.equals( static_cast< const char* >( pGLIBCModifiersEntry->maAtString ))) + if (aLowerLang == static_cast< const char* >( pGLIBCModifiersEntry->maLanguage ) && + aAtString == static_cast< const char* >( pGLIBCModifiersEntry->maAtString )) { if (aUpperCountry.isEmpty() || - aUpperCountry.equals( static_cast< const char* >( pGLIBCModifiersEntry->maCountry ))) + aUpperCountry == static_cast< const char* >( pGLIBCModifiersEntry->maCountry )) { return pGLIBCModifiersEntry->mnLang; } |