summaryrefslogtreecommitdiff
path: root/sw/source/uibase/index/toxmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/index/toxmgr.cxx')
-rw-r--r--sw/source/uibase/index/toxmgr.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/uibase/index/toxmgr.cxx b/sw/source/uibase/index/toxmgr.cxx
index afae269713fb..d2ed262f00b2 100644
--- a/sw/source/uibase/index/toxmgr.cxx
+++ b/sw/source/uibase/index/toxmgr.cxx
@@ -436,7 +436,6 @@ bool SwTOXMgr::UpdateOrInsertTOX(const SwTOXDescription& rDesc,
if (pDoc->GetIDocumentUndoRedo().DoesUndo())
{
- pDoc->GetIDocumentUndoRedo().DelAllUndoObj();
pDoc->GetIDocumentUndoRedo().StartUndo(SwUndoId::TOXCHANGE, nullptr);
}