summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-15 14:38:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-15 20:55:51 +0000
commita43a0e004c328ba6bb40c03a1f9917f4b4fc7d89 (patch)
treec5b21e2aeb379833601d0723ef750c40e6726920 /starmath
parent8967b65be87dc3ee19726284394a996128b46cfb (diff)
coverity#1079296 Uninitialized pointer field
Change-Id: I56ba87b453e8111a5c54f40eeb52d2998d140ce9
Diffstat (limited to 'starmath')
-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 332cd27d61cb..d4eb71a94536 100644
--- a/starmath/source/mathtype.hxx
+++ b/starmath/source/mathtype.hxx
@@ -53,10 +53,30 @@ typedef ::std::set< MathTypeFont, LessMathTypeFont > MathTypeFontSet;
class MathType
{
public:
- MathType(OUString &rIn) :
- rRet(rIn), nHAlign(0), nVAlign(0), nDefaultSize(12),
- nLSize(0), nDSize(0), nCurSize(0), nLastSize(0), bIsSilent(sal_False),
- nTypeFace(0)
+ MathType(OUString &rIn)
+ : nVersion(0)
+ , nPlatform(0)
+ , nProduct(0)
+ , nProdVersion(0)
+ , nProdSubVersion(0)
+ , pS(NULL)
+ , rRet(rIn)
+ , pTree(NULL)
+ , nHAlign(0)
+ , 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();
}