Kaydet (Commit) 57ddc982 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#704883 Dereference after null check

Change-Id: Ib5abe9a16fa4879d769f5ee229bc1b02f32fd62e
üst c2dc60ae
......@@ -722,7 +722,7 @@ const SwFrm* SwDrawView::CalcAnchor()
if ( aPt != aMyPt )
{
if ( pAnch->IsCntntFrm() )
if ( pAnch && pAnch->IsCntntFrm() )
{
// allow drawing objects in header/footer,
// but exclude control objects.
......
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