summaryrefslogtreecommitdiff
path: root/sw/source/core/view/viewsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/view/viewsh.cxx')
-rw-r--r--sw/source/core/view/viewsh.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 42ae60123c71..19d0c5261c87 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1533,6 +1533,9 @@ void SwViewShell::PaintDesktop(vcl::RenderContext& rRenderContext, const SwRect
if ( !GetWin() && !GetOut()->GetConnectMetaFile() )
return; //for the printer we don't do anything here.
+ if(comphelper::LibreOfficeKit::isActive())
+ return;
+
//Catch exceptions, so that it doesn't look so surprising.
//Can e.g. happen during Idle.
//Unfortunately we must at any rate Paint the rectangles next to the pages,