diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/undo/undel.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/undo/undel.cxx b/sw/source/core/undo/undel.cxx index 44669e503079..14ec9dc7868c 100644 --- a/sw/source/core/undo/undel.cxx +++ b/sw/source/core/undo/undel.cxx @@ -153,7 +153,11 @@ SwUndoDelete::SwUndoDelete( _DelBookmarks(pStt->nNode, pEnd->nNode); } else + { DelCntntIndex( *rPam.GetMark(), *rPam.GetPoint() ); + ::sw::UndoGuard const undoGuard(pDoc->GetIDocumentUndoRedo()); + _DelBookmarks(pStt->nNode, pEnd->nNode, nullptr, &pStt->nContent, &pEnd->nContent); + } nSetPos = pHistory ? pHistory->Count() : 0; |