[Libreoffice-commits] core.git: sw/source

Tor Lillqvist tml at collabora.com
Sat Dec 13 01:25:25 PST 2014


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

New commits:
commit 9939fb9777c6a466062c73aaccc253653d5f3f37
Author: Tor Lillqvist <tml at collabora.com>
Date:   Sat Dec 13 11:09:49 2014 +0200

    Fix build for iOS
    
    Change-Id: Ib2c1d439866764a5c3510f0796efe6bc0d8d2a1e

diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 301bcf9..14a4ade 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1837,7 +1837,8 @@ void touch_lo_draw_tile(void *context, int contextWidth, int contextHeight, MLOD
     {
         SystemGraphicsData aData;
         aData.rCGContext = (CGContextRef) context;
-        VirtualDevice aDevice(&aData, (sal_uInt16)0);
+        // the Size argument is irrelevant, I hope
+        VirtualDevice aDevice(&aData, Size(1, 1), (sal_uInt16)0);
         // paint to it
         pViewShell->PaintTile(aDevice, contextWidth, contextHeight, tilePosX, tilePosY, tileWidth, tileHeight);
     }


More information about the Libreoffice-commits mailing list