From 32bf3097805d3d688fad25f661f3f16b62d2a345 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 3 May 2019 14:09:15 +0100 Subject: tdf#125095 return DND_ACTION_NONE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit we've already responded to the drop and drop action, we don't want any further action to take place. Change-Id: Ib1f271d8c74e49d4d00a0b143711b3f30b093b0b Reviewed-on: https://gerrit.libreoffice.org/71744 Reviewed-by: Mike Kaganski Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx index 1ca50da20e00..81c421db32bf 100644 --- a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx +++ b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx @@ -60,7 +60,7 @@ sal_Int8 ScPivotLayoutTreeDropTarget::ExecuteDrop( const ExecuteDropEvent& rEvt if (rWidget.get_dest_row_at_pos(rEvt.maPosPixel, xTarget.get())) nTargetPos = rWidget.get_iter_index_in_parent(*xTarget); m_rTreeView.InsertEntryForSourceTarget(*pSource, nTargetPos); - return DND_ACTION_MOVE; + return DND_ACTION_NONE; } bool ScPivotLayoutTreeListBase::HasEntry(const weld::TreeIter& rEntry) -- cgit