diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-16 20:53:55 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-16 20:54:00 +0100 |
commit | c3bde3cd13e3af65290d5cdab7bf951a6325e370 (patch) | |
tree | d42395eca17bdb6e813b784a6ddce7eefb4cb63e /cppcanvas | |
parent | ee30270f590902e0971410dad7991d56a8506549 (diff) |
use LanguageTag
Change-Id: I2f8fd72cb49298f59d5eb406f03a1fc4128d1c8d
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 |