From eb01f58edde8513550744576649a5c08f807ef72 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 10 Feb 2015 14:26:11 +0100 Subject: coverity#1267666: logically dead code in SwUndo::CanRepeat() Change-Id: I38ff790419562cf0e4f2b584696867eaf4614166 --- 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 f98c6f651797..f20980cf5882 100644 --- a/sw/source/core/undo/undobj.cxx +++ b/sw/source/core/undo/undobj.cxx @@ -236,7 +236,6 @@ bool SwUndo::CanRepeat(SfxRepeatTarget & rContext) const ::sw::RepeatContext *const pRepeatContext( dynamic_cast< ::sw::RepeatContext * >(& rContext)); assert(pRepeatContext); - if (!pRepeatContext) { return false; } return CanRepeatImpl(*pRepeatContext); } -- cgit