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-03-04 16:20:05 +0100
commitdfd14eb2803b353f653d5817d9239da691598217 (patch)
tree5fad6690fc3831565ee524e854f5e2c95e9dec61 /vcl
parent8d98580ec89a014721b64a952cc1c68def76f581 (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 cb82500a2cc4..ae82a0c724c2 100644
--- a/vcl/source/gdi/outdev6.cxx
+++ b/vcl/source/gdi/outdev6.cxx
@@ -859,8 +859,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;