[Libreoffice-commits] .: canvas/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Nov 20 08:26:46 PST 2012
canvas/source/directx/dx_textlayout_drawhelper.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ee6bfe1910b6b3a255f3e393689397fc2c94cdda
Author: Eike Rathke <erack at redhat.com>
Date: Tue Nov 20 17:26:09 2012 +0100
use LanguageTag
Change-Id: Ic81a3f3ffd00431ddc8082a210dacaa77ce862f4
diff --git a/canvas/source/directx/dx_textlayout_drawhelper.cxx b/canvas/source/directx/dx_textlayout_drawhelper.cxx
index b4f2104..2fe6091 100644
--- a/canvas/source/directx/dx_textlayout_drawhelper.cxx
+++ b/canvas/source/directx/dx_textlayout_drawhelper.cxx
@@ -39,7 +39,7 @@
#include <canvas/debug.hxx>
#include "dx_impltools.hxx"
#include <vcl/sysdata.hxx>
-#include <i18npool/mslangid.hxx>
+#include <i18npool/lanuagetag.hxx>
#include "dx_textlayout_drawhelper.hxx"
#include "dx_bitmap.hxx"
#include "dx_canvasfont.hxx"
@@ -125,7 +125,7 @@ namespace dxcanvas
rFontRequest.FontDescription.FontDescription.Proportion == rendering::PanoseProportion::MONO_SPACED
? PITCH_FIXED : PITCH_VARIABLE);
- aFont.SetLanguage(MsLangId::convertLocaleToLanguage(rFontRequest.Locale));
+ aFont.SetLanguage(LanguageTag(rFontRequest.Locale).getLanguageType());
// setup font color
aFont.SetColor( aColor );
More information about the Libreoffice-commits
mailing list