diff options
-rw-r--r-- | vcl/inc/quartz/salgdi.h | 2 | ||||
-rw-r--r-- | vcl/quartz/salgdi.cxx | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/vcl/inc/quartz/salgdi.h b/vcl/inc/quartz/salgdi.h index 05f618045f03..346602c68f26 100644 --- a/vcl/inc/quartz/salgdi.h +++ b/vcl/inc/quartz/salgdi.h @@ -97,8 +97,6 @@ public: bool GetGlyphBoundRect( sal_GlyphId, Rectangle& ) const; bool GetGlyphOutline( sal_GlyphId, basegfx::B2DPolyPolygon& ) const; - void SetTextColor( const RGBAColor& ) {} - const CoreTextFontData* mpFontData; /// <1.0: font is squeezed, >1.0 font is stretched, else 1.0 float mfFontStretch; diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx index 859fa952080f..52cf48acf816 100644 --- a/vcl/quartz/salgdi.cxx +++ b/vcl/quartz/salgdi.cxx @@ -307,8 +307,6 @@ void AquaSalGraphics::SetTextColor( SalColor nSalColor ) { maTextColor = RGBAColor( nSalColor ); // SAL_ DEBUG(std::hex << nSalColor << std::dec << "={" << maTextColor.GetRed() << ", " << maTextColor.GetGreen() << ", " << maTextColor.GetBlue() << ", " << maTextColor.GetAlpha() << "}"); - if( mpTextStyle) - mpTextStyle->SetTextColor( maTextColor ); } void AquaSalGraphics::GetFontMetric( ImplFontMetricData* pMetric, int /*nFallbackLevel*/ ) @@ -436,7 +434,6 @@ sal_uInt16 AquaSalGraphics::SetFont( FontSelectPattern* pReqFont, int /*nFallbac // update the text style mpFontData = static_cast<const CoreTextFontData*>( pReqFont->mpFontData ); mpTextStyle = new CoreTextStyle( *pReqFont ); - mpTextStyle->SetTextColor( maTextColor ); SAL_INFO("vcl.ct", "SetFont" |