summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2016-12-08 22:21:52 +0100
committerMaxim Monastirsky <momonasmon@gmail.com>2016-12-09 09:06:27 +0000
commit8776c20c1c72110d0f205150913eb17cdf3f1aaa (patch)
treef7dc9026c6e694521f6a82af4a6ce86202fa0881
parent51c400dc4cd6a88c01b245e41d0de737d4df4017 (diff)
tdf#104495: prevent autotext to crash when drag&drop
See bt https://bugs.documentfoundation.org/attachment.cgi?id=129407 For non regression, I retested tdf#91125 since the delete comes from https://cgit.freedesktop.org/libreoffice/core/commit/?id=06ecf7d2aebe64226142ee27c2512351960f8bb1 Change-Id: I7ce833ffce20f1f159242014ba8ffe0ce5b7b11c Reviewed-on: https://gerrit.libreoffice.org/31773 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
-rw-r--r--svtools/source/contnr/treelistbox.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 0e1c363e3d3f..230b90d931b4 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -1178,7 +1178,6 @@ void SvTreeListBox::StartDrag( sal_Int8, const Point& rPosPixel )
{
nDragDropMode = nOldDragMode;
DragFinished( DND_ACTION_NONE );
- delete pContainer;
return;
}