Kaydet (Commit) 0323fc8a authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#708441 Uninitialized pointer field

Change-Id: Ie122f0b2275ce62b8602078f897fb07f2a36234f
üst 73fb311e
...@@ -1660,10 +1660,13 @@ SwTxtSlot::SwTxtSlot( ...@@ -1660,10 +1660,13 @@ SwTxtSlot::SwTxtSlot(
bool bTxtLen, bool bTxtLen,
bool bExgLists, bool bExgLists,
const sal_Char *pCh ) const sal_Char *pCh )
: pOldTxt( 0 ), : pOldTxt(0)
pOldSmartTagList( 0 ), , pOldSmartTagList(0)
pOldGrammarCheckList( 0 ), , pOldGrammarCheckList(0)
pTempList( 0 ) , pTempList(0)
, nIdx(0)
, nLen(0)
, pInf(NULL)
{ {
if( pCh ) if( pCh )
{ {
......
...@@ -779,7 +779,7 @@ public: ...@@ -779,7 +779,7 @@ public:
SwTxtSlot( const SwTxtSizeInfo *pNew, const SwLinePortion *pPor, bool bTxtLen, SwTxtSlot( const SwTxtSizeInfo *pNew, const SwLinePortion *pPor, bool bTxtLen,
bool bExgLists, const sal_Char *pCh = NULL ); bool bExgLists, const sal_Char *pCh = NULL );
~SwTxtSlot(); ~SwTxtSlot();
inline bool IsOn() const { return bOn; } bool IsOn() const { return bOn; }
}; };
/************************************************************************* /*************************************************************************
......
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