diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-05 17:00:11 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-05 20:41:07 +0000 |
commit | 8e3593107b6eca1935b3b6134f662542a9013096 (patch) | |
tree | 23ed83b2223b5f951c73504be7ed0ecf4baa2dd2 /sw | |
parent | c64aac2f18c25f6c8c3c6261c80fd923bed0f9b2 (diff) |
coverity#735944 Dereference after null check
Change-Id: I2123943de85d80127042a5b3e8f5b0c1b2b4f288
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/wrtw8sty.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx index a50680165916..57266c7d78b7 100644 --- a/sw/source/filter/ww8/wrtw8sty.cxx +++ b/sw/source/filter/ww8/wrtw8sty.cxx @@ -1048,7 +1048,7 @@ MSWordSections::MSWordSections( MSWordExportBase& rExport ) pSet = &pTblNd->GetTable().GetFrmFmt()->GetAttrSet(); pNd = pTblNd; } - else if ( 0 != ( pSectNd = pNd->FindSectionNode() ) ) + else if (pNd && 0 != ( pSectNd = pNd->FindSectionNode() )) { if ( TOX_HEADER_SECTION == pSectNd->GetSection().GetType() && pSectNd->StartOfSectionNode()->IsSectionNode() ) |