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 | |
parent | 9b0733f737c19cebcc852393a39b22b19ad22b09 (diff) |
DropTargetHelper::ExecuteDrop return type is sal_Int8/DND_ACTION_*
Change-Id: Id25c19d556a11ae0a767f177ca9f6efb5ab2e478
-rw-r--r-- | sc/source/ui/view/tabcont.cxx | 4 | ||||
-rw-r--r-- | svx/source/fmcomp/fmgridcl.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/filtnav.cxx | 2 |
3 files changed, 4 insertions, 4 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 ) diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index cb489b02451d..25b64d0cbb4f 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -362,7 +362,7 @@ sal_Int8 FmGridHeader::ExecuteDrop( const ExecuteDropEvent& _rEvt ) { OSL_FAIL("FmGridHeader::ExecuteDrop: caught an exception while creatin' the column !"); ::comphelper::disposeComponent(xStatement); - return sal_False; + return DND_ACTION_NONE; } return DND_ACTION_LINK; diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index 2a39c1e54fba..541781868e27 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -1395,7 +1395,7 @@ sal_Int8 FmFilterNavigator::ExecuteDrop( const ExecuteDropEvent& rEvt ) insertFilterItem(m_aControlExchange->getDraggedEntries(),pTargetItems,DND_ACTION_COPY == rEvt.mnAction); - return sal_True; + return DND_ACTION_COPY; } |