diff options
author | Eike Rathke <erack@redhat.com> | 2014-09-16 13:50:27 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-09-18 18:52:19 +0000 |
commit | f31eae7441d916ab22b3395443e0301506cb8fc1 (patch) | |
tree | 18986bdb822f90031fc539be1d058580ca5b78de | |
parent | 556d07c94b52949ca64d74ec5449c2b138b5ff95 (diff) |
fdo#81357 no fallback for special codes without country
Thanks to Justin Luth for the hint.
Change-Id: I97bde18814368e589e2a1c275457489a0d7392d4
(cherry picked from commit 3ff2e4dc1d0ba922e06f0d5c90c85fee33623784)
Reviewed-on: https://gerrit.libreoffice.org/11471
Reviewed-by: Matúš Kukan <matus.kukan@collabora.com>
Tested-by: Matúš Kukan <matus.kukan@collabora.com>
-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 |