diff options
author | Rob Snelders <programming@ertai.nl> | 2012-05-27 12:05:56 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-05-28 17:56:23 +0300 |
commit | 1a5aae96bdb20e36a17d77ec60da874037544628 (patch) | |
tree | a4f94142f597f9b8b4e2154e06ade2e6eb81f976 | |
parent | check key size (diff) | |
download | core-1a5aae96bdb20e36a17d77ec60da874037544628.tar.gz core-1a5aae96bdb20e36a17d77ec60da874037544628.zip |
fdo#45830: Indicate correct default locale setting
Change-Id: I73904225b2ea1c5b78453caafe382860fb9a3a0f
-rw-r--r-- | i18npool/source/isolang/mslangid.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/i18npool/source/isolang/mslangid.cxx b/i18npool/source/isolang/mslangid.cxx index 3cd877e4c91b..8fe16c0b275c 100644 --- a/i18npool/source/isolang/mslangid.cxx +++ b/i18npool/source/isolang/mslangid.cxx @@ -94,10 +94,7 @@ LanguageType MsLangId::getRealLanguage( LanguageType nLang ) switch (simplifySystemLanguages( nLang)) { case LANGUAGE_SYSTEM : - if (nConfiguredSystemLanguage == LANGUAGE_SYSTEM) - nLang = getSystemLanguage(); - else - nLang = nConfiguredSystemLanguage; + nLang = getSystemLanguage(); break; case LANGUAGE_NONE : if (nConfiguredSystemUILanguage == LANGUAGE_SYSTEM) |