Kaydet (Commit) df5503af authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

coverity#708449 coverity#708450 Unitialized scalar field

Change-Id: I2774fea82ff207113cd4e8b5d8a5fa60803b2211
üst 39005f18
...@@ -63,10 +63,27 @@ protected: ...@@ -63,10 +63,27 @@ protected:
, pInf(NULL) , pInf(NULL)
, pCurr(NULL) , pCurr(NULL)
, pPrev(NULL) , pPrev(NULL)
{} , nFrameStart(0)
, nY(0)
, nRegStart(0)
, nStart(0)
, nRegDiff(0)
, nLineNr(0)
, bPrev(sal_False)
, bRegisterOn(sal_False)
, bOneBlock(sal_False)
, bLastBlock(sal_False)
, bLastCenter(sal_False)
{}
public: public:
inline SwTxtIter( SwTxtFrm *pTxtFrm, SwTxtInfo *pTxtInf ) : SwAttrIter(pTxtFrm!=NULL?pTxtFrm->GetTxtNode():NULL) inline SwTxtIter( SwTxtFrm *pTxtFrm, SwTxtInfo *pTxtInf )
{ CtorInitTxtIter( pTxtFrm, pTxtInf ); } : SwAttrIter( pTxtFrm != NULL ? pTxtFrm->GetTxtNode() : NULL)
, bOneBlock(sal_False)
, bLastBlock(sal_False)
, bLastCenter(sal_False)
{
CtorInitTxtIter( pTxtFrm, pTxtInf );
}
inline const SwLineLayout *GetCurr() const { return pCurr; } // NEVER 0! inline const SwLineLayout *GetCurr() const { return pCurr; } // NEVER 0!
inline const SwLineLayout *GetNext() const { return pCurr->GetNext(); } inline const SwLineLayout *GetNext() const { return pCurr->GetNext(); }
const SwLineLayout *GetPrev(); const SwLineLayout *GetPrev();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment