loplugin:deletedspecial

Change-Id: I87b252d3d6e5322dbc4b6cc77b846766a0d35893
This commit is contained in:
Stephan Bergmann
2015-02-07 12:30:11 +01:00
parent 2b731ea60b
commit f4479461df
5 changed files with 11 additions and 26 deletions

View File

@@ -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.

View File

@@ -219,10 +219,8 @@ private:
storeError saveObjectAt_Impl (
OStorePageObject & rPage, sal_uInt32 nAddr);
/** Not implemented.
*/
OStorePageBIOS (const OStorePageBIOS&);
OStorePageBIOS& operator= (const OStorePageBIOS&);
OStorePageBIOS (const OStorePageBIOS&) SAL_DELETED_FUNCTION;
OStorePageBIOS& operator= (const OStorePageBIOS&) SAL_DELETED_FUNCTION;
};
inline OStorePageBIOS::operator osl::Mutex& (void) const

View File

@@ -98,10 +98,8 @@ private:
sal_uInt32 m_nPath;
rtl_TextToUnicodeConverter m_hTextCvt;
/** Not implemented.
*/
OStoreDirectory_Impl (const OStoreDirectory_Impl&);
OStoreDirectory_Impl& operator= (const OStoreDirectory_Impl&);
OStoreDirectory_Impl (const OStoreDirectory_Impl&) SAL_DELETED_FUNCTION;
OStoreDirectory_Impl& operator= (const OStoreDirectory_Impl&) SAL_DELETED_FUNCTION;
};
template<> inline OStoreDirectory_Impl*

View File

@@ -134,10 +134,8 @@ private:
bool m_bWriteable;
/** Not implemented.
*/
OStoreLockBytes (const OStoreLockBytes&);
OStoreLockBytes& operator= (const OStoreLockBytes&);
OStoreLockBytes (const OStoreLockBytes&) SAL_DELETED_FUNCTION;
OStoreLockBytes& operator= (const OStoreLockBytes&) SAL_DELETED_FUNCTION;
};
template<> inline OStoreLockBytes*

View File

@@ -184,10 +184,8 @@ private:
*/
storeError remove_Impl (entry & rEntry);
/** Not implemented.
*/
OStorePageManager (const OStorePageManager&);
OStorePageManager& operator= (const OStorePageManager&);
OStorePageManager (const OStorePageManager&) SAL_DELETED_FUNCTION;
OStorePageManager& operator= (const OStorePageManager&) SAL_DELETED_FUNCTION;
};
inline bool OStorePageManager::isValid (void) const