[Libreoffice-commits] core.git: sw/source
Michael Stahl
mstahl at redhat.com
Tue Feb 10 05:32:58 PST 2015
sw/source/core/undo/undobj.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit eb01f58edde8513550744576649a5c08f807ef72
Author: Michael Stahl <mstahl at redhat.com>
Date: Tue Feb 10 14:26:11 2015 +0100
coverity#1267666: logically dead code in SwUndo::CanRepeat()
Change-Id: I38ff790419562cf0e4f2b584696867eaf4614166
diff --git a/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx
index f98c6f6..f20980c 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);
}
More information about the Libreoffice-commits
mailing list