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

New commits:
commit bb5643c1318de5b1ee0adcfbe8c4c4115a175ac1
Author:     Luboš Luňák <l.lu...@collabora.com>
AuthorDate: Thu Jul 21 13:27:45 2022 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Jul 26 11:55:51 2022 +0200

    Revert "do not draw directly in SwViewShell in LOK mode"
    
    It is actually needed to process SwViewShellImp's paint region,
    as otherwise testTablePaintInvalidate::TestBody from
    CppunitTest_sw_tiledrendering will end up in an infinite loop
    repeatedly calling SwLayIdle ctor. That's what I tried to handle
    in b9c2207e1b5247b4d3184b137be9a75a4b8c6c37 and got it wrong.
    
    This reverts commit 2aa2d03ec4e775d9399420c21cd1f2e972984154.
    
    Change-Id: I25e897ea4e38db48cd969a3c21d677701f75a0aa
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137293
    Tested-by: Jenkins
    Reviewed-by: Luboš Luňák <l.lu...@collabora.com>
    (cherry picked from commit 94bde29634c095e40bfcf74d27821b48919595da)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137315
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

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

Reply via email to