diff options
author | Eike Rathke <erack@redhat.com> | 2013-03-27 22:56:13 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-28 01:39:07 +0100 |
commit | 66a63c1608cfd5e755fb141b636e4a84c118179a (patch) | |
tree | 97edf820d9e910c60b56caab0afc6aeeb56e6ac0 /filter/source/config | |
parent | 4f79c03ba8ca14c3b9798565272a82e4e14ac3d0 (diff) |
use LanguageTag instead of comphelper::Locale
Change-Id: I628c7fdd9e14c8fdd55800aa470268abf4ed2632
Diffstat (limited to 'filter/source/config')
-rw-r--r-- | filter/source/config/cache/filtercache.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/source/config/cache/filtercache.cxx b/filter/source/config/cache/filtercache.cxx index af342df33cf6..c16ef1d98670 100644 --- a/filter/source/config/cache/filtercache.cxx +++ b/filter/source/config/cache/filtercache.cxx @@ -49,6 +49,7 @@ #include <rtl/uri.hxx> #include <tools/urlobj.hxx> #include <tools/wldcrd.hxx> +#include <i18npool/languagetag.hxx> #include <comphelper/configurationhelper.hxx> @@ -1631,7 +1632,7 @@ void FilterCache::impl_readPatchUINames(const css::uno::Reference< css::containe // find right UIName for current office locale // Use fallbacks too! - pLocale = ::comphelper::Locale::getFallback(lLocales, sActLocale); + pLocale = LanguageTag::getFallback(lLocales, sActLocale); if (pLocale == lLocales.end()) { #if OSL_DEBUG_LEVEL > 0 |