summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-06-02 22:17:56 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-06-02 22:20:00 +0200
commit00a44a080539fa5d7cbd9cc21442b500b66164ef (patch)
tree0dfd948658cb1c1143b277726c386df331a43efe /cui
parent0450c7177f61ba5be15f7b4175b9fb5e89f850ae (diff)
tdf#155652: use UI language for language service display names
Change-Id: I7a671e3f8db484b04901bd2360aaab4cde36a72c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152565 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optlingu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index d04de6aed890..9184460cbec3 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -559,7 +559,7 @@ SvxLinguData_Impl::SvxLinguData_Impl() :
uno::Reference< XComponentContext > xContext = ::comphelper::getProcessComponentContext();
xLinguSrvcMgr = LinguServiceManager::create(xContext);
- const Locale& rCurrentLocale = Application::GetSettings().GetLanguageTag().getLocale();
+ const Locale& rCurrentLocale = Application::GetSettings().GetUILanguageTag().getLocale();
Sequence<Any> aArgs
{
Any(LinguMgr::GetLinguPropertySet()),