From 335db94e59eab9d3dcdb9ad081e1787775898de1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 1 Jul 2014 10:44:38 +0100 Subject: [PATCH] coverity#704986 Dereference after null check Change-Id: I27aad830a4e211601a78a15b2eb42d44275f1abe --- sw/source/filter/html/htmltab.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );