diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-02-10 13:28:04 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-02-10 14:06:58 +0100 |
commit | 835db319f7cd1ea135350df0a28a7fb72d0027fd (patch) | |
tree | 19731ff8e7d6adce44b73e7040ae886a569188a0 | |
parent | a8788866a3a7735918a1c184677632e1ffa0befd (diff) |
coverity#1267639: logically dead code in SwUndo::UndoWithContext()
Change-Id: I5e41337705bb2952a98e7e5778a217cfb2caccdb
-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 0072ced29218..f98c6f651797 100644 --- a/sw/source/core/undo/undobj.cxx +++ b/sw/source/core/undo/undobj.cxx @@ -210,7 +210,6 @@ void SwUndo::UndoWithContext(SfxUndoContext & rContext) ::sw::UndoRedoContext *const pContext( dynamic_cast< ::sw::UndoRedoContext * >(& rContext)); assert(pContext); - if (!pContext) { return; } const UndoRedoRedlineGuard aUndoRedoRedlineGuard(*pContext, *this); UndoImpl(*pContext); } |