[Libreoffice-commits] core.git: sw/source

Jim Raykowski raykowj at gmail.com
Thu Apr 19 16:56:14 UTC 2018


 sw/source/core/crsr/trvltbl.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 312a2c64ad3fdd352c44e08f8cba3372d2ef2246
Author: Jim Raykowski <raykowj at gmail.com>
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 <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

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?
             {


More information about the Libreoffice-commits mailing list