diff options
-rw-r--r-- | i18nlangtag/source/isolang/isolang.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index 527ace359021..5fa7d5c4b2f5 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -675,23 +675,6 @@ void MsLangId::Conversion::convertLanguageToLocaleImpl( LanguageType nLang, } while ( pEntry->mnLang != LANGUAGE_DONTKNOW ); - // Search for LangID if we didn't find a specific ISO combination. - // All entries in this table are allowed for mime specifications, - // but not defined ISO combinations. - const IsoLangNoneStdEntry* pNoneStdEntry = aImplIsoNoneStdLangEntries; - do - { - if ( pNoneStdEntry->mnLang == nLang ) - { - rLocale.Language = OUString::createFromAscii( pNoneStdEntry->maLangStr ); - rLocale.Country = OUString::createFromAscii( pNoneStdEntry->maCountry ); - rLocale.Variant = OUString(); - return; - } - ++pNoneStdEntry; - } - while ( pNoneStdEntry->mnLang != LANGUAGE_DONTKNOW ); - // Look for privateuse definitions. const IsoLangOtherEntry* pPrivateEntry = aImplPrivateUseEntries; do |