coverity#704945 Dereference after null check
Change-Id: I23606421cdae293d9021cafcc22c4a326c50d49b
This commit is contained in:
@@ -1116,7 +1116,7 @@ void SwTxtNode::_ChgTxtCollUpdateNum( const SwTxtFmtColl *pOldColl,
|
||||
|
||||
SwNodes& rNds = GetNodes();
|
||||
// Update beim Level 0 noch die Fussnoten !!
|
||||
if( ( !nNewLevel || !nOldLevel) && !pDoc->GetFtnIdxs().empty() &&
|
||||
if( ( !nNewLevel || !nOldLevel) && pDoc && !pDoc->GetFtnIdxs().empty() &&
|
||||
FTNNUM_CHAPTER == pDoc->GetFtnInfo().eNum &&
|
||||
rNds.IsDocNodes() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user