summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-12-16 09:13:58 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-12-16 09:14:31 +0100
commitd0cf72f253a3cb8335601ebf2c5b1b99ab63e6b1 (patch)
treee084a43ce465876d89b12c9f265c04d42e3fa615 /sfx2
parentec8bc265050d86a749140c353360a78cce4e3fce (diff)
sfx2: clean up no longer needed SfxObjectShell::isTiledRendering()
Change-Id: Ia4fb0b489509364c641f8e1e695353bbdb036b59
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/unoctitm.cxx3
-rw-r--r--sfx2/source/doc/objcont.cxx6
2 files changed, 2 insertions, 7 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index efb70268b4d1..00c76e2c7dc7 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -72,6 +72,7 @@
#include <sal/log.hxx>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
+#include <comphelper/lok.hxx>
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -1056,7 +1057,7 @@ void SfxDispatchController_Impl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
void SfxDispatchController_Impl::InterceptLOKStateChangeEvent(const SfxObjectShell* objSh, const css::frame::FeatureStateEvent& aEvent)
{
- if (!objSh || !objSh->isTiledRendering())
+ if (!comphelper::LibreOfficeKit::isActive())
return;
OUStringBuffer aBuffer;
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index 135a4d28d6f3..30971be768a3 100644
--- a/sfx2/source/doc/objcont.cxx
+++ b/sfx2/source/doc/objcont.cxx
@@ -663,10 +663,4 @@ void SfxObjectShell::libreOfficeKitCallback(int /*nType*/, const char* /*pPayloa
SAL_INFO("sfx.tiledrendering", "SfxObjectShell::libreOfficeKitCallback interface not overridden for SfxObjectShell subclass typeId: " << typeid(*this).name());
}
-bool SfxObjectShell::isTiledRendering() const
-{
- SAL_INFO("sfx.tiledrendering", "SfxObjectShell::isTiledRendering interface not overridden for SfxObjectShell subclass typeId: " << typeid(*this).name());
- return false;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */