From b3fd1d5e5670c79e61c3ba19a04aa0cf0d429212 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 19 Feb 2015 18:36:17 +0100 Subject: 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 --- desktop/source/lib/init.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'desktop') 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); -- cgit