[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - vcl/source

Jan Holesovsky kendy at collabora.com
Tue Jun 23 07:30:02 PDT 2015


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

New commits:
commit fead68bbf107ca9f2632bdaf1d8407921a0320f2
Author: Jan Holesovsky <kendy at 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 <ci at libreoffice.org>
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at 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;


More information about the Libreoffice-commits mailing list