Kaydet (Commit) 835db319 authored tarafından Michael Stahl's avatar Michael Stahl

coverity#1267639: logically dead code in SwUndo::UndoWithContext()

Change-Id: I5e41337705bb2952a98e7e5778a217cfb2caccdb
üst a8788866
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment