summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Snelders <programming@ertai.nl>2012-05-27 12:05:56 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-05-28 17:56:23 +0300
commit1a5aae96bdb20e36a17d77ec60da874037544628 (patch)
treea4f94142f597f9b8b4e2154e06ade2e6eb81f976
parent78f614e5fff70d4874322255cca739f430865f0a (diff)
fdo#45830: Indicate correct default locale setting
Change-Id: I73904225b2ea1c5b78453caafe382860fb9a3a0f
-rw-r--r--i18npool/source/isolang/mslangid.cxx5
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)