diff options
-rw-r--r-- | svx/source/form/tabwin.cxx | 16 | ||||
-rw-r--r-- | svx/source/inc/tabwin.hxx | 11 |
2 files changed, 18 insertions, 9 deletions
diff --git a/svx/source/form/tabwin.cxx b/svx/source/form/tabwin.cxx index d2c004d6dc47..65ebd8581cfd 100644 --- a/svx/source/form/tabwin.cxx +++ b/svx/source/form/tabwin.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tabwin.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: fs $ $Date: 2001-03-29 10:23:55 $ + * last change: $Author: fs $ $Date: 2001-05-08 16:25:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -204,6 +204,18 @@ FmFieldWinListBox::~FmFieldWinListBox() } //------------------------------------------------------------------------------ +sal_Int8 FmFieldWinListBox::AcceptDrop( const AcceptDropEvent& rEvt ) +{ + return DND_ACTION_NONE; +} + +//------------------------------------------------------------------------------ +sal_Int8 FmFieldWinListBox::ExecuteDrop( const ExecuteDropEvent& rEvt ) +{ + return DND_ACTION_NONE; +} + +//------------------------------------------------------------------------------ void FmFieldWinListBox::StartDrag( sal_Int8 _nAction, const Point& _rPosPixel ) { SvLBoxEntry* pSelected = FirstSelected(); diff --git a/svx/source/inc/tabwin.hxx b/svx/source/inc/tabwin.hxx index c13bf708234e..519f528afadd 100644 --- a/svx/source/inc/tabwin.hxx +++ b/svx/source/inc/tabwin.hxx @@ -2,9 +2,9 @@ * * $RCSfile: tabwin.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: fs $ $Date: 2001-03-29 10:23:48 $ + * last change: $Author: fs $ $Date: 2001-05-08 16:25:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -110,11 +110,8 @@ public: FmFieldWinListBox( FmFieldWin* pParent ); virtual ~FmFieldWinListBox(); - virtual sal_Bool QueryDrop( DropEvent& rDEvt ) - { - return (!nDragDropMode) ? sal_False : SvTreeListBox::QueryDrop(rDEvt); - } - // this prevents an assertion the base class makes (unjustified ?) to fail - 67071 - fs - 21.06.99 + sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ); + sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ); protected: // DragSourceHelper |