[Libreoffice-commits] .: vcl/aqua
Stephan Bergmann
sbergmann at kemper.freedesktop.org
Wed Dec 14 09:11:31 PST 2011
vcl/aqua/source/gdi/salatsuifontutils.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6c39bcd971a9a4a8b1b5ff7294821182624f2f57
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Dec 14 18:11:14 2011 +0100
Adapted Mac-only code to ByteString reduction.
diff --git a/vcl/aqua/source/gdi/salatsuifontutils.cxx b/vcl/aqua/source/gdi/salatsuifontutils.cxx
index af8ee49..5ca2e5e 100644
--- a/vcl/aqua/source/gdi/salatsuifontutils.cxx
+++ b/vcl/aqua/source/gdi/salatsuifontutils.cxx
@@ -53,7 +53,7 @@
// and SFNT fonts on Mac usually do not contain an OS/2 table.
static void UpdateAttributesFromPSName( const String& rPSName, ImplDevFontAttributes& rDFA )
{
- ByteString aPSName( rPSName, RTL_TEXTENCODING_UTF8 );
+ ByteString aPSName( rtl::OUStringToOString( rPSName, RTL_TEXTENCODING_UTF8 ) );
aPSName.ToLowerAscii();
// TODO: use a multi-string ignore-case matcher once it becomes available
More information about the Libreoffice-commits
mailing list