summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-03-29 00:17:02 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-03-29 00:19:34 +0100
commit704cf81ebef60a3f9d3f5f78ed24a1fe30c98f92 (patch)
tree98356504ead1addf68cccaa20181fbd4f7b47906 /svtools
parent30b214b42385e7ef6024b35c0c18ad1cd6411f00 (diff)
tdf#90292: Crash in pivot table when dragging field into Rows fields
Regression from 6bf3b6d420873e236b2805a42a95ce33e614ad98 Change-Id: I422958e5979abeee1b07a4d0e81328d72d2c61c9
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelistbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index a3f04834e15e..9505f8414bf6 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -1246,6 +1246,7 @@ sal_Int8 SvTreeListBox::ExecuteDrop( const ExecuteDropEvent& rEvt, SvTreeListBox
pDDTarget = this;
SvLBoxDDInfo aDDInfo;
+ memset( &aDDInfo, 0, sizeof(SvLBoxDDInfo) );
TransferableDataHelper aData( rEvt.maDropEvent.Transferable );
if( aData.HasFormat( SotClipboardFormatId::TREELISTBOX ))
@@ -1264,7 +1265,6 @@ sal_Int8 SvTreeListBox::ExecuteDrop( const ExecuteDropEvent& rEvt, SvTreeListBox
SvTreeListEntry* pTarget = pTargetEntry; // may be 0!
- memset( &aDDInfo, 0, sizeof(SvLBoxDDInfo) );
if( DND_ACTION_COPY == rEvt.mnAction )
{