summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/view/outlview.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index 3057a9ae3f68..bdf5a6fdcd02 100644
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -1618,10 +1618,8 @@ void OutlineView::TryToMergeUndoActions()
// the top EditUndo of the previous undo list
// first remove the merged undo action
-#if 0 // breaks --enable-dbgutil build
- DBG_ASSERT( pListAction->aUndoActions[nEditPos].pAction == pEditUndo,
+ DBG_ASSERT( pListAction->aUndoActions.GetUndoAction(nEditPos) == pEditUndo,
"sd::OutlineView::TryToMergeUndoActions(), wrong edit pos!" );
-#endif
pListAction->aUndoActions.Remove(nEditPos);
delete pEditUndo;