/[packages]/updates/5/libreoffice/current/SOURCES/0001-Related-rhbz-1405521-abrt-reported-crash-in-dnd.patch
ViewVC logotype

Contents of /updates/5/libreoffice/current/SOURCES/0001-Related-rhbz-1405521-abrt-reported-crash-in-dnd.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1142874 - (show annotations) (download)
Tue Aug 22 07:52:48 2017 UTC (6 years, 7 months ago) by neoclust
File size: 1246 byte(s)
New version 5.2.4
1 From 27cccb99053056de7fb8bc2212e68eae99a81e80 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
3 Date: Mon, 19 Dec 2016 11:15:06 +0000
4 Subject: [PATCH] Related: rhbz#1405521 abrt reported crash in dnd
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Change-Id: I8d8f9379d36dd3dd1a8973cd9f9c14860765630b
10 Reviewed-on: https://gerrit.libreoffice.org/32177
11 Reviewed-by: Caolán McNamara <caolanm@redhat.com>
12 Tested-by: Caolán McNamara <caolanm@redhat.com>
13 ---
14 vcl/source/control/edit.cxx | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
18 index 6b6f002..5966c0d 100644
19 --- a/vcl/source/control/edit.cxx
20 +++ b/vcl/source/control/edit.cxx
21 @@ -2903,7 +2903,7 @@ void Edit::dragDropEnd( const css::datatransfer::dnd::DragSourceDropEvent& rDSDE
22 {
23 SolarMutexGuard aVclGuard;
24
25 - if ( rDSDE.DropSuccess && ( rDSDE.DropAction & datatransfer::dnd::DNDConstants::ACTION_MOVE ) )
26 + if (rDSDE.DropSuccess && (rDSDE.DropAction & datatransfer::dnd::DNDConstants::ACTION_MOVE) && mpDDInfo)
27 {
28 Selection aSel( mpDDInfo->aDndStartSel );
29 if ( mpDDInfo->bDroppedInMe )
30 --
31 2.9.3
32

  ViewVC Help
Powered by ViewVC 1.1.30