summaryrefslogtreecommitdiff
path: root/include/vcl/vclevent.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-11 12:11:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-11 12:11:39 +0200
commitdb1be55072a792c536841f02af0bc7da362aa4fc (patch)
treeb8517476b7f5d48a7beb8cf4778bb7ed9772c654 /include/vcl/vclevent.hxx
parenta9d273ed8e05c2524a43ebbc548e1efe0c94c4bb (diff)
Prevent MSC from instantiating implicitly defined DLLPUBLIC member functions
...which would require some classes to be complete which are usually incomplete here and only happen to be complete with (implicit, on Windows) --enable-pch. Change-Id: I653d6376e9ee1a8509c0f1a0096af4559ef0702e
Diffstat (limited to 'include/vcl/vclevent.hxx')
-rw-r--r--include/vcl/vclevent.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/vclevent.hxx b/include/vcl/vclevent.hxx
index b37605428ab5..7c1cd5ea1606 100644
--- a/include/vcl/vclevent.hxx
+++ b/include/vcl/vclevent.hxx
@@ -225,6 +225,9 @@ private:
VclPtr<Menu> pMenu;
sal_uInt16 mnPos;
+ VclMenuEvent(VclMenuEvent &) = delete;
+ void operator =(VclMenuEvent) = delete;
+
public:
VclMenuEvent( Menu* pM, sal_uLong n, sal_uInt16 nPos );
virtual ~VclMenuEvent();