Kaydet (Commit) c87e4eb3 authored tarafından Caolán McNamara's avatar Caolán McNamara

mac-only UniString from sal_Unicode*

Change-Id: If6432543c194668075b5b0a821e4bad8d7dd4839
üst 7480f766
...@@ -307,7 +307,7 @@ static bool GetDevFontAttributes( ATSUFontID nFontID, ImplDevFontAttributes& rDF ...@@ -307,7 +307,7 @@ static bool GetDevFontAttributes( ATSUFontID nFontID, ImplDevFontAttributes& rDF
// convert to unicode name // convert to unicode name
UniString aUtf16Name; UniString aUtf16Name;
if( eEncoding == RTL_TEXTENCODING_UNICODE ) // we are just interested in UTF16 encoded names if( eEncoding == RTL_TEXTENCODING_UNICODE ) // we are just interested in UTF16 encoded names
aUtf16Name = UniString( (const sal_Unicode*)&aNameBuffer[0], nNameLength/2 ); aUtf16Name = rtl::OUString( (const sal_Unicode*)&aNameBuffer[0], nNameLength/2 );
else if( eEncoding == RTL_TEXTENCODING_UCS4 ) else if( eEncoding == RTL_TEXTENCODING_UCS4 )
aUtf16Name = UniString(); // TODO aUtf16Name = UniString(); // TODO
else // assume the non-unicode encoded names are byte encoded else // assume the non-unicode encoded names are byte encoded
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment