summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/dnd/source.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/win32/dnd/source.cxx')
-rw-r--r--dtrans/source/win32/dnd/source.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dtrans/source/win32/dnd/source.cxx b/dtrans/source/win32/dnd/source.cxx
index 2b4cd8314baa..bc3ad7f591f3 100644
--- a/dtrans/source/win32/dnd/source.cxx
+++ b/dtrans/source/win32/dnd/source.cxx
@@ -67,9 +67,9 @@ unsigned __stdcall DndOleSTAFunc(LPVOID pParams);
//----------------------------------------------------
/** Ctor
*/
-DragSource::DragSource( const Reference<XMultiServiceFactory>& sf):
+DragSource::DragSource( const Reference<XComponentContext>& rxContext):
WeakComponentImplHelper3< XDragSource, XInitialization, XServiceInfo >(m_mutex),
- m_serviceFactory( sf),
+ m_xContext( rxContext ),
// m_pcurrentContext_impl(0),
m_hAppWindow(0),
m_MouseButton(0),
@@ -131,7 +131,7 @@ void DragSource::StartDragImpl(
//<-- TRA
m_spDataObject= m_aDataConverter.createDataObjFromTransferable(
- m_serviceFactory, trans);
+ m_xContext, trans);
// Obtain the id of the thread that created the window
DWORD processId;