summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-06 10:30:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-06 11:57:47 +0000
commitc2dc60aed71da33b56650911e8386af31c2a34f0 (patch)
tree279af79f0e54c05767c3189f61ce840a7a01a06b /sw
parentcoverity#983495 Copy into fixed size buffer (diff)
downloadcore-c2dc60aed71da33b56650911e8386af31c2a34f0.tar.gz
core-c2dc60aed71da33b56650911e8386af31c2a34f0.zip
coverity#704892 Dereference after null check
Change-Id: If79129131df575c3ea42d50402d49b24744d5331
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/frmedt/fetab.cxx2
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: