diff options
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; } |