diff options
Diffstat (limited to 'i18nlangtag')
-rw-r--r-- | i18nlangtag/source/isolang/isolang.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index 6add6e3df891..09d1b87ebb49 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -1285,16 +1285,16 @@ LanguageType MsLangId::Conversion::convertIsoNamesToLanguage( const OUString& rL pFirstLang = pEntry; } } - } - // some eng countries should be mapped to a specific english language - if ( aLowerLang == "en" ) - { - for (const IsoLangEngEntry* pEngEntry = aImplIsoLangEngEntries; - pEngEntry->mnLang != LANGUAGE_DONTKNOW; ++pEngEntry) + // some eng countries should be mapped to a specific english language + if ( aLowerLang == "en" ) { - if ( aUpperCountry.equalsAscii( pEngEntry->maCountry ) ) - return pEngEntry->mnLang; + for (const IsoLangEngEntry* pEngEntry = aImplIsoLangEngEntries; + pEngEntry->mnLang != LANGUAGE_DONTKNOW; ++pEngEntry) + { + if ( aUpperCountry.equalsAscii( pEngEntry->maCountry ) ) + return pEngEntry->mnLang; + } } } |