vcl/coretext/ctfonts.cxx | 1 - 1 file changed, 1 deletion(-) New commits: commit 84b42f8203290276282b48e83403fe7a4833db28 Author: Khaled Hosny <khaledho...@eglug.org> Date: Tue Jun 18 01:48:51 2013 +0200
Remove pointless TODO note kCTFontDisplayNameAttribute is something like Foo Regular and Foo Bold, we certainly donât want that. Change-Id: Ia24a2abfcbb28883b2c3d05f66070583ddb862c9 (cherry picked from commit a80d2a760121a1b02606d9f5f703c286aa3ba971) Reviewed-on: https://gerrit.libreoffice.org/4385 Reviewed-by: Noel Power <noel.po...@suse.com> Tested-by: Noel Power <noel.po...@suse.com> diff --git a/vcl/coretext/ctfonts.cxx b/vcl/coretext/ctfonts.cxx index ae77b71..d4cf1ca 100644 --- a/vcl/coretext/ctfonts.cxx +++ b/vcl/coretext/ctfonts.cxx @@ -317,7 +317,6 @@ ImplDevFontAttributes DevFontFromCTFontDescriptor( CTFontDescriptorRef pFD, bool rDFA.mbSubsettable = true; // get font name - // TODO: use kCTFontDisplayNameAttribute instead??? CFStringRef pFamilyName = (CFStringRef)CTFontDescriptorCopyAttribute( pFD, kCTFontFamilyNameAttribute ); rDFA.SetFamilyName( GetOUString( pFamilyName ) ); // get font style
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits