Kaydet (Commit) 6c7b64ba authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1158240 Dereference before null check

Change-Id: I5ce6d5514c6bb2298dd00c43d21a43dba55268c3
üst e9ab0dbf
......@@ -2199,8 +2199,8 @@ long SwWW8ImplReader::Read_And(WW8PLCFManResult* pRes)
}
while( !pNode->IsTxtNode() && pPaM->GetPoint()->nNode >= 0 );
// Subtrackt previous text node's length
if( pNode && pNode->IsTxtNode() )
// Subtract previous text node's length
if( pNode->IsTxtNode() )
{
pTxtNode = pNode->GetTxtNode();
if( nLen < pTxtNode->Len() )
......
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