diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-01 10:44:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-01 10:56:17 +0100 |
commit | 335db94e59eab9d3dcdb9ad081e1787775898de1 (patch) | |
tree | 0cc3680dca231e6c33d1e408653bcc75955d44c5 /sw | |
parent | 542c50d6844f76d3c3ac4a68de2859494a5de15c (diff) |
coverity#704986 Dereference after null check
Change-Id: I27aad830a4e211601a78a15b2eb42d44275f1abe
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/html/htmltab.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx index 45fa74673c7b..7faf745f1a6c 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -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 ); |