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 /sc/source | |
parent | 855b0af13803c810593ed16ad65eed542d023756 (diff) |
implement SfxObjectShell subclasses' LOK interface
Change-Id: Iee2fbf71375631a349992a90c67c1c4c34e6ba3b
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 10 | ||||
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 1261dab65c72..79ce486e6e6c 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -3181,4 +3181,14 @@ bool ScDocShell::GetProtectionHash( /*out*/ ::com::sun::star::uno::Sequence< sal return bRes; } +void ScDocShell::libreOfficeKitCallback(int nType, const char* pPayload) const +{ + aDocument.GetDrawLayer()->libreOfficeKitCallback(nType, pPayload); +} + +bool ScDocShell::isTiledRendering() const +{ + return 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 340508c1601c..5cd1d00d04fc 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -430,6 +430,9 @@ public: virtual bool GetProtectionHash( /*out*/ ::com::sun::star::uno::Sequence< sal_Int8 > &rPasswordHash ) SAL_OVERRIDE; void SnapVisArea( Rectangle& rRect ) const; + + virtual void libreOfficeKitCallback(int nType, const char* pPayload) const SAL_OVERRIDE; + virtual bool isTiledRendering() const SAL_OVERRIDE; }; void UpdateAcceptChangesDialog(); |