diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-20 16:31:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-03-21 08:54:42 +0000 |
commit | 38523b4a0ef994976883b5339cf5b29d7f7d64ba (patch) | |
tree | 43cb5cf848c95ca5e819e841e39f296e14efaed2 /sw | |
parent | 71baf7278beffc6af99a4bd15c86550cbe61a077 (diff) |
coverity#705919 Dereference before null check
Change-Id: I3bd5c35e6c9dcee0833dd3f5b15dec064b525d0a
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 ce83786804e6..fc9fc2f757f3 100644 --- a/sw/source/core/frmedt/fetab.cxx +++ b/sw/source/core/frmedt/fetab.cxx @@ -1848,7 +1848,7 @@ bool SwFEShell::SelTblRowCol( const Point& rPt, const Point* pEnd, bool bRowDrag if( pFrm ) { - while( pFrm->Lower() && pFrm->Lower()->IsRowFrm() ) + while( pFrm && pFrm->Lower() && pFrm->Lower()->IsRowFrm() ) pFrm = static_cast<const SwCellFrm*>( static_cast<const SwLayoutFrm*>( pFrm->Lower() )->Lower() ); if( pFrm && pFrm->GetTabBox()->GetSttNd() && pFrm->GetTabBox()->GetSttNd()->IsInProtectSect() ) |