[Libreoffice-commits] .: cppcanvas/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Nov 16 11:54:31 PST 2012
cppcanvas/source/mtfrenderer/implrenderer.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c3bde3cd13e3af65290d5cdab7bf951a6325e370
Author: Eike Rathke <erack at redhat.com>
Date: Fri Nov 16 20:53:55 2012 +0100
use LanguageTag
Change-Id: I2f8fd72cb49298f59d5eb406f03a1fc4128d1c8d
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index b7f1677..e8f40bd 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
More information about the Libreoffice-commits
mailing list