sw/source/core/crsr/trvltbl.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 312a2c64ad3fdd352c44e08f8cba3372d2ef2246
Author: Jim Raykowski <[email protected]>
Date: Thu Apr 19 01:35:03 2018 -0800
Satisfy Coverity error
Change-Id: Ib619617adca0cb64fb69daffb3b57214e882d9b4
Reviewed-on: https://gerrit.libreoffice.org/53145
Tested-by: Jenkins <[email protected]>
Reviewed-by: Noel Grandin <[email protected]>
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?
{
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits