summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-06-16 11:44:59 +0300
committerTor Lillqvist <tml@iki.fi>2013-06-16 11:44:59 +0300
commitfa76a7159ad022df555f9c89dfce30a9c1681c26 (patch)
tree325c36cf6a43f7daac8758cf57aac7708b3fa478
parentaa539f6c9d37f5eeef56a468f7009c542fddc02a (diff)
kCTFontTableOptionExcludeSynthetic is deprecated in 10.8
Change-Id: Ic5fc06e38db6f2111d516c53b6d1be2e47a7ced7
-rw-r--r--vcl/coretext/ctfonts.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/coretext/ctfonts.cxx b/vcl/coretext/ctfonts.cxx
index 626e7d2f5d67..19e325652857 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 );