vcl/quartz/ctfonts.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 04b08eeaaff12ac6cf5e6717f327f46ef49e85bf
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Fri Oct 2 14:25:35 2015 +0200

    -Werror,-Wdeprecated-declarations
    
    Change-Id: I87922fb64dda54f245954d6c5eb3b244812ceaf0

diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx
index 321f371..e5faad9 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 );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to