summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2013-01-03 15:22:09 +0100
committerJan Holesovsky <kendy@suse.cz>2013-01-04 22:02:51 +0100
commit8dd6431da661390f16c1b425eab0b497c9c2c33a (patch)
tree258df9a0431f1ef8207e821040bf50a1a88125b1 /vcl
parenta2500801cf2d337f176b074f9159df4925420af4 (diff)
Fix base location of the bitmap Wallpaper computation.
The nX / nY is correct for clipping operation, but not for base; visible with WALLPAPER_TOPRIGHT style. Change-Id: I8de92b68b822a156bc376201e97ce458d1a6ba08
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/outdev6.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/outdev6.cxx b/vcl/source/gdi/outdev6.cxx
index 5efd7b636995..46eb689356ff 100644
--- a/vcl/source/gdi/outdev6.cxx
+++ b/vcl/source/gdi/outdev6.cxx
@@ -848,8 +848,8 @@ void OutputDevice::ImplDrawBitmapWallpaper( long nX, long nY,
}
else
{
- aPos = Point( nX, nY );
- aSize = Size( nWidth, nHeight );
+ aPos = Point( 0, 0 );
+ aSize = Size( mnOutWidth, mnOutHeight );
}
mpMetaFile = NULL;