sw/source/core/view/viewsh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e43d5d17b5e31a6ab5de12c95fd4238ca959c2a9
Author: Tor Lillqvist <t...@collabora.com>
Date:   Fri Nov 1 14:23:45 2013 +0200

    Pass tilePosX/Y also to PaintTile()
    
    Change-Id: I85360889bf723fa8b603dfbe7a6f99d99c70c72f

diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 8280222..67d7974 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1814,7 +1814,7 @@ void touch_lo_draw_tile(void *context, int contextWidth, 
int contextHeight, MLOD
         // resizes the virtual device so to contain the entrie context
         aDevice.SetOutputSizePixel(Size(contextWidth, contextHeight));
         // draw - works in logic coordinates
-        pViewShell->PaintTile(&aDevice, Rectangle(Point(0, 0), Size(tileWidth, 
tileHeight)));
+        pViewShell->PaintTile(&aDevice, Rectangle(Point(tilePosX, tilePosY), 
Size(tileWidth, tileHeight)));
         // copy the aDevice content to mpImage
         Bitmap aBitmap(aDevice.GetBitmap(aDevice.PixelToLogic(Point(0,0)), 
aDevice.PixelToLogic(Size(contextWidth, contextHeight))));
         BitmapReadAccess * readAccess = aBitmap.AcquireReadAccess();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to