diff options
-rw-r--r-- | include/vcl/uitest/uiobject.hxx | 4 | ||||
-rw-r--r-- | include/vcl/vclevent.hxx | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/vcl/uitest/uiobject.hxx b/include/vcl/uitest/uiobject.hxx index 011a2d4fd7cd..a8c35be7285b 100644 --- a/include/vcl/uitest/uiobject.hxx +++ b/include/vcl/uitest/uiobject.hxx @@ -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(); 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(); |