coverity#704987 Dereference after null check

Change-Id: I9c2b946ec3616a59ef06bf958ee4a81e1751e7ea
This commit is contained in:
Caolán McNamara
2014-07-01 10:43:33 +01:00
parent 05832e110f
commit 542c50d684

View File

@@ -2843,7 +2843,7 @@ const SwStartNode *SwHTMLParser::InsertTableSection( sal_uInt16 nPoolId )
SwNode *const pNd = & pPam->GetPoint()->nNode.GetNode();
const SwStartNode *pStNd;
if( pTable && pTable->bFirstCell )
if (pTable->bFirstCell)
{
pNd->GetTxtNode()->ChgFmtColl( pColl );
pTable->bFirstCell = false;