diff options
author | Niklas Nebel <nn@openoffice.org> | 2001-03-30 18:14:44 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2001-03-30 18:14:44 +0000 |
commit | aa148feb5df72cb3f1bb7f4527b775cfa2b60108 (patch) | |
tree | addaa6c0e815890e5876e5ff2978fae0f8d63f49 /sc/source/ui/view/select.cxx | |
parent | 299f294dfb66bff5219f172161d3b05a832b3ab6 (diff) |
#84195# more drag&drop changes
Diffstat (limited to 'sc/source/ui/view/select.cxx')
-rw-r--r-- | sc/source/ui/view/select.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/view/select.cxx b/sc/source/ui/view/select.cxx index cc65f8d32b90..1a93ff6ebf76 100644 --- a/sc/source/ui/view/select.cxx +++ b/sc/source/ui/view/select.cxx @@ -2,9 +2,9 @@ * * $RCSfile: select.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2001-03-23 19:24:39 $ + * last change: $Author: nn $ $Date: 2001-03-30 19:14:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -167,6 +167,8 @@ void __EXPORT ScViewFunctionSet::BeginDrag() USHORT nHandleY = (nPosY >= (short) nStartY) ? nPosY - nStartY : 0; pTransferObj->SetDragHandlePos( nHandleX, nHandleY ); + pTransferObj->SetDragSource( pDocSh, rMark ); + Window* pWindow = pViewData->GetActiveWin(); SC_MOD()->SetDragObject( pTransferObj, NULL ); // for internal D&D pTransferObj->StartDrag( pWindow, DND_ACTION_COPYMOVE | DND_ACTION_LINK ); |