From cc54c08a66046c00af3713fbe5e69995ccb7f73b Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Wed, 18 Dec 2013 18:08:09 +0100 Subject: resolved fdo#72778 keep setting system locale and LanguageTag in sync Change-Id: I3547786bf77b8f611bc08d0e52c66ac00e199f13 --- desktop/source/app/langselect.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/source/app/langselect.cxx') diff --git a/desktop/source/app/langselect.cxx b/desktop/source/app/langselect.cxx index cef285121767..49d001a087dc 100644 --- a/desktop/source/app/langselect.cxx +++ b/desktop/source/app/langselect.cxx @@ -197,7 +197,7 @@ bool prepareLocale() { } MsLangId::setConfiguredSystemUILanguage(tag.getLanguageType(false)); OUString setupSysLoc(officecfg::Setup::L10N::ooSetupSystemLocale::get()); - MsLangId::setConfiguredSystemLanguage( + LanguageTag::setConfiguredSystemLanguage( setupSysLoc.isEmpty() ? MsLangId::getSystemLanguage() : LanguageTag(setupSysLoc).getLanguageType(false)); -- cgit