diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:07:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:35:56 +0100 |
commit | d93bcf77902f21310f1ab45ffed404462e7c77b8 (patch) | |
tree | cf5d018727e3780bbf75f289fdc4b969d48612af /basic/source/inc/codegen.hxx | |
parent | f21d798dd4a5adee8cb055665d81a3a5d9d0d8d7 (diff) |
loplugin:deletedspecial
Change-Id: Iabc7b3fe295743db014e0bce78f9dc65e069d848
Diffstat (limited to 'basic/source/inc/codegen.hxx')
-rw-r--r-- | basic/source/inc/codegen.hxx | 6 |
1 files changed, 2 insertions, 4 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; } |