summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authormatteocam <matteo.campanelli@gmail.com>2014-05-22 16:18:29 -0400
committerFridrich Štrba <fridrich.strba@bluewin.ch>2014-06-30 22:54:37 +0200
commit039599e9d52461ea57a9690f847bbfe5bae6f3aa (patch)
tree0ffd35df6c6c6f62202bee8cbc23773152b8b663 /vcl
parentd097bc8e156b50a4fd04dd82c42efa2921f0e886 (diff)
Put text filling in SvxFont
Change-Id: I290fff0cb66fc07122b976d977dff24ac491e108 (cherry picked from commit ea56441757a34082b9ffc5f28936413fcb55e31a)
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/outdev/text.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 2f3303bae8fb..52c05374d543 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -288,6 +288,7 @@ bool OutputDevice::ImplDrawTextDirect( SalLayout& rSalLayout,
if( ImplDrawRotateText( rSalLayout ) )
return true;
+
long nOldX = rSalLayout.DrawBase().X();
if( HasMirroredGraphics() )
{
@@ -330,10 +331,6 @@ bool OutputDevice::ImplDrawTextDirect( SalLayout& rSalLayout,
maFont.GetStrikeout(), maFont.GetUnderline(), maFont.GetOverline(),
maFont.IsWordLineMode(), ImplIsUnderlineAbove( maFont ) );
- // draw background
- if ( bTextBkg ) {
-
- }
// emphasis marks
if( maFont.GetEmphasisMark() & EMPHASISMARK_STYLE )