From 8e9650ff54efd0e53973cf2dcf715cf7bfa2c8d3 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 8 May 2015 23:43:18 +0200 Subject: Remove dead CoreTextStyle::SetTextColor ...unclear to me why 507efabe8b40e34c2bebfdaa00d4264c5345d3dd "Resolves: #i124922# allow late setting of the font color..." left it in Change-Id: I741ca3d7eca6fa5dff81af50d91bd6c5d1cba989 --- vcl/quartz/salgdi.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'vcl/quartz') 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( pReqFont->mpFontData ); mpTextStyle = new CoreTextStyle( *pReqFont ); - mpTextStyle->SetTextColor( maTextColor ); SAL_INFO("vcl.ct", "SetFont" -- cgit