diff options
author | Eike Rathke <erack@redhat.com> | 2014-09-16 13:50:27 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-09-16 14:02:11 +0200 |
commit | 3ff2e4dc1d0ba922e06f0d5c90c85fee33623784 (patch) | |
tree | 18b89a12f1435d4e89e65f812475bc2c5e1e67d4 /i18nlangtag | |
parent | a3ed215584a9347f63739966c19a7dcb39c07b01 (diff) |
fdo#81357 no fallback for special codes without country
Thanks to Justin Luth for the hint.
Change-Id: I97bde18814368e589e2a1c275457489a0d7392d4
Diffstat (limited to 'i18nlangtag')
-rw-r--r-- | i18nlangtag/source/isolang/isolang.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/i18nlangtag/source/isolang/isolang.cxx b/i18nlangtag/source/isolang/isolang.cxx index 141d9133aff6..e91b09e758d2 100644 --- a/i18nlangtag/source/isolang/isolang.cxx +++ b/i18nlangtag/source/isolang/isolang.cxx @@ -1105,6 +1105,10 @@ com::sun::star::lang::Locale MsLangId::Conversion::getLocale( const IsoLanguageS case LANGUAGE_USER_LOJBAN: case LANGUAGE_KASHMIRI: case LANGUAGE_USER_KEYID: + // And the special codes without country. + case LANGUAGE_MULTIPLE: + case LANGUAGE_UNDETERMINED: + case LANGUAGE_NONE: return getLocale( pEntry); // may override default: ; // nothing |