diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-22 09:13:13 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-22 11:39:21 +0100 |
commit | 6320d1efa39152e8fe0e9ff2f49ecdca112b5995 (patch) | |
tree | 994fefc178a42ec4fe6f157ca4ac4817233314ad /starmath | |
parent | 0526aa64c2eba08b218f3811866ab0cc507ac99b (diff) |
coverity#708228 Uninitialized scalar field
Change-Id: I742c2eeaa539b9e8557821e15910d0c739e51891
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/node.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index b81a9484b835..68282d0951b7 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -701,8 +701,10 @@ class SmTableNode : public SmStructureNode long nFormulaBaseline; public: SmTableNode(const SmToken &rNodeToken) - : SmStructureNode(NTABLE, rNodeToken) - {} + : SmStructureNode(NTABLE, rNodeToken) + , nFormulaBaseline(0) + { + } using SmNode::GetLeftMost; virtual SmNode * GetLeftMost() SAL_OVERRIDE; |