diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-20 17:33:33 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-20 17:33:46 +0100 |
commit | 7752d65999fd64454deb259ef134456e0bb4709f (patch) | |
tree | 14d57cd66c7de1e896cedfd982b15d46beb9348d /vcl | |
parent | 71ee467a12a4fbc9914e0d421431f32c953c26d0 (diff) |
use LanguageTag
Change-Id: Ia5d328b995460f11602f3a1e4d49946d10dfad73
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/gdi/salgdi3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx index 7becdba6d7a6..134c1a395b90 100644 --- a/vcl/win/source/gdi/salgdi3.cxx +++ b/vcl/win/source/gdi/salgdi3.cxx @@ -28,6 +28,7 @@ #include "rtl/bootstrap.hxx" #include "i18npool/mslangid.hxx" +#include "i18npool/languagetag.hxx" #include "osl/module.h" #include "osl/file.hxx" @@ -548,7 +549,7 @@ bool WinGlyphFallbackSubstititution::FindFontSubstitute( FontSelectPattern& rFon eLang = MapCharToLanguage( uChar ); if( eLang == LANGUAGE_DONTKNOW ) continue; - MsLangId::convertLanguageToLocale( eLang, aLocale ); + aLocale = LanguageTag( eLang ).getLocale(); break; } |