sw/source/core/view/viewsh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 56298afb797b7406d1d3b4d6cf6fdb23e4284679 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Mon May 22 15:36:45 2023 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue May 23 17:24:29 2023 +0200 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.me...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> 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