summaryrefslogtreecommitdiff
path: root/sfx2/source/doc
diff options
context:
space:
mode:
authorSiqi Liu <me@siqi.fr>2015-04-13 16:23:32 +0200
committerSiqi Liu <me@siqi.fr>2015-04-13 16:23:32 +0200
commit0632f77ee8059f2d65ad72bf148da88901732dc2 (patch)
tree8717d2ebfc7af6b91499ec2c94792661122317bc /sfx2/source/doc
parentcc54da22377feef44e1aa48a92d9b4c86eda7577 (diff)
LOK_STATE_CHANGED callback implemented with sfx events interception.
Diffstat (limited to 'sfx2/source/doc')
-rw-r--r--sfx2/source/doc/objcont.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index 95fd6b83e1dc..40d1e195e0a5 100644
--- a/sfx2/source/doc/objcont.cxx
+++ b/sfx2/source/doc/objcont.cxx
@@ -76,6 +76,10 @@
#include "querytemplate.hxx"
#include <boost/scoped_array.hpp>
+#include <LibreOfficeKit/LibreOfficeKitTypes.h>
+
+#include <typeinfo>
+
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -639,4 +643,12 @@ bool SfxObjectShell::IsModifyPasswordEntered()
return pImp->m_bModifyPasswordEntered;
}
+void SfxObjectShell::libreOfficeKitCallback(SAL_UNUSED_PARAMETER int nType, SAL_UNUSED_PARAMETER const char* pPayload) const {
+ SAL_WARN("tiled-rendering", "LOK callback interface not overridden for SfxObjectShell subclass typeId: " << typeid(*this).name());
+}
+bool SfxObjectShell::isTiledRendering() const {
+ SAL_WARN("tiled-rendering", "LOK callback interface not overridden for SfxObjectShell subclass typeId: " << typeid(*this).name());
+ return false;
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */