summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-20 20:02:19 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:35:12 +0100
commit73be3ce38acf573728cb4ebbe0c420ad6f73039e (patch)
tree6b1f7417c1eb115e9d52d09acbcb1d491740520a /basic
parentb8e85c6a647942760aceba204367154f2fc44b5c (diff)
loplugin:subtlezeroinit: basic
Change-Id: I3d5f157db315fce3492ff6ce88e8ded763af944e
Diffstat (limited to 'basic')
-rw-r--r--basic/source/comp/exprtree.cxx4
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();