diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-02 14:25:35 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-02 14:25:35 +0200 |
commit | 04b08eeaaff12ac6cf5e6717f327f46ef49e85bf (patch) | |
tree | c04c706028da5ab2e0552293f23bdf47ba14501f /vcl | |
parent | ce170cf1f264c69e91cde268ee490584c8fbcd04 (diff) |
-Werror,-Wdeprecated-declarations
Change-Id: I87922fb64dda54f245954d6c5eb3b244812ceaf0
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/quartz/ctfonts.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index 321f371f179a..e5faad95a9da 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -145,7 +145,9 @@ bool CoreTextStyle::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect ) // XXX: this is broken if the glyph came from fallback font CTFontRef aCTFontRef = static_cast<CTFontRef>(CFDictionaryGetValue( mpStyleDict, kCTFontAttributeName )); + SAL_WNODEPRECATED_DECLARATIONS_PUSH //TODO: 10.11 kCTFontDefaultOrientation const CTFontOrientation aFontOrientation = kCTFontDefaultOrientation; // TODO: horz/vert + SAL_WNODEPRECATED_DECLARATIONS_POP const CGRect aCGRect = CTFontGetBoundingRectsForGlyphs( aCTFontRef, aFontOrientation, &nCGGlyph, NULL, 1 ); rRect.Left() = lrint( aCGRect.origin.x ); |