summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-05-03 14:09:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-03 16:33:31 +0200
commit32bf3097805d3d688fad25f661f3f16b62d2a345 (patch)
treeba5815ae07f1f628025ed9ad09a7622bd6534942 /sc
parenta6da211e3c199ff73cbe24d93f8c0292c3c983b6 (diff)
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>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx2
1 files changed, 1 insertions, 1 deletions
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)