Kaydet (Commit) 88b9fe9a authored tarafından Miklos Vajna's avatar Miklos Vajna

sd: use GetUndoAction()

Change-Id: I4129fdedcf99b711447aa3dd9fab3dec1bb5ad59
üst 081f813a
...@@ -1618,10 +1618,8 @@ void OutlineView::TryToMergeUndoActions() ...@@ -1618,10 +1618,8 @@ void OutlineView::TryToMergeUndoActions()
// the top EditUndo of the previous undo list // the top EditUndo of the previous undo list
// first remove the merged undo action // first remove the merged undo action
#if 0 // breaks --enable-dbgutil build DBG_ASSERT( pListAction->aUndoActions.GetUndoAction(nEditPos) == pEditUndo,
DBG_ASSERT( pListAction->aUndoActions[nEditPos].pAction == pEditUndo,
"sd::OutlineView::TryToMergeUndoActions(), wrong edit pos!" ); "sd::OutlineView::TryToMergeUndoActions(), wrong edit pos!" );
#endif
pListAction->aUndoActions.Remove(nEditPos); pListAction->aUndoActions.Remove(nEditPos);
delete pEditUndo; delete pEditUndo;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment