sw/source/core/txtnode/ndtxt.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 013d6da8737ec074f9e398ec27cb91926572b2b4
Author:     Bjoern Michaelsen <bjoern.michael...@libreoffice.org>
AuthorDate: Fri Jan 22 22:08:36 2021 +0100
Commit:     Bjoern Michaelsen <bjoern.michael...@libreoffice.org>
CommitDate: Sun Jan 24 23:36:17 2021 +0100

    Dont double clear caches
    
    - NumRuleChg calls sw::BroadcastMixin::CallSwClientNotify
    - which always calls SwModify::CallSwClientNotify
    - which always clears caches
    
    Change-Id: Iaf00e90bb7db9bd20ec08718043ce5b4025abecc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109153
    Tested-by: Jenkins
    Reviewed-by: Bjoern Michaelsen <bjoern.michael...@libreoffice.org>

diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index 64a7f2a5da85..57b30d59cb45 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -2827,12 +2827,6 @@ void SwTextNode::NumRuleChgd()
         }
     }
 
-    if( IsInCache() )
-    {
-        SwFrame::GetCache().Delete( this );
-        SetInCache( false );
-    }
-
     // Sending "noop" modify in order to cause invalidations of registered
     // <SwTextFrame> instances to get the list style change respectively the 
change
     // in the list tree reflected in the layout.
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to