diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 10:52:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 13:44:12 +0200 |
commit | b3c27fe8673519a7932c647f2d727125419e52b1 (patch) | |
tree | dd7b65123099c4aba2d3701def12bb0a05c166be /sc | |
parent | 9b0733f737c19cebcc852393a39b22b19ad22b09 (diff) |
DropTargetHelper::ExecuteDrop return type is sal_Int8/DND_ACTION_*
Change-Id: Id25c19d556a11ae0a767f177ca9f6efb5ab2e478
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/tabcont.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx index 9d5e3af3625a..98156a8f2382 100644 --- a/sc/source/ui/view/tabcont.cxx +++ b/sc/source/ui/view/tabcont.cxx @@ -538,12 +538,12 @@ sal_Int8 ScTabControl::ExecuteDrop( const ExecuteDropEvent& rEvt ) pViewData->GetView()->MoveTable( lcl_DocShellNr(pDoc), nPos, rEvt.mnAction != DND_ACTION_MOVE ); rData.pCellTransfer->SetDragWasInternal(); // don't delete - return sal_True; + return DND_ACTION_COPY; } } } - return 0; + return DND_ACTION_NONE; } sal_Int8 ScTabControl::AcceptDrop( const AcceptDropEvent& rEvt ) |