From fc0f7eaa73b671aea03b9182db3391382d6e8eb8 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 23 Aug 2013 20:30:12 +0200 Subject: do not convert to IsoLangNoneStdEntry Change-Id: I94ba55f2ab8e9b495d8f02b137c940fe5173b8fd --- i18nlangtag/source/isolang/isolang.cxx | 17 ----------------- 1 file changed, 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 -- cgit