Kaydet (Commit) 8dd6431d authored tarafından Jan Holesovsky's avatar Jan Holesovsky

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
üst a2500801
...@@ -848,8 +848,8 @@ void OutputDevice::ImplDrawBitmapWallpaper( long nX, long nY, ...@@ -848,8 +848,8 @@ void OutputDevice::ImplDrawBitmapWallpaper( long nX, long nY,
} }
else else
{ {
aPos = Point( nX, nY ); aPos = Point( 0, 0 );
aSize = Size( nWidth, nHeight ); aSize = Size( mnOutWidth, mnOutHeight );
} }
mpMetaFile = NULL; mpMetaFile = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment