summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/dnd/target.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/win32/dnd/target.cxx')
-rw-r--r--dtrans/source/win32/dnd/target.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/dtrans/source/win32/dnd/target.cxx b/dtrans/source/win32/dnd/target.cxx
index d7247f9fc297..ba76771a484f 100644
--- a/dtrans/source/win32/dnd/target.cxx
+++ b/dtrans/source/win32/dnd/target.cxx
@@ -29,6 +29,8 @@
#include <rtl/ustring.h>
#include <osl/thread.h>
+#include "../dtobj/DOTransferable.hxx"
+
using namespace cppu;
using namespace osl;
using namespace com::sun::star::datatransfer;
@@ -323,7 +325,7 @@ HRESULT DropTarget::DragEnter( IDataObject *pDataObj,
else
{
// Convert the IDataObject to a XTransferable
- m_currentData= m_aDataConverter.createTransferableFromDataObj(
+ m_currentData= CDOTransferable::create(
m_xContext, IDataObjectPtr(pDataObj));
}