summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dtrans/source/win32/dnd/globals.hxx9
-rw-r--r--dtrans/source/win32/dnd/source.cxx2
-rw-r--r--dtrans/source/win32/dnd/target.cxx1
3 files changed, 9 insertions, 3 deletions
diff --git a/dtrans/source/win32/dnd/globals.hxx b/dtrans/source/win32/dnd/globals.hxx
index a6f01d9b5a0d..d8763189d3b3 100644
--- a/dtrans/source/win32/dnd/globals.hxx
+++ b/dtrans/source/win32/dnd/globals.hxx
@@ -19,8 +19,15 @@
#ifndef INCLUDED_DTRANS_SOURCE_WIN32_DND_GLOBALS_HXX
#define INCLUDED_DTRANS_SOURCE_WIN32_DND_GLOBALS_HXX
+#include <sal/config.h>
+
+#include <com/sun/star/uno/Reference.hxx>
#include <osl/mutex.hxx>
+namespace com { namespace sun { namespace star { namespace datatransfer {
+ class XTransferable;
+} } } }
+
#if defined _MSC_VER
#pragma warning(push,1)
#endif
@@ -75,6 +82,8 @@ struct MutexDummy
osl::Mutex m_mutex;
};
+extern css::uno::Reference<css::datatransfer::XTransferable> g_XTransferable;
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dtrans/source/win32/dnd/source.cxx b/dtrans/source/win32/dnd/source.cxx
index 7bf94f8b8000..85eb0d8c0d9f 100644
--- a/dtrans/source/win32/dnd/source.cxx
+++ b/dtrans/source/win32/dnd/source.cxx
@@ -53,8 +53,6 @@ using namespace com::sun::star::awt::MouseButton;
using namespace com::sun::star::awt;
using namespace com::sun::star::lang;
-extern Reference< XTransferable > g_XTransferable;
-
unsigned __stdcall DndOleSTAFunc(LPVOID pParams);
DragSource::DragSource( const Reference<XComponentContext>& rxContext):
diff --git a/dtrans/source/win32/dnd/target.cxx b/dtrans/source/win32/dnd/target.cxx
index 5f2dea68d5a1..a9f6ae477226 100644
--- a/dtrans/source/win32/dnd/target.cxx
+++ b/dtrans/source/win32/dnd/target.cxx
@@ -41,7 +41,6 @@ using namespace com::sun::star::datatransfer::dnd::DNDConstants;
#define WM_REGISTERDRAGDROP WM_USER + 1
#define WM_REVOKEDRAGDROP WM_USER + 2
-extern Reference< XTransferable > g_XTransferable;
DWORD WINAPI DndTargetOleSTAFunc(LPVOID pParams);