[Libreoffice-commits] .: vcl/aqua
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Nov 22 04:08:17 PST 2012
vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0a14f43e69112073dd093ad26520527754feb9de
Author: Eike Rathke <erack at redhat.com>
Date: Thu Nov 22 13:07:13 2012 +0100
AllSettings LanguageTag also in aqua-only files
Change-Id: Iaecb5a3dfad8ca04085888102d69350eb1a6ae1b
diff --git a/vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx b/vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx
index 5cbdb0d..45f046d 100644
--- a/vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx
+++ b/vcl/aqua/source/gdi/atsui/salatsuifontutils.cxx
@@ -232,7 +232,7 @@ static bool GetDevFontAttributes( ATSUFontID nFontID, ImplDevFontAttributes& rDF
int nBestNameValue = 0;
int nBestStyleValue = 0;
FontLanguageCode eBestLangCode = 0;
- const FontLanguageCode eUILangCode = Application::GetSettings().GetUILanguage();
+ const FontLanguageCode eUILangCode = Application::GetSettings().GetUILanguageTag().getLanguageType();
typedef std::vector<char> NameBuffer;
NameBuffer aNameBuffer( 256 );
More information about the Libreoffice-commits
mailing list