vcl/source/outdev/wallpaper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 287880b272f9e9e3ed50317bc08152623da4c126
Author: Jan Holesovsky <ke...@collabora.com>
Date:   Tue Jun 23 09:25:11 2015 +0200

    rendencontext: Wallpaper needs to fit the provided dimensions, not the 
outdev.
    
    Otherwise we are painting according to the rendercontext size in the
    double-buffered case.
    
    This fixes the rendering of the image in the startcenter.
    
    Change-Id: I2630137c5d176d818bc1a68a970a9e5256ace97c

diff --git a/vcl/source/outdev/wallpaper.cxx b/vcl/source/outdev/wallpaper.cxx
index b889e63..adf935a 100644
--- a/vcl/source/outdev/wallpaper.cxx
+++ b/vcl/source/outdev/wallpaper.cxx
@@ -177,7 +177,7 @@ void OutputDevice::DrawBitmapWallpaper( long nX, long nY,
     else
     {
         aPos = Point( 0, 0 );
-        aSize = Size( mnOutWidth, mnOutHeight );
+        aSize = Size( nWidth, nHeight );
     }
 
     mpMetaFile = NULL;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to