summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2021-01-22 22:08:36 +0100
committerBjoern Michaelsen <bjoern.michaelsen@libreoffice.org>2021-01-24 23:36:17 +0100
commit013d6da8737ec074f9e398ec27cb91926572b2b4 (patch)
treece9400a2291cc6c6f499221956f405e051a6c9b0
parentf341a9da2eb63ea40ccc5a17d7c9dc557682469f (diff)
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@libreoffice.org>
-rw-r--r--sw/source/core/txtnode/ndtxt.cxx6
1 files changed, 0 insertions, 6 deletions
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.