diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-24 10:04:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-24 12:12:25 +0000 |
commit | b82958d30e6985f08e60dcf036afd13e344fa498 (patch) | |
tree | 5c1865c8f0214f66ef83305fd460b93140ba3f0b /sw/source/filter/html/htmlfly.cxx | |
parent | 40a52f5f6e893d38ce6db0680efa79fe4c51eab1 (diff) |
coverity#704985 Dereference after null check
Change-Id: I9e7404ef15fe7c62aa51d1f5f4157f9f24ac7de5
Diffstat (limited to 'sw/source/filter/html/htmlfly.cxx')
-rw-r--r-- | sw/source/filter/html/htmlfly.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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(), |