summaryrefslogtreecommitdiff
path: root/dtrans/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-11 13:37:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-11 13:42:39 +0100
commit91dfb4712d26e6d4b0989b7187034425fd6b3279 (patch)
treeea3827648b579ea01b958e76429727883f8a5d19 /dtrans/source
parentf50fa59583138f8157bb7349a7ba31e2f76a8925 (diff)
loplugin:externvar (clang-cl)
Change-Id: I7219f2e720b7c1581c59cefe39e152c5aa20a8fe
Diffstat (limited to 'dtrans/source')
-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);