From 08e49fa3377d8c4e7e5df7a32233fcd9763ee936 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:10:36 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: I1ec9a671fe3ac838feb36297915e3cdf8749d944 --- basic/source/inc/codegen.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basic/source/inc/codegen.hxx') diff --git a/basic/source/inc/codegen.hxx b/basic/source/inc/codegen.hxx index d50994be5e09..70da5867274f 100644 --- a/basic/source/inc/codegen.hxx +++ b/basic/source/inc/codegen.hxx @@ -69,7 +69,7 @@ class PCodeBuffConvertor PCodeBuffConvertor(const PCodeBuffConvertor& ) = delete; PCodeBuffConvertor& operator = ( const PCodeBuffConvertor& ) = delete; public: - PCodeBuffConvertor( sal_uInt8* pCode, T nSize ): m_nSize( nSize ), m_pStart( pCode ), m_pCnvtdBuf( NULL ), m_nCnvtdSize( 0 ){ convert(); } + PCodeBuffConvertor( sal_uInt8* pCode, T nSize ): m_nSize( nSize ), m_pStart( pCode ), m_pCnvtdBuf( nullptr ), m_nCnvtdSize( 0 ){ convert(); } S GetSize(){ return m_nCnvtdSize; } void convert(); // Caller owns the buffer returned -- cgit