[Libreoffice-commits] core.git: sw/source

Luboš Luňák (via logerrit) logerrit at kemper.freedesktop.org
Wed Jun 9 19:37:36 UTC 2021


 sw/source/core/view/viewsh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2aa2d03ec4e775d9399420c21cd1f2e972984154
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Wed Jun 9 15:32:52 2021 +0200
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Wed Jun 9 21:36:28 2021 +0200

    do not draw directly in SwViewShell in LOK mode
    
    Online mode draws tiles as necessary, so there's no need to care
    about flickering, and this drawing is in fact not needed at all
    for Online.
    
    Change-Id: I19d981ad6ab6890ada1f415dc251a3492fd054ec
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116920
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lunak at collabora.com>

diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index a28f3dc2df52..ff59a3b58c01 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -473,7 +473,7 @@ void SwViewShell::ImplUnlockPaint( bool bVirDev )
     CurrShell aCurr( this );
     if ( GetWin() && GetWin()->IsVisible() )
     {
-        if ( (bInSizeNotify || bVirDev ) && VisArea().HasArea() )
+        if ( (bInSizeNotify || bVirDev ) && VisArea().HasArea() && !comphelper::LibreOfficeKit::isActive())
         {
             //Refresh with virtual device to avoid flickering.
             VclPtrInstance<VirtualDevice> pVout( *mpOut );


More information about the Libreoffice-commits mailing list