diff options
-rw-r--r-- | basic/source/inc/codegen.hxx | 6 | ||||
-rw-r--r-- | basic/source/inc/sbunoobj.hxx | 6 | ||||
-rw-r--r-- | basic/source/inc/symtbl.hxx | 4 |
3 files changed, 7 insertions, 9 deletions
diff --git a/basic/source/inc/codegen.hxx b/basic/source/inc/codegen.hxx index 37c779904f0e..4304713e55b5 100644 --- a/basic/source/inc/codegen.hxx +++ b/basic/source/inc/codegen.hxx @@ -66,10 +66,8 @@ class PCodeBuffConvertor sal_uInt8* m_pCnvtdBuf; S m_nCnvtdSize; - // Disable usual copying symantics and bodgy default ctor - PCodeBuffConvertor(); - PCodeBuffConvertor(const PCodeBuffConvertor& ); - PCodeBuffConvertor& operator = ( const PCodeBuffConvertor& ); + PCodeBuffConvertor(const PCodeBuffConvertor& ) SAL_DELETED_FUNCTION; + PCodeBuffConvertor& operator = ( const PCodeBuffConvertor& ) SAL_DELETED_FUNCTION; public: PCodeBuffConvertor( sal_uInt8* pCode, T nSize ): m_nSize( nSize ), m_pStart( pCode ), m_pCnvtdBuf( NULL ), m_nCnvtdSize( 0 ){ convert(); } S GetSize(){ return m_nCnvtdSize; } diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx index d47a66e2d864..cac1d4b1c336 100644 --- a/basic/source/inc/sbunoobj.hxx +++ b/basic/source/inc/sbunoobj.hxx @@ -197,8 +197,8 @@ class SbUnoProperty : public SbxProperty SbxDataType mRealType; virtual ~SbUnoProperty(); bool mbUnoStruct; - SbUnoProperty( const SbUnoProperty&); - SbUnoProperty& operator = ( const SbUnoProperty&); + SbUnoProperty( const SbUnoProperty&) SAL_DELETED_FUNCTION; + SbUnoProperty& operator = ( const SbUnoProperty&) SAL_DELETED_FUNCTION; public: TYPEINFO_OVERRIDE(); @@ -401,7 +401,7 @@ private: VBAConstantsHash aConstHash; bool isInited; VBAConstantHelper():isInited( false ) {} - VBAConstantHelper(const VBAConstantHelper&); + VBAConstantHelper(const VBAConstantHelper&) SAL_DELETED_FUNCTION; void init(); public: static VBAConstantHelper& instance(); diff --git a/basic/source/inc/symtbl.hxx b/basic/source/inc/symtbl.hxx index 68d85ab5f79b..0f759f947591 100644 --- a/basic/source/inc/symtbl.hxx +++ b/basic/source/inc/symtbl.hxx @@ -163,7 +163,7 @@ public: sal_uInt32 Reference(); // reference symbol in code private: - SbiSymDef( const SbiSymDef& ); + SbiSymDef( const SbiSymDef& ) SAL_DELETED_FUNCTION; }; @@ -206,7 +206,7 @@ public: void Match( SbiProcDef* pForward ); private: - SbiProcDef( const SbiProcDef& ); + SbiProcDef( const SbiProcDef& ) SAL_DELETED_FUNCTION; }; |