coverity#704986 Dereference after null check
Change-Id: I27aad830a4e211601a78a15b2eb42d44275f1abe
This commit is contained in:
@@ -2795,7 +2795,7 @@ const SwStartNode *SwHTMLParser::InsertTableSection
|
|||||||
SwTxtFmtColl *pColl = pCSS1Parser->GetTxtCollFromPool( RES_POOLCOLL_TABLE );
|
SwTxtFmtColl *pColl = pCSS1Parser->GetTxtCollFromPool( RES_POOLCOLL_TABLE );
|
||||||
|
|
||||||
const SwStartNode *pStNd;
|
const SwStartNode *pStNd;
|
||||||
if( pTable && pTable->bFirstCell )
|
if (pTable->bFirstCell )
|
||||||
{
|
{
|
||||||
SwNode *const pNd = & pPam->GetPoint()->nNode.GetNode();
|
SwNode *const pNd = & pPam->GetPoint()->nNode.GetNode();
|
||||||
pNd->GetTxtNode()->ChgFmtColl( pColl );
|
pNd->GetTxtNode()->ChgFmtColl( pColl );
|
||||||
|
Reference in New Issue
Block a user