Kaydet (Commit) 8e359310 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735944 Dereference after null check

Change-Id: I2123943de85d80127042a5b3e8f5b0c1b2b4f288
üst c64aac2f
......@@ -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() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment