summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorJim Raykowski <raykowj@gmail.com>2018-04-19 01:35:03 -0800
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-19 18:55:10 +0200
commit312a2c64ad3fdd352c44e08f8cba3372d2ef2246 (patch)
treea064f486115b2a068c83acfc470714970d2d9aaf /sw/source
parenta1533910d896f18980a37c7a9c15154366dacae3 (diff)
Satisfy Coverity error
Change-Id: Ib619617adca0cb64fb69daffb3b57214e882d9b4 Reviewed-on: https://gerrit.libreoffice.org/53145 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/crsr/trvltbl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/crsr/trvltbl.cxx b/sw/source/core/crsr/trvltbl.cxx
index 43a5f7e90be6..ccc648dfe248 100644
--- a/sw/source/core/crsr/trvltbl.cxx
+++ b/sw/source/core/crsr/trvltbl.cxx
@@ -590,6 +590,7 @@ bool GotoNextTable( SwPaM& rCurrentCursor, SwMoveFnCollection const & fnPosTable
continue;
}
+ if( pTableNd ) // should never be nullptr
{
if( &fnPosTable == &fnMoveForward ) // at the beginning?
{