summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-02-19 18:36:17 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-02-23 10:10:28 +0100
commitb3fd1d5e5670c79e61c3ba19a04aa0cf0d429212 (patch)
tree417e078392fd7236dfc8b09193598f793c7ca1f1 /desktop
parent40e3569a08d89fc6cf91cfc3a88d1049f25533c9 (diff)
Use SdrModel::isTiledRendering()
It turns out that in case the is-tiled-rendering flag is part of the sdr model, then that's enough for all the places where so far used a flag on the output device for this purpose, so change the two users of that method to use SdrModel::isTiledRendering(), and clean up the now unused one. Change-Id: Ife6d3d7e093c04b707497d9588942b38bcd8742d
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index b35a82eede5f..a144b51969bf 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -607,7 +607,6 @@ void doc_paintTile (LibreOfficeKitDocument* pThis,
aDevice.SetOutputSizePixelScaleOffsetAndBuffer(
Size(nCanvasWidth, nCanvasHeight), Fraction(1.0), Point(),
aBuffer, true );
- aDevice.setTiledRendering(true);
pDoc->paintTile(aDevice, nCanvasWidth, nCanvasHeight,
nTilePosX, nTilePosY, nTileWidth, nTileHeight);