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

Caolán McNamara caolanm at redhat.com
Thu May 24 08:07:27 UTC 2018


 sw/source/core/crsr/crstrvl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 67a3ad8a6685ff8442ccacc1fb3b5848fb64fbba
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed May 23 20:53:51 2018 +0100

    coverity#1435748 silence Unchecked return value
    
    Change-Id: Iba303276f9c9564eb4afe2a9238b009dc8bbc9d3

diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx
index 63690c02c182..c12c9900cfed 100644
--- a/sw/source/core/crsr/crstrvl.cxx
+++ b/sw/source/core/crsr/crstrvl.cxx
@@ -992,7 +992,7 @@ bool SwCursorShell::GotoPrevOutline()
     SwNode* pNd = &(pCursor->GetNode());
     SwOutlineNodes::size_type nPos;
     bool bRet = false;
-    rNds.GetOutLineNds().Seek_Entry(pNd, &nPos);
+    (void)rNds.GetOutLineNds().Seek_Entry(pNd, &nPos);
     if ( nPos == 0 )
     {
         nPos = rNds.GetOutLineNds().size();


More information about the Libreoffice-commits mailing list