summaryrefslogtreecommitdiff
path: root/sc/source/ui/app
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2018-04-16 21:02:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-17 08:16:33 +0200
commit821371fb453f880240efa71ac3f556831be161d9 (patch)
tree18d952a838f2ff96168cf6059e897b1cb216779b /sc/source/ui/app
parent0f166ef5240ee155bf2544e6bc3c985b1e3bf646 (diff)
cppcheck: identicalInnerCondition in sc
and remove a related known condition dpcache.cxx Change-Id: I6069849c33ea03eff61a55eb790ce6a8aad3d915 Reviewed-on: https://gerrit.libreoffice.org/53005 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r--sc/source/ui/app/inputhdl.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 5ac088044ac6..b609e6e22e8e 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -3446,10 +3446,7 @@ bool ScInputHandler::KeyInput( const KeyEvent& rKEvt, bool bStartEdit /* = false
}
if( bUsed && bFormulaMode && nCode == KEY_BACKSPACE )
{
- if (bFormulaMode)
- UseFormulaData();
- else
- UseColData();
+ UseFormulaData();
}
}