vcl/coretext/ctfonts.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit fa76a7159ad022df555f9c89dfce30a9c1681c26 Author: Tor Lillqvist <t...@iki.fi> Date: Sun Jun 16 11:44:59 2013 +0300 kCTFontTableOptionExcludeSynthetic is deprecated in 10.8 Change-Id: Ic5fc06e38db6f2111d516c53b6d1be2e47a7ced7 diff --git a/vcl/coretext/ctfonts.cxx b/vcl/coretext/ctfonts.cxx index 626e7d2..19e3256 100644 --- a/vcl/coretext/ctfonts.cxx +++ b/vcl/coretext/ctfonts.cxx @@ -311,7 +311,7 @@ int CTFontData::GetFontTable( const char pTagName[5], unsigned char* pResultBuf // get the raw table length CTFontDescriptorRef pFontDesc = reinterpret_cast<CTFontDescriptorRef>( GetFontId()); CTFontRef rCTFont = CTFontCreateWithFontDescriptor( pFontDesc, 0.0, NULL); -#ifdef MACOSX +#if defined(MACOSX) && MACOSX_SDK_VERSION < 1080 const uint32_t opts( kCTFontTableOptionExcludeSynthetic ); #else const uint32_t opts( kCTFontTableOptionNoOptions ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits