diff options
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/docshell/docshell.cxx | 9 | ||||
-rw-r--r-- | sd/source/ui/inc/DrawDocShell.hxx | 1 | ||||
-rw-r--r-- | sw/inc/docsh.hxx | 1 | ||||
-rw-r--r-- | sw/source/uibase/app/docsh.cxx | 6 |
6 files changed, 0 insertions, 23 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 2baa653df709..43f87563231b 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -3188,9 +3188,4 @@ void ScDocShell::libreOfficeKitCallback(int nType, const char* pPayload) const aDocument.GetDrawLayer()->libreOfficeKitCallback(nType, pPayload); } -bool ScDocShell::isTiledRendering() const -{ - return aDocument.GetDrawLayer() && aDocument.GetDrawLayer()->isTiledRendering(); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index a897c92198b9..bf228f79fa46 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -424,7 +424,6 @@ public: void SnapVisArea( Rectangle& rRect ) const; virtual void libreOfficeKitCallback(int nType, const char* pPayload) const override; - bool isTiledRendering() const; }; void UpdateAcceptChangesDialog(); diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx index c30436e85394..f47b0a7ef895 100644 --- a/sd/source/ui/docshell/docshell.cxx +++ b/sd/source/ui/docshell/docshell.cxx @@ -470,15 +470,6 @@ void DrawDocShell::libreOfficeKitCallback(int nType, const char* pPayload) const mpDoc->libreOfficeKitCallback(nType, pPayload); } -bool DrawDocShell::isTiledRendering() const -{ - if (!mpDoc) - return false; - return mpDoc->isTiledRendering(); -} - - - } // end of namespace sd /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/inc/DrawDocShell.hxx b/sd/source/ui/inc/DrawDocShell.hxx index 04a6564cbe41..b43f84b9f877 100644 --- a/sd/source/ui/inc/DrawDocShell.hxx +++ b/sd/source/ui/inc/DrawDocShell.hxx @@ -204,7 +204,6 @@ public: void ClearUndoBuffer(); virtual void libreOfficeKitCallback(int nType, const char* pPayload) const override; - bool isTiledRendering() const; protected: diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index f7e7ec28a028..84774c17d327 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -310,7 +310,6 @@ public: virtual bool GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPasswordHash ) override; virtual void libreOfficeKitCallback(int nType, const char* pPayload) const override; - bool isTiledRendering() const; }; /** Find the right DocShell and create a new one: diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx index 72533e5f6f1b..48f8b0500c85 100644 --- a/sw/source/uibase/app/docsh.cxx +++ b/sw/source/uibase/app/docsh.cxx @@ -1346,10 +1346,4 @@ void SwDocShell::libreOfficeKitCallback(int nType, const char* pPayload) const pDrawModel->libreOfficeKitCallback(nType, pPayload); } -bool SwDocShell::isTiledRendering() const -{ - SwDrawModel* pDrawModel = m_pDoc->getIDocumentDrawModelAccess().GetDrawModel(); - return pDrawModel->isTiledRendering(); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |