diff options
author | Eike Rathke <erack@redhat.com> | 2013-03-28 01:03:22 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-28 01:39:08 +0100 |
commit | 25010515d9617bf6955ac187792244958257b2a9 (patch) | |
tree | 8b24693fc0ebc6384203f4c0558a2bc099a1dab6 /configmgr | |
parent | bcc73432eefc08421f6ee16b3c179cba3add636a (diff) |
use LanguageTag instead of comphelper::Locale
Change-Id: I6e5e85e2c81030f9b599e3ade416ba25f7be4e5e
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) { |