diff options
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh2.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx index 6fbd3d6203d9..9298ffb95494 100644 --- a/sw/source/uibase/wrtsh/wrtsh2.cxx +++ b/sw/source/uibase/wrtsh/wrtsh2.cxx @@ -324,15 +324,6 @@ void SwWrtShell::UpdateTableOf(const SwTOXBase& rTOX, const SfxItemSet* pSet) if(CanInsert()) { SwEditShell::UpdateTableOf(rTOX, pSet); - - if (pSet == nullptr) - { - SwDoc *const pDoc_ = GetDoc(); - if (pDoc_) - { - pDoc_->GetIDocumentUndoRedo().DelAllUndoObj(); - } - } } } |