vcl/source/control/edit.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a6eecb4ee85148d8a6a1697d794f9f8acc3d1562 Author: Caolán McNamara <caol...@redhat.com> Date: Mon Dec 19 11:15:06 2016 +0000 Related: rhbz#1405521 abrt reported crash in dnd Change-Id: I8d8f9379d36dd3dd1a8973cd9f9c14860765630b Reviewed-on: https://gerrit.libreoffice.org/32178 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index 6b6f002..5966c0d 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -2903,7 +2903,7 @@ void Edit::dragDropEnd( const css::datatransfer::dnd::DragSourceDropEvent& rDSDE { SolarMutexGuard aVclGuard; - if ( rDSDE.DropSuccess && ( rDSDE.DropAction & datatransfer::dnd::DNDConstants::ACTION_MOVE ) ) + if (rDSDE.DropSuccess && (rDSDE.DropAction & datatransfer::dnd::DNDConstants::ACTION_MOVE) && mpDDInfo) { Selection aSel( mpDDInfo->aDndStartSel ); if ( mpDDInfo->bDroppedInMe )
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits