diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:30:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:36:02 +0100 |
commit | f4479461dfc719d1a2bf9765a06be0cb7b1d7bf9 (patch) | |
tree | 16b16ed4773f691a4100faa2f881b15c32f17035 /store/source/object.hxx | |
parent | loplugin:deletedspecial (diff) | |
download | core-f4479461dfc719d1a2bf9765a06be0cb7b1d7bf9.tar.gz core-f4479461dfc719d1a2bf9765a06be0cb7b1d7bf9.zip |
loplugin:deletedspecial
Change-Id: I87b252d3d6e5322dbc4b6cc77b846766a0d35893
Diffstat (limited to 'store/source/object.hxx')
-rw-r--r-- | store/source/object.hxx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/store/source/object.hxx b/store/source/object.hxx index 72381d05155b..40bc287652ad 100644 --- a/store/source/object.hxx +++ b/store/source/object.hxx @@ -64,7 +64,7 @@ class OStoreObject : public store::IStoreHandle public: /** Construction. */ - OStoreObject() : m_nRefCount(0) {} + OStoreObject() {} /** IStoreHandle. */ @@ -79,15 +79,8 @@ private: /** The IStoreHandle TypeId. */ static const sal_uInt32 m_nTypeId; - - /** Representation. - */ - oslInterlockedCount m_nRefCount; - - /** Not implemented. - */ - OStoreObject (const OStoreObject&); - OStoreObject& operator= (const OStoreObject&); + OStoreObject (const OStoreObject&) SAL_DELETED_FUNCTION; + OStoreObject& operator= (const OStoreObject&) SAL_DELETED_FUNCTION; }; /** Template function specialization as dynamic_cast replacement. |