diff options
author | Siqi Liu <me@siqi.fr> | 2015-04-14 00:55:04 +0200 |
---|---|---|
committer | Siqi Liu <me@siqi.fr> | 2015-04-14 00:55:17 +0200 |
commit | afb82d3729bda2754d0add08cc6c4dce1dc76d59 (patch) | |
tree | 9b457709d2e7cabaf927fc12241f9d937bc1d41c /sd | |
parent | 855b0af13803c810593ed16ad65eed542d023756 (diff) |
implement SfxObjectShell subclasses' LOK interface
Change-Id: Iee2fbf71375631a349992a90c67c1c4c34e6ba3b
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/docshell/docshell.cxx | 15 | ||||
-rw-r--r-- | sd/source/ui/inc/DrawDocShell.hxx | 3 |
2 files changed, 18 insertions, 0 deletions
diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx index b848becc4ffb..f51d93407a23 100644 --- a/sd/source/ui/docshell/docshell.cxx +++ b/sd/source/ui/docshell/docshell.cxx @@ -468,6 +468,21 @@ void DrawDocShell::ClearUndoBuffer() pUndoManager->Clear(); } +void DrawDocShell::libreOfficeKitCallback(int nType, const char* pPayload) const +{ + if (mpDoc) + 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 bd7fec402ab5..5b25bb8d7339 100644 --- a/sd/source/ui/inc/DrawDocShell.hxx +++ b/sd/source/ui/inc/DrawDocShell.hxx @@ -204,6 +204,9 @@ public: void ClearUndoBuffer(); + virtual void libreOfficeKitCallback(int nType, const char* pPayload) const SAL_OVERRIDE; + virtual bool isTiledRendering() const SAL_OVERRIDE; + protected: SdDrawDocument* mpDoc; |