[Libreoffice-commits] core.git: svtools/source
Julien Nabet
serval2412 at yahoo.fr
Sat Mar 28 16:24:39 PDT 2015
svtools/source/contnr/treelistbox.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 704cf81ebef60a3f9d3f5f78ed24a1fe30c98f92
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Mar 29 00:17:02 2015 +0100
tdf#90292: Crash in pivot table when dragging field into Rows fields
Regression from 6bf3b6d420873e236b2805a42a95ce33e614ad98
Change-Id: I422958e5979abeee1b07a4d0e81328d72d2c61c9
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index a3f0483..9505f84 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 )
{
More information about the Libreoffice-commits
mailing list