summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/view/SlideSorterView.cxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
index 19750734056e..31df3f5ae004 100644
--- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx
+++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
@@ -41,6 +41,7 @@
#include <sdpage.hxx>
#include <Window.hxx>
+#include <comphelper/lok.hxx>
#include <vcl/svapp.hxx>
#include <vcl/scrbar.hxx>
#include <vcl/settings.hxx>
@@ -570,14 +571,18 @@ void SlideSorterView::CompleteRedraw (
sdr::contact::ViewObjectContactRedirector* pRedirector)
{
(void)pRedirector;
+
+ if (comphelper::LibreOfficeKit::isActive())
+ return;
+
+ if (pDevice == nullptr || pDevice!=mrSlideSorter.GetContentWindow())
+ return;
+
#ifdef DEBUG_TIMING
const double nStartTime (gaTimer.getElapsedTime());
SAL_INFO("sd.timing", "SlideSorterView::CompleteRedraw start" << (mnLockRedrawSmph ? " locked" : ""));
#endif
- if (pDevice == nullptr || pDevice!=mrSlideSorter.GetContentWindow())
- return;
-
// The parent implementation of CompleteRedraw is called only when
// painting is locked. We do all the painting ourself. When painting
// is locked the parent implementation keeps track of the repaint