tdf#125095 return DND_ACTION_NONE
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 <mike.kaganski@collabora.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx
index 1ca50da..81c421d 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)