summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
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);
}