Kaydet (Commit) 25010515 authored tarafından Eike Rathke's avatar Eike Rathke

use LanguageTag instead of comphelper::Locale

Change-Id: I6e5e85e2c81030f9b599e3ade416ba25f7be4e5e
üst bcc73432
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment