summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-01-25 21:56:22 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-01-25 22:50:38 -0600
commit703078f9436ae9ab2aff6b7d506a967cd48f283f (patch)
treec134351ccfe0ffac24ed626d2ee225799ba75d5b
parentd6388e4dcd4d113c05de6cc5bff4f4a27f83887f (diff)
coverity#708445 Unitialized scalar field
Change-Id: I844cf39a38ba4ea2495997a91b20d5e82c3b3840
-rw-r--r--sw/source/core/text/itratr.hxx14
1 files changed, 13 insertions, 1 deletions
diff --git a/sw/source/core/text/itratr.hxx b/sw/source/core/text/itratr.hxx
index c76c10e8420a..2a02086054eb 100644
--- a/sw/source/core/text/itratr.hxx
+++ b/sw/source/core/text/itratr.hxx
@@ -69,7 +69,19 @@ protected:
void Rst( SwTxtAttr *pHt );
void CtorInitAttrIter( SwTxtNode& rTxtNode, SwScriptInfo& rScrInf, SwTxtFrm* pFrm = 0 );
SwAttrIter(SwTxtNode* pTxtNode)
- : pShell(0), pFnt(0), pHints(0), pAttrSet(0), pScriptInfo(0), pLastOut(0), nChgCnt(0), pRedln(0), nPropFont(0), m_pTxtNode(pTxtNode)
+ : pShell(0)
+ , pFnt(0)
+ , pHints(0)
+ , pAttrSet(0)
+ , pScriptInfo(0)
+ , pLastOut(0)
+ , nChgCnt(0)
+ , pRedln(0)
+ , nStartIndex(0)
+ , nEndIndex(0)
+ , nPos(0)
+ , nPropFont(0)
+ , m_pTxtNode(pTxtNode)
{
aMagicNo[SW_LATIN] = aMagicNo[SW_CJK] = aMagicNo[SW_CTL] = NULL;
}