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

coverity#704892 Dereference after null check

Change-Id: If79129131df575c3ea42d50402d49b24744d5331
üst cae8e5ff
...@@ -1869,7 +1869,7 @@ bool SwFEShell::SelTblRowCol( const Point& rPt, const Point* pEnd, bool bRowDrag ...@@ -1869,7 +1869,7 @@ bool SwFEShell::SelTblRowCol( const Point& rPt, const Point* pEnd, bool bRowDrag
} }
// no calculation of end frame if start frame has not been found. // no calculation of end frame if start frame has not been found.
if ( 1 == i || !ppPos[0] || !pEnd ) if ( 1 == i || !ppPos[0] || !pEnd || !pFrm )
break; break;
// find 'closest' table frame to pEnd: // find 'closest' table frame to pEnd:
......
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