diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-08 19:32:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-09 08:18:01 +0200 |
commit | 38a98c2999bb0710e383ab6b326f3aa5165ee035 (patch) | |
tree | 03a728287a707c734b12f0c35251dc2fe32d4f0c /idlc | |
parent | 278e66488135c8fa2714520d056573c64ea803cf (diff) |
loplugin:simplifyconstruct in helpcompiler..io
Change-Id: Ibdc1933b5d8d6be1fe42a7df93bd7e1c903bb39b
Reviewed-on: https://gerrit.libreoffice.org/60202
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/inc/astsequence.hxx | 1 | ||||
-rw-r--r-- | idlc/source/astexpression.cxx | 25 |
2 files changed, 0 insertions, 26 deletions
diff --git a/idlc/inc/astsequence.hxx b/idlc/inc/astsequence.hxx index 1a7a2073f763..5daedf1476d6 100644 --- a/idlc/inc/astsequence.hxx +++ b/idlc/inc/astsequence.hxx @@ -27,7 +27,6 @@ public: AstSequence(AstType const * pMemberType, AstScope* pScope) : AstType(NT_sequence, OString("[]")+pMemberType->getScopedName(), pScope) , m_pMemberType(pMemberType) - , m_pRelativName(nullptr) {} AstType const * getMemberType() const diff --git a/idlc/source/astexpression.cxx b/idlc/source/astexpression.cxx index 721fbc9e430a..67277376832b 100644 --- a/idlc/source/astexpression.cxx +++ b/idlc/source/astexpression.cxx @@ -34,8 +34,6 @@ AstExpression::AstExpression(ExprComb c, AstExpression *pExpr1, AstExpression *p : m_combOperator(c) , m_subExpr1(pExpr1) , m_subExpr2(pExpr2) - , m_exprValue(nullptr) - , m_pSymbolicName(nullptr) { fillDefinitionDetails(); @@ -43,10 +41,6 @@ AstExpression::AstExpression(ExprComb c, AstExpression *pExpr1, AstExpression *p AstExpression::AstExpression(sal_Int32 l) : m_combOperator(ExprComb::NONE) - , m_subExpr1(nullptr) - , m_subExpr2(nullptr) - , m_exprValue(nullptr) - , m_pSymbolicName(nullptr) { fillDefinitionDetails(); @@ -57,10 +51,6 @@ AstExpression::AstExpression(sal_Int32 l) AstExpression::AstExpression(sal_Int32 l, ExprType et) : m_combOperator(ExprComb::NONE) - , m_subExpr1(nullptr) - , m_subExpr2(nullptr) - , m_exprValue(nullptr) - , m_pSymbolicName(nullptr) { fillDefinitionDetails(); @@ -71,10 +61,6 @@ AstExpression::AstExpression(sal_Int32 l, ExprType et) AstExpression::AstExpression(sal_Int64 h) : m_combOperator(ExprComb::NONE) - , m_subExpr1(nullptr) - , m_subExpr2(nullptr) - , m_exprValue(nullptr) - , m_pSymbolicName(nullptr) { fillDefinitionDetails(); @@ -85,10 +71,6 @@ AstExpression::AstExpression(sal_Int64 h) AstExpression::AstExpression(sal_uInt64 uh) : m_combOperator(ExprComb::NONE) - , m_subExpr1(nullptr) - , m_subExpr2(nullptr) - , m_exprValue(nullptr) - , m_pSymbolicName(nullptr) { fillDefinitionDetails(); @@ -99,10 +81,6 @@ AstExpression::AstExpression(sal_uInt64 uh) AstExpression::AstExpression(double d) : m_combOperator(ExprComb::NONE) - , m_subExpr1(nullptr) - , m_subExpr2(nullptr) - , m_exprValue(nullptr) - , m_pSymbolicName(nullptr) { fillDefinitionDetails(); @@ -113,9 +91,6 @@ AstExpression::AstExpression(double d) AstExpression::AstExpression(OString* scopedName) : m_combOperator(ExprComb::Symbol) - , m_subExpr1(nullptr) - , m_subExpr2(nullptr) - , m_exprValue(nullptr) , m_pSymbolicName(scopedName) { fillDefinitionDetails(); |