From a8788866a3a7735918a1c184677632e1ffa0befd Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 10 Feb 2015 13:27:03 +0100 Subject: coverity#1267638: logically dead code in SwUndo::RedoWithContext() Change-Id: Iab669a18ed990a23c77b5bb3d6b0a935a8af2c5d --- sw/source/core/undo/undobj.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'sw') 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); } -- cgit