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

New commits:
commit fead68bbf107ca9f2632bdaf1d8407921a0320f2
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
    Reviewed-on: https://gerrit.libreoffice.org/16420
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/vcl/source/outdev/wallpaper.cxx b/vcl/source/outdev/wallpaper.cxx
index 367ecea..1b9fd21 100644
--- a/vcl/source/outdev/wallpaper.cxx
+++ b/vcl/source/outdev/wallpaper.cxx
@@ -175,7 +175,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