diff options
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/implrenderer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx index b7f1677d8682..e8f40bd7b4af 100644 --- a/cppcanvas/source/mtfrenderer/implrenderer.cxx +++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx @@ -62,7 +62,7 @@ #include <vcl/metric.hxx> #include <vcl/graphictools.hxx> #include <tools/poly.hxx> -#include <i18npool/mslangid.hxx> +#include <i18npool/languagetag.hxx> #include <implrenderer.hxx> #include <tools.hxx> #include <outdevstate.hxx> @@ -872,7 +872,7 @@ namespace cppcanvas : rendering::PanoseProportion::ANYTHING; LanguageType aLang = rFont.GetLanguage(); - aFontRequest.Locale = MsLangId::convertLanguageToLocale(aLang, false); + aFontRequest.Locale = LanguageTag( aLang).getLocale( false); // setup state-local text transformation, // if the font be rotated |