diff options
author | Eike Rathke <erack@redhat.com> | 2013-12-18 18:08:09 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-12-18 18:10:08 +0100 |
commit | cc54c08a66046c00af3713fbe5e69995ccb7f73b (patch) | |
tree | f9d3498f427d315013868b7964645cbc36fdb4a5 /desktop/source/app/langselect.cxx | |
parent | fab34eb54fffaaf1fc32a0901436d8940f6c8b43 (diff) |
resolved fdo#72778 keep setting system locale and LanguageTag in sync
Change-Id: I3547786bf77b8f611bc08d0e52c66ac00e199f13
Diffstat (limited to 'desktop/source/app/langselect.cxx')
-rw-r--r-- | desktop/source/app/langselect.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |