diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-02-10 13:27:03 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-02-10 14:06:58 +0100 |
commit | a8788866a3a7735918a1c184677632e1ffa0befd (patch) | |
tree | ee1043955a9d41f37c1593ba8e99a1b8a6b61863 | |
parent | a3a783f9ebf1990b05e0ad60c723e6f7c2902d0a (diff) |
coverity#1267638: logically dead code in SwUndo::RedoWithContext()
Change-Id: Iab669a18ed990a23c77b5bb3d6b0a935a8af2c5d
-rw-r--r-- | sw/source/core/undo/undobj.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx index d2724dd9e734..0072ced29218 100644 --- a/sw/source/core/undo/undobj.cxx +++ b/sw/source/core/undo/undobj.cxx @@ -220,7 +220,6 @@ void SwUndo::RedoWithContext(SfxUndoContext & rContext) ::sw::UndoRedoContext *const pContext( dynamic_cast< ::sw::UndoRedoContext * >(& rContext)); assert(pContext); - if (!pContext) { return; } const UndoRedoRedlineGuard aUndoRedoRedlineGuard(*pContext, *this); RedoImpl(*pContext); } |