summaryrefslogtreecommitdiff
path: root/configmgr/source/configurationprovider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr/source/configurationprovider.cxx')
-rw-r--r--configmgr/source/configurationprovider.cxx4
1 files changed, 1 insertions, 3 deletions
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;