From be085bf52324f8b1c7f59a3d49a39e14e04824df Mon Sep 17 00:00:00 2001 From: matteocam Date: Sat, 24 May 2014 13:02:43 -0400 Subject: Moved Text Filling Color in OutDev. Text Filling occurs in ImplDrawText Change-Id: I9c75066a8dea32721757d0511a2af58c68408438 (cherry picked from commit b09cf493611f2521e66159287b88acc3c05d6d33) --- editeng/source/items/svxfont.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'editeng') diff --git a/editeng/source/items/svxfont.cxx b/editeng/source/items/svxfont.cxx index e9f2a710623f..718675b01924 100644 --- a/editeng/source/items/svxfont.cxx +++ b/editeng/source/items/svxfont.cxx @@ -459,14 +459,11 @@ void SvxFont::QuickDrawText( OutputDevice *pOut, fprintf(stderr, "About to print %s\n", rTxt.getStr()); + + // Font has to be selected in OutputDevice... if ( !IsCaseMap() && !IsCapital() && !IsKern() && !IsEsc() ) { - // set right background - if ( HasBackgroundColor() ) { - Color aColor = COL_RED; - pOut->SetTextFillColor(aColor); - } pOut->DrawTextArray( rPos, rTxt, pDXArray, nIdx, nLen ); return; } -- cgit