From 73be3ce38acf573728cb4ebbe0c420ad6f73039e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 20 Feb 2017 20:02:19 +0100 Subject: loplugin:subtlezeroinit: basic Change-Id: I3d5f157db315fce3492ff6ce88e8ded763af944e --- basic/source/comp/exprtree.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic') diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx index 008976f1a7d6..5249eadd9ac5 100644 --- a/basic/source/comp/exprtree.cxx +++ b/basic/source/comp/exprtree.cxx @@ -231,7 +231,7 @@ SbiExprNode* SbiExpression::Term( const KeywordSymbolInfo* pKeywordSymbolInfo ) { if( pvMoreParLcl == nullptr ) { - pvMoreParLcl = new SbiExprListVector(); + pvMoreParLcl = new SbiExprListVector; } SbiExprListPtr pAddPar = SbiExprList::ParseParameters( pParser ); bError = bError || !pAddPar->IsValid(); @@ -428,7 +428,7 @@ SbiExprNode* SbiExpression::ObjTerm( SbiSymDef& rObj ) { if( pvMoreParLcl == nullptr ) { - pvMoreParLcl = new SbiExprListVector(); + pvMoreParLcl = new SbiExprListVector; } SbiExprListPtr pAddPar = SbiExprList::ParseParameters( pParser ); bError = bError || !pPar->IsValid(); -- cgit