Kaydet (Commit) 93e09221 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1209527 Dereference after null check

Change-Id: I8a829ee5d36281098f2788a704b203e6b777d371
üst 48772715
......@@ -1963,7 +1963,8 @@ bool SwDoc::MoveParagraph( const SwPaM& rPam, long nOffset, bool bIsOutlMv )
}
CorrRel( aIdx, aInsPos, 0, false );
pCNd->JoinNext();
if (pCNd)
pCNd->JoinNext();
}
rOrigPam.GetPoint()->nNode++;
......
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