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 | |
parent | c807a430cd0a0a297051475ed4ec19cc2b1874e0 (diff) |
loplugin:deletedspecial
Change-Id: Iefae91615cc3fdde169fea5fada7fb571bca2699
Diffstat (limited to 'include')
-rw-r--r-- | include/sot/factory.hxx | 4 | ||||
-rw-r--r-- | include/sot/object.hxx | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/include/sot/factory.hxx b/include/sot/factory.hxx index 75ab09ab9902..d5a4f2ac457d 100644 --- a/include/sot/factory.hxx +++ b/include/sot/factory.hxx @@ -68,8 +68,8 @@ public: } private: - SOT_DLLPRIVATE SotFactory( const SotFactory & ); - SOT_DLLPRIVATE SotFactory & operator = ( const SotFactory & ); + SotFactory( const SotFactory & ) SAL_DELETED_FUNCTION; + SotFactory & operator = ( const SotFactory & ) SAL_DELETED_FUNCTION; }; #endif // _FACTORY_HXX 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====================================== |