diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-10 15:58:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-10 16:01:42 +0000 |
commit | efcbb12a27a380a442292f17c7f508555a66d4af (patch) | |
tree | c167e8ece778581303955ea9bab21b3f2a5395e0 /editeng | |
parent | 165c56d9d75268114aea4898bc06dbb09615b5f2 (diff) |
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
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/editeng/editundo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/editundo.cxx b/editeng/source/editeng/editundo.cxx index 97ab743a0b52..674fc96e10ba 100644 --- a/editeng/source/editeng/editundo.cxx +++ b/editeng/source/editeng/editundo.cxx @@ -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 ); |