summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-05-22 15:36:45 +0100
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-05-23 17:24:29 +0200
commit56298afb797b7406d1d3b4d6cf6fdb23e4284679 (patch)
tree2bd2ea97c7ee3a38fdea688702f8f201f63527b8
parent28d0c3bd569aa59280910570187d3f145e26712e (diff)
in online do less whole document invalidation
https://github.com/CollaboraOnline/online/issues/6379 lets at least halve the num of invalidations on joining a session. Change-Id: I8ceb0a9ee23d632c9fb2c4a96250cc259b4a2f29 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152103 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
-rw-r--r--sw/source/core/view/viewsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 53457942749f..13ffa8720488 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1280,7 +1280,7 @@ void SwViewShell::VisPortChgd( const SwRect &rRect)
return;
maVisArea.Pos() = rRect.Pos();
}
- else
+ else if (!comphelper::LibreOfficeKit::isActive())
GetWin()->Invalidate( aRect );
}
else if ( !mnLockPaint ) //will be released in Unlock