cui/source/options/optlingu.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 00a44a080539fa5d7cbd9cc21442b500b66164ef Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Fri Jun 2 22:17:56 2023 +0300 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Fri Jun 2 22:20:00 2023 +0200 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.kagan...@collabora.com> 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()),