summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell/docshell.cxx
diff options
context:
space:
mode:
authorSiqi Liu <me@siqi.fr>2015-04-14 00:55:04 +0200
committerSiqi Liu <me@siqi.fr>2015-04-14 00:55:17 +0200
commitafb82d3729bda2754d0add08cc6c4dce1dc76d59 (patch)
tree9b457709d2e7cabaf927fc12241f9d937bc1d41c /sd/source/ui/docshell/docshell.cxx
parent855b0af13803c810593ed16ad65eed542d023756 (diff)
implement SfxObjectShell subclasses' LOK interface
Change-Id: Iee2fbf71375631a349992a90c67c1c4c34e6ba3b
Diffstat (limited to 'sd/source/ui/docshell/docshell.cxx')
-rw-r--r--sd/source/ui/docshell/docshell.cxx15
1 files changed, 15 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: */