summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/dnd/targetdragcontext.cxx
diff options
context:
space:
mode:
authorJoachim Lingner <jl@openoffice.org>2001-02-12 11:35:19 +0000
committerJoachim Lingner <jl@openoffice.org>2001-02-12 11:35:19 +0000
commit0274b32abb28964470b7e6ae7bc23823821aecf9 (patch)
tree646df686c3cb05479bcbf9861171e926dfe3cf58 /dtrans/source/win32/dnd/targetdragcontext.cxx
parentd59c7ff8cc32ae0779fca6d85d39ba6d6c0516cd (diff)
*** empty log message ***
Diffstat (limited to 'dtrans/source/win32/dnd/targetdragcontext.cxx')
-rw-r--r--dtrans/source/win32/dnd/targetdragcontext.cxx23
1 files changed, 5 insertions, 18 deletions
diff --git a/dtrans/source/win32/dnd/targetdragcontext.cxx b/dtrans/source/win32/dnd/targetdragcontext.cxx
index f079ef73025e..3a480758d768 100644
--- a/dtrans/source/win32/dnd/targetdragcontext.cxx
+++ b/dtrans/source/win32/dnd/targetdragcontext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: targetdragcontext.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: jl $ $Date: 2001-02-12 11:11:59 $
+ * last change: $Author: jl $ $Date: 2001-02-12 12:35:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -63,7 +63,7 @@
#include "targetdragcontext.hxx"
-TargetDragContext::TargetDragContext( DropTarget* p, sal_uInt32 id): m_id( id)
+TargetDragContext::TargetDragContext( DropTarget* p)
{
m_pDropTarget= p;
p->acquire();
@@ -77,25 +77,12 @@ TargetDragContext::~TargetDragContext()
void SAL_CALL TargetDragContext::acceptDrag( sal_Int8 dragOperation )
throw( RuntimeException)
{
- m_pDropTarget->_acceptDrag( dragOperation, m_id);
+ m_pDropTarget->_acceptDrag( dragOperation, static_cast<XDropTargetDragContext*>( this) );
}
void SAL_CALL TargetDragContext::rejectDrag( )
throw( RuntimeException)
{
- m_pDropTarget->_rejectDrag( m_id);
+ m_pDropTarget->_rejectDrag( static_cast<XDropTargetDragContext*>( this) );
}
-/*
-Sequence< DataFlavor > SAL_CALL TargetDragContext::getCurrentDataFlavors( )
- throw(RuntimeException)
-{
- return m_pDropTarget->_getCurrentDataFlavors( m_id);
-}
-
-sal_Bool SAL_CALL TargetDragContext::isDataFlavorSupported( const DataFlavor& df )
- throw(RuntimeException)
-{
- return m_pDropTarget->_isDataFlavorSupported( df, m_id);
-}
-*/ \ No newline at end of file