From 8ef9e38aa84675c57b331a796d900b3c10e04f44 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 4 Apr 2013 23:50:59 +0200 Subject: use LanguageTag This creates a circular dependency between modules i18npool and comphelper, but not between libraries. To be resolved by moving languagetag, isolang and mslangid stuff to a separate module. Change-Id: I669aa66010800632c5637b42c6136a7ca14e7e68 --- configmgr/source/configurationprovider.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'configmgr') diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx index 2f6f075002c2..f4c04a0e7a55 100644 --- a/configmgr/source/configurationprovider.cxx +++ b/configmgr/source/configurationprovider.cxx @@ -337,9 +337,7 @@ void Service::setLocale(css::lang::Locale const & eLocale) css::lang::Locale Service::getLocale() throw (css::uno::RuntimeException) { osl::MutexGuard guard(*lock_); css::lang::Locale loc; - if ( locale_ == "*" ) { /* FIXME-BCP47: WTF is this?!? */ - loc.Language = locale_; - } else if (! locale_.isEmpty()) { + if (! locale_.isEmpty()) { loc = LanguageTag( locale_).getLocale( false); } return loc; -- cgit