[Libreoffice-commits] core.git: sc/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri May 3 14:34:50 UTC 2019


 sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 32bf3097805d3d688fad25f661f3f16b62d2a345
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri May 3 14:09:15 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri May 3 16:33:31 2019 +0200

    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 at collabora.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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)


More information about the Libreoffice-commits mailing list