From b582a76d7cc20adb8440830ffd1597258d2d6a4a Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 18 Oct 2021 22:23:12 +0200 Subject: Use MsLangId::getConfiguredSystemUILanguage() Change-Id: Ia9344c44a71be656a731ab8735dd8e959e520592 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123789 Reviewed-by: Eike Rathke Tested-by: Jenkins --- svtools/source/control/ctrltool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools') diff --git a/svtools/source/control/ctrltool.cxx b/svtools/source/control/ctrltool.cxx index 96b81ed13abb..3d908b342ab8 100644 --- a/svtools/source/control/ctrltool.cxx +++ b/svtools/source/control/ctrltool.cxx @@ -772,7 +772,7 @@ FontSizeNames::FontSizeNames( LanguageType eLanguage ) if ( eLanguage == LANGUAGE_DONTKNOW ) eLanguage = Application::GetSettings().GetUILanguageTag().getLanguageType(); if ( eLanguage == LANGUAGE_SYSTEM ) - eLanguage = MsLangId::getSystemUILanguage(); + eLanguage = MsLangId::getConfiguredSystemUILanguage(); if (MsLangId::isSimplifiedChinese(eLanguage)) { -- cgit