[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - svtools/source

Julien Nabet serval2412 at yahoo.fr
Fri Dec 9 12:43:15 UTC 2016


 svtools/source/contnr/treelistbox.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 56261b0bb06e29b71e2cc555086100282e54d62e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Thu Dec 8 22:21:52 2016 +0100

    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 at libreoffice.org>
    Reviewed-by: Maxim Monastirsky <momonasmon at gmail.com>
    (cherry picked from commit 8776c20c1c72110d0f205150913eb17cdf3f1aaa)
    Reviewed-on: https://gerrit.libreoffice.org/31784
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 5052c0a..5239e36 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;
     }
 


More information about the Libreoffice-commits mailing list