From d8ddd3f1c9faa3338703217967bae5c363df0e45 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 19 Jun 2024 14:38:21 +0200 Subject: [PATCH] Revert "tdf#144208 speedup doc with lots of redline(4)" This reverts commit 5fe53e6b2e951f2f8f834386827bf96610d6acb6. Reason for revert: crashing reveals a SwContentIndexReg::~SwContentIndexReg assert Change-Id: I68554db3e62b7a20f105369eb9b09b7c27dc853d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169135 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/core/doc/docbm.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index 7f7cf8367704..753cdafc0e71 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -2100,8 +2100,6 @@ void DelBookmarks( pREnd->AssignEndIndex( *pCNd ); } } - if( lcl_Lower( *pREnd, rStt, oStartContentIdx ) ) - break; } }