summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-07 10:27:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-07 10:48:25 +0100
commitee42c384009cfb21375d0ea01af7d712ee80158a (patch)
treefc2c7df271a2858585aec7e61fd4781c3849ed1a
parent0d78ad871e85a74a2a7eac2f2a2ff94776f35e77 (diff)
coverity#1213080 Explicit null dereferenced
Change-Id: I8f696307164c30d1fd2b1214171982da426cf9b8
-rw-r--r--sw/source/core/crsr/trvltbl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/trvltbl.cxx b/sw/source/core/crsr/trvltbl.cxx
index 080521648e11..71d0c0663ac7 100644
--- a/sw/source/core/crsr/trvltbl.cxx
+++ b/sw/source/core/crsr/trvltbl.cxx
@@ -80,7 +80,7 @@ bool SwCrsrShell::GoNextCell( bool bAppendLine )
{
if( pCrsr->HasMark() || !bAppendLine )
bRet = false;
- else
+ else if (pTblNd)
{
// if there is no list anymore then create new one
if ( !pTableBox )