diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-20 17:26:09 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-20 17:26:16 +0100 |
commit | ee6bfe1910b6b3a255f3e393689397fc2c94cdda (patch) | |
tree | ba79458028737ffa4a2df84b753010cc535769f0 /canvas | |
parent | 9de9c430ca36751b63744ccb2f31e5b075e599b0 (diff) |
use LanguageTag
Change-Id: Ic81a3f3ffd00431ddc8082a210dacaa77ce862f4
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/directx/dx_textlayout_drawhelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/directx/dx_textlayout_drawhelper.cxx b/canvas/source/directx/dx_textlayout_drawhelper.cxx index b4f2104ff66e..2fe609117bd5 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 ); |