[Libreoffice-commits] .: vcl/win
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Nov 20 08:34:05 PST 2012
vcl/win/source/gdi/salgdi3.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 7752d65999fd64454deb259ef134456e0bb4709f
Author: Eike Rathke <erack at redhat.com>
Date: Tue Nov 20 17:33:33 2012 +0100
use LanguageTag
Change-Id: Ia5d328b995460f11602f3a1e4d49946d10dfad73
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index 7becdba..134c1a3 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;
}
More information about the Libreoffice-commits
mailing list