| commit | cd3c16fbcb4f8e5e4c4448bc7cda96e8476d6aec | [log] |
|---|---|---|
| author | Noel Grandin <noel.grandin@collabora.co.uk> | Fri Oct 14 15:14:13 2022 +0200 |
| committer | Noel Grandin <noel.grandin@collabora.co.uk> | Fri Oct 14 18:48:30 2022 +0200 |
| tree | 76c5604906fbb2ac1db4abcf70f191a6a7342630 | |
| parent | 3565c3c94c6bdad5ab0913d979fd4e97547488e6 [diff] |
tdf#129101 CTRL+A & Cut very slow avoid repeated invalidation of number tree, shaves 90% time off Change-Id: I051f6a3fefc0b22c33c03cec41a3327fc3460f84 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141373 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx index 23f9109..7dc2953 100644 --- a/sw/source/core/doc/number.cxx +++ b/sw/source/core/doc/number.cxx
@@ -957,6 +957,9 @@ SvxNumRule SwNumRule::MakeSvxNumRule() const void SwNumRule::SetInvalidRule(bool bFlag) { if (mbInvalidRuleFlag == bFlag) return; if (bFlag) { o3tl::sorted_vector< SwList* > aLists;