[PATCH] fdo#45830 - Indicated Default Locale setting now correct
Rob Snelders
programming at ertai.nl
Sun May 27 03:05:56 PDT 2012
Change-Id: I73904225b2ea1c5b78453caafe382860fb9a3a0f
---
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 3cd877e..8fe16c0 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)
--
1.7.5.4
--------------080602020108000204040804--
More information about the LibreOffice
mailing list