summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-02-10 13:26:07 +0100
committerMichael Stahl <mstahl@redhat.com>2015-02-10 14:06:57 +0100
commita3a783f9ebf1990b05e0ad60c723e6f7c2902d0a (patch)
treee8837eac6482719791820a641f5769687e4f0206
parenta4aab4814d7924531d46579b82ccd494f3318756 (diff)
coverity#1267637: logically dead code in SwUndo::Repeat()
Change-Id: I85b0d880b0579f33a6e874ca250d343f7761dbcc
-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 855795d86211..d2724dd9e734 100644
--- a/sw/source/core/undo/undobj.cxx
+++ b/sw/source/core/undo/undobj.cxx
@@ -230,7 +230,6 @@ void SwUndo::Repeat(SfxRepeatTarget & rContext)
::sw::RepeatContext *const pRepeatContext(
dynamic_cast< ::sw::RepeatContext * >(& rContext));
assert(pRepeatContext);
- if (!pRepeatContext) { return; }
RepeatImpl(*pRepeatContext);
}