summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/text.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/outdev/text.cxx')
-rw-r--r--vcl/source/outdev/text.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 204feccc9da6..a3547b1bb491 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -69,7 +69,7 @@ void OutputDevice::ImplInitTextColor()
if ( mbInitTextColor )
{
- mpGraphics->SetTextColor( ImplColorToSal( GetTextColor() ) );
+ mpGraphics->SetTextColor( GetTextColor() );
mbInitTextColor = false;
}
}
@@ -145,7 +145,7 @@ void OutputDevice::ImplDrawTextBackground( const SalLayout& rSalLayout )
mpGraphics->SetLineColor();
mbInitLineColor = true;
}
- mpGraphics->SetFillColor( ImplColorToSal( GetTextFillColor() ) );
+ mpGraphics->SetFillColor( GetTextFillColor() );
mbInitFillColor = true;
ImplDrawTextRect( nX, nY, 0, -(mpFontInstance->mxFontMetric->GetAscent() + mnEmphasisAscent),