diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-11-24 21:14:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-11-25 10:34:53 +0100 |
commit | 8c66455df8f6a26c314290f252bedbc19db6b327 (patch) | |
tree | cdba574b1a515258fb193a11e9cbd5377b2907a9 /fpicker | |
parent | 3134d9c0ff6ff86a797d6b7faa49d71367177d66 (diff) |
Related: tdf#145842 fix a crash after deleting an entry
delete an entry in remote files dialog and go one level up and crash,
ownership of the SvtContentEntry is not with the entry, but belongs
to mpImpl->maEntries
Change-Id: I4a052ada1fd4f5e8142ac4396877b15ac49149b2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125792
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/fileview.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fpicker/source/office/fileview.cxx b/fpicker/source/office/fileview.cxx index a9e5f69329e5..411f20d3d5b5 100644 --- a/fpicker/source/office/fileview.cxx +++ b/fpicker/source/office/fileview.cxx @@ -648,7 +648,6 @@ void ViewTabListBox_Impl::DeleteEntries() { if ( Kill( aURL ) ) { - delete reinterpret_cast<SvtContentEntry*>(mxTreeView->get_id(rCurEntry).toInt64()); mpParent->EntryRemoved( aURL ); bDeleted = true; } |