diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-07 13:17:24 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-07 13:18:03 +0100 |
commit | 88b9fe9a4afb5212d4378c5678b39b760000a0aa (patch) | |
tree | 78ec32f5d4c1015346bd238953914a54cd0a36c3 | |
parent | 081f813a88aac06c58b5cef39f0c131dfce56c01 (diff) |
sd: use GetUndoAction()
Change-Id: I4129fdedcf99b711447aa3dd9fab3dec1bb5ad59
-rw-r--r-- | sd/source/ui/view/outlview.cxx | 4 |
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; |