coverity#704986 Dereference after null check

Change-Id: I27aad830a4e211601a78a15b2eb42d44275f1abe
This commit is contained in:
Caolán McNamara
2014-07-01 10:44:38 +01:00
parent 542c50d684
commit 335db94e59

View File

@@ -2795,7 +2795,7 @@ const SwStartNode *SwHTMLParser::InsertTableSection
SwTxtFmtColl *pColl = pCSS1Parser->GetTxtCollFromPool( RES_POOLCOLL_TABLE );
const SwStartNode *pStNd;
if( pTable && pTable->bFirstCell )
if (pTable->bFirstCell )
{
SwNode *const pNd = & pPam->GetPoint()->nNode.GetNode();
pNd->GetTxtNode()->ChgFmtColl( pColl );