From f7c818b40fc57736028a3da0d0e62c5bce40c907 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 15 Mar 2014 14:44:00 +0000 Subject: coverity#1079297 Uninitialized pointer field Change-Id: Id65d309ac085f2b3e5fe8fcaf5f48ab254242bfe --- starmath/source/mathtype.hxx | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'starmath/source/mathtype.hxx') 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(); } -- cgit