summaryrefslogtreecommitdiff
path: root/starmath/source/mathtype.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-15 14:44:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-15 20:55:51 +0000
commitf7c818b40fc57736028a3da0d0e62c5bce40c907 (patch)
tree7e108511baad199ab3d5e32d801af742d4a17f45 /starmath/source/mathtype.hxx
parenta43a0e004c328ba6bb40c03a1f9917f4b4fc7d89 (diff)
coverity#1079297 Uninitialized pointer field
Change-Id: Id65d309ac085f2b3e5fe8fcaf5f48ab254242bfe
Diffstat (limited to 'starmath/source/mathtype.hxx')
-rw-r--r--starmath/source/mathtype.hxx28
1 files changed, 24 insertions, 4 deletions
diff --git a/starmath/source/mathtype.hxx b/starmath/source/mathtype.hxx
index d4eb71a94536..20bed43d54f5 100644
--- a/starmath/source/mathtype.hxx
+++ b/starmath/source/mathtype.hxx
@@ -81,10 +81,30 @@ public:
Init();
}
- MathType(OUString &rIn,SmNode *pIn) :
- rRet(rIn), pTree(pIn), nHAlign(2), nVAlign(0), nInsertion(0), nDefaultSize(12),
- nLSize(0), nDSize(0), nCurSize(0), nLastSize(0), nSpec(0), bIsSilent(sal_False),
- nTypeFace(0)
+ MathType(OUString &rIn,SmNode *pIn)
+ : nVersion(0)
+ , nPlatform(0)
+ , nProduct(0)
+ , nProdVersion(0)
+ , nProdSubVersion(0)
+ , pS(NULL)
+ , rRet(rIn)
+ , pTree(pIn)
+ , nHAlign(2)
+ , nVAlign(0)
+ , nPendingAttributes(0)
+ , nInsertion(0)
+ , nDefaultSize(12)
+ , nLSize(0)
+ , nDSize(0)
+ , nCurSize(0)
+ , nLastSize(0)
+ , nSpec(0)
+ , bIsSilent(sal_False)
+ , bIsReInterpBrace(sal_False)
+ , nPostSup(0)
+ , nPostlSup(0)
+ , nTypeFace(0)
{
Init();
}