From b82958d30e6985f08e60dcf036afd13e344fa498 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 24 Mar 2014 10:04:37 +0000 Subject: [PATCH] coverity#704985 Dereference after null check Change-Id: I9e7404ef15fe7c62aa51d1f5f4157f9f24ac7de5 --- sw/source/filter/html/htmlfly.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/sw/source/filter/html/htmlfly.cxx b/sw/source/filter/html/htmlfly.cxx index 8c7bfb978293..55a705af0c60 100644 --- a/sw/source/filter/html/htmlfly.cxx +++ b/sw/source/filter/html/htmlfly.cxx @@ -1249,6 +1249,7 @@ static Writer& OutHTML_FrmFmtTableNode( Writer& rWrt, const SwFrmFmt& rFrmFmt ) if( pTxtNd ) aCaption = pTxtNd->GetTxt(); + if( pTblNd ) { HTMLSaveData aSaveData( rHTMLWrt, pTblNd->GetIndex()+1, pTblNd->EndOfSectionIndex(),