summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/app/saldisp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/app/saldisp.cxx')
-rw-r--r--vcl/unx/generic/app/saldisp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index 3310e6da6f5d..725bd19f1d9f 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -739,7 +739,7 @@ sal_uInt16 SalDisplay::GetIndicatorState() const
rtl::OUString SalDisplay::GetKeyNameFromKeySym( KeySym nKeySym ) const
{
- rtl::OUString aLang = Application::GetSettings().GetUILocale().Language;
+ rtl::OUString aLang = Application::GetSettings().GetUILanguageTag().getLanguage();
rtl::OUString aRet;
// return an empty string for keysyms that are not bound to