Kaydet (Commit) 65da08ea authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Call SetOutputSizePixel() in the iOS case, too

Change-Id: I844901f38ec1d93f4183e0678741fecdc7636139
üst 18c0d3c2
...@@ -2098,6 +2098,8 @@ static void doc_paintTile(LibreOfficeKitDocument* pThis, ...@@ -2098,6 +2098,8 @@ static void doc_paintTile(LibreOfficeKitDocument* pThis,
// the Size argument is irrelevant, I hope // the Size argument is irrelevant, I hope
ScopedVclPtrInstance<VirtualDevice> pDevice(&aData, Size(1, 1), DeviceFormat::DEFAULT); ScopedVclPtrInstance<VirtualDevice> pDevice(&aData, Size(1, 1), DeviceFormat::DEFAULT);
pDevice->SetOutputSizePixel(Size(nCanvasWidth, nCanvasHeight));
pDoc->paintTile(*pDevice.get(), nCanvasWidth, nCanvasHeight, pDoc->paintTile(*pDevice.get(), nCanvasWidth, nCanvasHeight,
nTilePosX, nTilePosY, nTileWidth, nTileHeight); nTilePosX, nTilePosY, nTileWidth, nTileHeight);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment