[Libreoffice-commits] core.git: sw/source
Bjoern Michaelsen (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jan 24 22:36:53 UTC 2021
sw/source/core/txtnode/ndtxt.cxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit 013d6da8737ec074f9e398ec27cb91926572b2b4
Author: Bjoern Michaelsen <bjoern.michaelsen at libreoffice.org>
AuthorDate: Fri Jan 22 22:08:36 2021 +0100
Commit: Bjoern Michaelsen <bjoern.michaelsen at 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.michaelsen at 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.
More information about the Libreoffice-commits
mailing list