summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index e736934d739c..5abb8998032f 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -7373,8 +7373,7 @@ void PDFWriterImpl::drawStraightTextLine( OStringBuffer& aLine, long nWidth, Fon
{
appendStrokingColor(aColor, aLine); // stroke with text color
aLine.append( " " );
- Color aNonStrokeColor(COL_WHITE); // fill with white
- appendNonStrokingColor(aNonStrokeColor, aLine);
+ appendNonStrokingColor(COL_WHITE, aLine); // fill with white
aLine.append( "\n" );
aLine.append( "0.25 w \n" ); // same line thickness as in drawLayout