diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-12-02 09:16:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-12-02 09:16:59 +0000 |
commit | 316ef321ce2ad40e59d136f7c095e09a3fef9ca6 (patch) | |
tree | 0e5e1a18083f55f7b21a6503cc123fdfdd0a914d | |
parent | 7b5a516c44fb7d2645bb1213bb8f1df393c90cba (diff) |
coverity#1396673 Unchecked return value
Change-Id: I98e9174507bd1341de711882565363776e8e3f61
-rw-r--r-- | sw/source/uibase/shells/annotsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx index a012b2649793..ae7f5c63fa89 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)) ); |