summaryrefslogtreecommitdiff
path: root/vcl/quartz
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-08 23:43:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-08 23:47:24 +0200
commit8e9650ff54efd0e53973cf2dcf715cf7bfa2c8d3 (patch)
tree36391354b7282ead9d1aba809e98ca40ae3a3a0d /vcl/quartz
parent0e8be4beac6dc73d02b798962cb41c31b0ff1b8a (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/quartz')
-rw-r--r--vcl/quartz/salgdi.cxx3
1 files changed, 0 insertions, 3 deletions
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"