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

New commits:
commit 94bde29634c095e40bfcf74d27821b48919595da
Author:     Luboš Luňák <l.lu...@collabora.com>
AuthorDate: Thu Jul 21 13:27:45 2022 +0200
Commit:     Luboš Luňák <l.lu...@collabora.com>
CommitDate: Thu Jul 21 16:45: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>

diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 3358043a2b8d..057b69878e10 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -485,7 +485,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