diff options
Diffstat (limited to 'filter/source/config/cache/filtercache.cxx')
-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 |