diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-19 12:12:34 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-02-23 10:10:27 +0100 |
commit | 2af65ff30e8cef6be21fee1ef20f6b1db4451ccf (patch) | |
tree | e06e6c5c3ffe1781a616752593ba74bb8fd817c1 /desktop | |
parent | 98115a182d5c69cdbbefdf89b5584490c92faa19 (diff) |
Add OutputDevice::isTiledRendering()
This is similar to SwViewShell::isTiledRendering, but while SwViewShell
describes a state of the application, this one describes a state of the
output device. The output device may be created by LOK client code,
while the view shell may not be accessible from lower layers of the
stack, so we need both.
Change-Id: I82f7755eb73603bd79283272fba4970dccae8784
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index a144b51969bf..b35a82eede5f 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -607,6 +607,7 @@ 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); |