summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-12-13 11:09:49 +0200
committerTor Lillqvist <tml@collabora.com>2014-12-13 11:09:49 +0200
commit9939fb9777c6a466062c73aaccc253653d5f3f37 (patch)
tree9f1edb48c13028404f7f6418ceba720ffa977051 /sw
parent56cc4c4f4c6e1807ab47965f9e40357b5b6eaf9d (diff)
Fix build for iOS
Change-Id: Ib2c1d439866764a5c3510f0796efe6bc0d8d2a1e
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/view/viewsh.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 301bcf99d795..14a4ade90ca5 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);
}