diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-05 07:50:50 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-05 07:51:26 +0100 |
commit | 7e9b2294930da159989659c21ce4c4e5f5d0a016 (patch) | |
tree | 03cab0fdcfd1af7830b3c5c2ae495521d3472b41 | |
parent | 534b2a4b58ba765dbc256d6297e33453524915e2 (diff) |
sw: remove no longer used SwViewShell::setTiledRendering()
It only set a flag that was used by the already removed
isTiledRendering() equivalent.
Change-Id: Idc908c4b6bc432e4478fb1db6a8883faf2f864fd
-rw-r--r-- | sw/inc/viewsh.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 8 | ||||
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 1 |
3 files changed, 0 insertions, 11 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index afdd0608cd4f..141c5c4b34f0 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -572,8 +572,6 @@ public: void registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallback, void* pLibreOfficeKitData); /// Invokes the registered callback, if there are any. void libreOfficeKitCallback(int nType, const char* pPayload) const; - /// Set if we are doing tiled rendering. - void setTiledRendering(bool bTiledRendering); void setOutputToWindow(bool bOutputToWindow); bool isOutputToWindow() const; diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index a543016dc63b..6483c0217596 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -130,11 +130,6 @@ void SwViewShell::libreOfficeKitCallback(int nType, const char* pPayload) const getIDocumentDrawModelAccess().GetDrawModel()->libreOfficeKitCallback(nType, pPayload); } -void SwViewShell::setTiledRendering(bool bTiledRendering) -{ - getIDocumentDrawModelAccess().GetDrawModel()->setTiledRendering(bTiledRendering); -} - void SwViewShell::setOutputToWindow(bool bOutputToWindow) { mbOutputToWindow = bOutputToWindow; @@ -1856,8 +1851,6 @@ void SwViewShell::PaintTile(VirtualDevice &rDevice, int contextWidth, int contex // TODO clean up SwViewShell's approach to output devices (the many of // them - mpBufferedOut, mpOut, mpWin, ...) OutputDevice *pSaveOut = mpOut; - bool bTiledRendering = comphelper::LibreOfficeKit::isActive(); - setTiledRendering(true); mbInLibreOfficeKitCallback = true; mpOut = &rDevice; @@ -1912,7 +1905,6 @@ void SwViewShell::PaintTile(VirtualDevice &rDevice, int contextWidth, int contex // SwViewShell's output device tear down mpOut = pSaveOut; mbInLibreOfficeKitCallback = false; - setTiledRendering(bTiledRendering); } void SwViewShell::SetBrowseBorder( const Size& rNew ) diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 55b9b2165fdf..a6e4719fd477 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3236,7 +3236,6 @@ void SwXTextDocument::initializeForTiledRendering(const css::uno::Sequence<css:: // we already don't center the pages. SwDoc* pDoc = pDocShell->GetDoc(); SwViewShell* pViewShell = pDoc->getIDocumentLayoutAccess().GetCurrentViewShell(); - pViewShell->setTiledRendering(true); bool bBookMode = false; sal_Int16 nColumns = 1; |