Resolves: fdo#87141 Remove deletes the node, release doesn't

regression from introduction of boost::ptr_vector originally one had to Remove
and delete the return to delete it, while now the Remove automatically delete
it. This bare Remove to just "release" it seems to have been overlooked

Change-Id: I175f7c95862ce47402993e5e3b8feaa93af43e75
This commit is contained in:
Caolán McNamara 2014-12-10 15:58:42 +00:00
parent 165c56d9d7
commit efcbb12a27

View File

@ -183,7 +183,7 @@ void EditUndoDelContent::Redo()
pEE->RemoveParaPortion(nNode);
// Do not delete node, depends on the undo!
pEE->GetEditDoc().Remove( nNode );
pEE->GetEditDoc().Release( nNode );
if (pEE->IsCallParaInsertedOrDeleted())
pEE->ParagraphDeleted( nNode );