diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-06 10:30:41 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-06 11:57:47 +0000 |
commit | c2dc60aed71da33b56650911e8386af31c2a34f0 (patch) | |
tree | 279af79f0e54c05767c3189f61ce840a7a01a06b /sw | |
parent | cae8e5ff46053e06a36d8d4e8bc7bef6297d23d0 (diff) |
coverity#704892 Dereference after null check
Change-Id: If79129131df575c3ea42d50402d49b24744d5331
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/frmedt/fetab.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx index 9fd1c78b03db..f39a126dac4d 100644 --- a/sw/source/core/frmedt/fetab.cxx +++ b/sw/source/core/frmedt/fetab.cxx @@ -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. - if ( 1 == i || !ppPos[0] || !pEnd ) + if ( 1 == i || !ppPos[0] || !pEnd || !pFrm ) break; // find 'closest' table frame to pEnd: |