diff options
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/configurationprovider.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx index bd84e8cb6f98..c9f75dcc4fb8 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -332,8 +332,7 @@ void Service::setLocale(css::lang::Locale const & eLocale) throw (css::uno::RuntimeException) { osl::MutexGuard guard(*lock_); - locale_ = comphelper::Locale( - eLocale.Language, eLocale.Country, eLocale.Variant).toISO(); + locale_ = LanguageTag( eLocale).getBcp47(); } css::lang::Locale Service::getLocale() throw (css::uno::RuntimeException) { |