summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-04-04 23:50:59 +0200
committerEike Rathke <erack@redhat.com>2013-04-05 19:01:52 +0200
commit8ef9e38aa84675c57b331a796d900b3c10e04f44 (patch)
tree99f9e078a79e3f0747b93dfc36ecc89648f49a79 /configmgr
parentce1cbedd471206b71a8f98f5ff63ce46e685dd5f (diff)
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
Diffstat (limited to 'configmgr')
-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;