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

Caolán McNamara caolanm at redhat.com
Fri Dec 2 09:20:27 UTC 2016


 sw/source/uibase/shells/annotsh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 316ef321ce2ad40e59d136f7c095e09a3fef9ca6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Dec 2 09:16:59 2016 +0000

    coverity#1396673 Unchecked return value
    
    Change-Id: I98e9174507bd1341de711882565363776e8e3f61

diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx
index a012b26..ae7f5c6 100644
--- a/sw/source/uibase/shells/annotsh.cxx
+++ b/sw/source/uibase/shells/annotsh.cxx
@@ -1534,7 +1534,7 @@ void SwAnnotationShell::ExecUndo(SfxRequest &rReq)
 
         case SID_REDO:
         {
-            rSh.GetFirstRedoInfo(nullptr, &nUndoId);
+            (void)rSh.GetFirstRedoInfo(nullptr, &nUndoId);
             if (nUndoId == UNDO_CONFLICT)
             {
                 rReq.SetReturnValue( SfxUInt32Item(nId, static_cast<sal_uInt32>(nUndoId)) );


More information about the Libreoffice-commits mailing list