sw/source/core/view/viewsh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5719e0eb87fd8cfc072b7d5ea02b2c3cb9d3dbf7 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 15:09:49 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/+/152120 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 0d8ed870085d..48b1410262b6 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -1208,7 +1208,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