summaryrefslogtreecommitdiff
path: root/dtrans/test/win32/dnd/transferable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/test/win32/dnd/transferable.cxx')
-rw-r--r--dtrans/test/win32/dnd/transferable.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/dtrans/test/win32/dnd/transferable.cxx b/dtrans/test/win32/dnd/transferable.cxx
index 90a50b7a879a..87dbc79ef13f 100644
--- a/dtrans/test/win32/dnd/transferable.cxx
+++ b/dtrans/test/win32/dnd/transferable.cxx
@@ -19,10 +19,8 @@
#include "transferable.hxx"
-
// ctor
-
CTransferable::CTransferable( wchar_t* dataString ) :
m_seqDFlv( 1 ),
m_Data( dataString )
@@ -40,14 +38,11 @@ CTransferable::CTransferable( wchar_t* dataString ) :
df.MimeType = L"text/plain";
df.DataType = getCppuType( ( Sequence< sal_Int8 >* )0 );
-
m_seqDFlv[0] = df;
}
-
// getTransferData
-
Any SAL_CALL CTransferable::getTransferData( const DataFlavor& aFlavor )
throw(UnsupportedFlavorException, IOException, RuntimeException)
{
@@ -72,20 +67,16 @@ Any SAL_CALL CTransferable::getTransferData( const DataFlavor& aFlavor )
return anyData;
}
-
// getTransferDataFlavors
-
Sequence< DataFlavor > SAL_CALL CTransferable::getTransferDataFlavors( )
throw(RuntimeException)
{
return m_seqDFlv;
}
-
// isDataFlavorSupported
-
sal_Bool SAL_CALL CTransferable::isDataFlavorSupported( const DataFlavor& aFlavor )
throw(RuntimeException)
{
@@ -104,10 +95,8 @@ sal_Bool SAL_CALL CTransferable::isDataFlavorSupported( const DataFlavor& aFlavo
return bRet;
}
-
// lostOwnership
-
void SAL_CALL CTransferable::lostOwnership( const Reference< XClipboard >& xClipboard, const Reference< XTransferable >& xTrans )
throw(RuntimeException)
{