summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-19 10:02:39 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-19 11:01:07 +0000
commitc3aec587d8fdbdada5a9e26595e7b29e4e6a2920 (patch)
tree0c1d23175578459dbd3b9ab37d0507f106f0fb55 /cui
parentc7d03c4e9c0bde6cb838b9812e1c0d19191a7e44 (diff)
coverity#735402 Logically dead code
Change-Id: Iafc67b4ccd30afdc2dc1c4fb058f9933fa90185a
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx
index cb064d60a986..96b59dc53fc2 100644
--- a/cui/source/dialogs/SpellDialog.cxx
+++ b/cui/source/dialogs/SpellDialog.cxx
@@ -1419,7 +1419,7 @@ bool SentenceEditWindow_Impl::PreNotify( NotifyEvent& rNEvt )
break;
// 4 - on field UE and on error CO
case FULL :
- nAction = bHasField ? ACTION_UNDOEDIT : ACTION_CONTINUE;
+ nAction = ACTION_UNDOEDIT;
break;
// 5 - on field FS and on error CO
case INSIDE_YES :