From 542c50d6844f76d3c3ac4a68de2859494a5de15c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 1 Jul 2014 10:43:33 +0100 Subject: [PATCH] coverity#704987 Dereference after null check Change-Id: I9c2b946ec3616a59ef06bf958ee4a81e1751e7ea --- 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 5f3e5bbd26e5..45fa74673c7b 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -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;