diff options
Diffstat (limited to 'basic/source/comp/exprtree.cxx')
-rw-r--r-- | basic/source/comp/exprtree.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |