summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/view/sdwindow.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx
index 118f1545b186..671b52a3a49b 100644
--- a/sd/source/ui/view/sdwindow.cxx
+++ b/sd/source/ui/view/sdwindow.cxx
@@ -1009,6 +1009,8 @@ void Window::LogicInvalidate(const ::tools::Rectangle* pRectangle)
if (!pDrawViewShell || pDrawViewShell->IsInSwitchPage())
return;
+ if (!comphelper::LibreOfficeKit::isActive())
+ return;
OString sRectangle;
if (!pRectangle)
sRectangle = "EMPTY";