Kaydet (Commit) c3bde3cd authored tarafından Eike Rathke's avatar Eike Rathke

use LanguageTag

Change-Id: I2f8fd72cb49298f59d5eb406f03a1fc4128d1c8d
üst ee30270f
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
#include <vcl/metric.hxx> #include <vcl/metric.hxx>
#include <vcl/graphictools.hxx> #include <vcl/graphictools.hxx>
#include <tools/poly.hxx> #include <tools/poly.hxx>
#include <i18npool/mslangid.hxx> #include <i18npool/languagetag.hxx>
#include <implrenderer.hxx> #include <implrenderer.hxx>
#include <tools.hxx> #include <tools.hxx>
#include <outdevstate.hxx> #include <outdevstate.hxx>
...@@ -872,7 +872,7 @@ namespace cppcanvas ...@@ -872,7 +872,7 @@ namespace cppcanvas
: rendering::PanoseProportion::ANYTHING; : rendering::PanoseProportion::ANYTHING;
LanguageType aLang = rFont.GetLanguage(); LanguageType aLang = rFont.GetLanguage();
aFontRequest.Locale = MsLangId::convertLanguageToLocale(aLang, false); aFontRequest.Locale = LanguageTag( aLang).getLocale( false);
// setup state-local text transformation, // setup state-local text transformation,
// if the font be rotated // if the font be rotated
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment