summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/undo/undobj.cxx1
1 files changed, 0 insertions, 1 deletions
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);
}