[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - vcl/source
Caolán McNamara
caolanm at redhat.com
Mon Dec 19 12:03:13 UTC 2016
vcl/source/control/edit.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e38415d1c76461123106bb07708665da23cf5249
Author: Caolán McNamara <caolanm at 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/32177
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 1542d5b..fe7f6f9 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -2848,7 +2848,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 )
More information about the Libreoffice-commits
mailing list