diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 23:43:18 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-08 23:47:24 +0200 |
commit | 8e9650ff54efd0e53973cf2dcf715cf7bfa2c8d3 (patch) | |
tree | 36391354b7282ead9d1aba809e98ca40ae3a3a0d /vcl | |
parent | 0e8be4beac6dc73d02b798962cb41c31b0ff1b8a (diff) |
Remove dead CoreTextStyle::SetTextColor
...unclear to me why 507efabe8b40e34c2bebfdaa00d4264c5345d3dd
"Resolves: #i124922# allow late setting of the font color..." left it in
Change-Id: I741ca3d7eca6fa5dff81af50d91bd6c5d1cba989
Diffstat (limited to 'vcl')
-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" |