Kaydet (Commit) db1be550 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

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
üst a9d273ed
......@@ -35,7 +35,11 @@ typedef std::map<const OUString, OUString> StringMap;
*/
class UITEST_DLLPUBLIC UIObject
{
UIObject(UIObject &) = delete;
void operator =(UIObject) = delete;
public:
UIObject() = default;
virtual ~UIObject();
......
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment