summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authormatteocam <matteo.campanelli@gmail.com>2014-05-24 13:02:43 -0400
committerFridrich Štrba <fridrich.strba@bluewin.ch>2014-06-30 22:54:37 +0200
commitbe085bf52324f8b1c7f59a3d49a39e14e04824df (patch)
treea0203ad18eb78e02a602e610c8de96e2da079f6f /editeng
parent039599e9d52461ea57a9690f847bbfe5bae6f3aa (diff)
Moved Text Filling Color in OutDev. Text Filling occurs in ImplDrawText
Change-Id: I9c75066a8dea32721757d0511a2af58c68408438 (cherry picked from commit b09cf493611f2521e66159287b88acc3c05d6d33)
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/svxfont.cxx7
1 files changed, 2 insertions, 5 deletions
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;
}