diff options
author | Eike Rathke <erack@redhat.com> | 2013-08-23 20:30:12 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-08-23 23:09:08 +0200 |
commit | fc0f7eaa73b671aea03b9182db3391382d6e8eb8 (patch) | |
tree | 2c4274fd8b26bd171bad54022638dff16dfcfba1 | |
parent | 5cc7914d9199833d4ef03afe62f03d88693ed1f8 (diff) |
do not convert to IsoLangNoneStdEntry
Change-Id: I94ba55f2ab8e9b495d8f02b137c940fe5173b8fd
-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 |