loplugin:externvar (clang-cl)

Change-Id: I7219f2e720b7c1581c59cefe39e152c5aa20a8fe
This commit is contained in:
Stephan Bergmann 2017-01-11 13:37:51 +01:00
parent f50fa59583
commit 91dfb4712d
3 changed files with 9 additions and 3 deletions

View File

@ -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: */

View File

@ -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):

View File

@ -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);