summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2021-10-18 22:23:12 +0200
committerEike Rathke <erack@redhat.com>2021-10-19 00:20:49 +0200
commitb582a76d7cc20adb8440830ffd1597258d2d6a4a (patch)
tree06058e20a76bc0024ed692f1327895b17e3fe19f /unotools
parente3c3c3b84ef6b91f89a5e388e6538f18a2e8b13e (diff)
Use MsLangId::getConfiguredSystemUILanguage()
Change-Id: Ia9344c44a71be656a731ab8735dd8e959e520592 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123789 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/syslocaleoptions.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx
index 04a31826de82..7e38237ec3b2 100644
--- a/unotools/source/config/syslocaleoptions.cxx
+++ b/unotools/source/config/syslocaleoptions.cxx
@@ -275,7 +275,7 @@ void SvtSysLocaleOptions_Impl::MakeRealUILocale()
{
if (m_aUILocaleString.isEmpty())
{
- LanguageType nLang = MsLangId::getSystemUILanguage();
+ LanguageType nLang = MsLangId::getConfiguredSystemUILanguage();
m_aRealUILocale.reset( nLang).makeFallback();
}
else