diff options
-rw-r--r-- | svtools/source/control/ctrltool.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/syslocaleoptions.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/gtk3/gtkframe.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
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)) { 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 diff --git a/vcl/unx/gtk3/gtkframe.cxx b/vcl/unx/gtk3/gtkframe.cxx index aa1d5b600187..41e621db24db 100644 --- a/vcl/unx/gtk3/gtkframe.cxx +++ b/vcl/unx/gtk3/gtkframe.cxx @@ -1371,7 +1371,7 @@ void GtkSalFrame::Init( SalFrame* pParent, SalFrameStyleFlags nStyle ) //header bar with the desired 'outside' direction if ((eType == GDK_WINDOW_TYPE_HINT_NORMAL || eType == GDK_WINDOW_TYPE_HINT_DIALOG) && DLSYM_GDK_IS_WAYLAND_DISPLAY(GtkSalFrame::getGdkDisplay())) { - const bool bDesktopIsRTL = MsLangId::isRightToLeft(MsLangId::getSystemUILanguage()); + const bool bDesktopIsRTL = MsLangId::isRightToLeft(MsLangId::getConfiguredSystemUILanguage()); const bool bAppIsRTL = gtk_widget_get_default_direction() == GTK_TEXT_DIR_RTL; if (bDesktopIsRTL != bAppIsRTL) { |