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: public:
/** Construction. /** Construction.
*/ */
OStoreObject() : m_nRefCount(0) {} OStoreObject() {}
/** IStoreHandle. /** IStoreHandle.
*/ */
@@ -79,15 +79,8 @@ private:
/** The IStoreHandle TypeId. /** The IStoreHandle TypeId.
*/ */
static const sal_uInt32 m_nTypeId; static const sal_uInt32 m_nTypeId;
OStoreObject (const OStoreObject&) SAL_DELETED_FUNCTION;
/** Representation. OStoreObject& operator= (const OStoreObject&) SAL_DELETED_FUNCTION;
*/
oslInterlockedCount m_nRefCount;
/** Not implemented.
*/
OStoreObject (const OStoreObject&);
OStoreObject& operator= (const OStoreObject&);
}; };
/** Template function specialization as dynamic_cast replacement. /** Template function specialization as dynamic_cast replacement.

View File

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

View File

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

View File

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

View File

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