diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:29:23 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:36:02 +0100 |
commit | 6d8f96b775eb911b18ea26f7379cf9e8f91a8fcd (patch) | |
tree | 7cbc79a915eb79dd1cef4d6ef4d6762079fa7683 /include/sot/object.hxx | |
parent | c807a430cd0a0a297051475ed4ec19cc2b1874e0 (diff) |
loplugin:deletedspecial
Change-Id: Iefae91615cc3fdde169fea5fada7fb571bca2699
Diffstat (limited to 'include/sot/object.hxx')
-rw-r--r-- | include/sot/object.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/sot/object.hxx b/include/sot/object.hxx index f23f1835825d..efc8c1d9d221 100644 --- a/include/sot/object.hxx +++ b/include/sot/object.hxx @@ -127,9 +127,8 @@ public: bool IsInClose() const { return bInClose; } private: - // copying and assigning this object type is not allowed - SOT_DLLPRIVATE SotObject & operator = ( const SotObject & ); - SOT_DLLPRIVATE SotObject( const SotObject & ); + SotObject & operator = ( const SotObject & ) SAL_DELETED_FUNCTION; + SotObject( const SotObject & ) SAL_DELETED_FUNCTION; }; //==================class SotObjectRef====================================== |