summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-10-03 21:48:16 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-10-04 08:58:10 -0500
commit0610d77429a75d2eacb637582d8e19ebc6dc871c (patch)
tree859147c52ddad183833a3cb31844441440acea26 /sc/source
parentef24a18e362c12bbf79f19396c4916e47b812391 (diff)
coverity#1242781 Unused Value
if nLen2 is 0 then bNextNum is set and nLen1 is then 0, and the if(nLen1 || nLen2) can only be true if nLen2 is non zero and bNextNum get overriden... so the line bNextNum = !bLastAlp is useless. Change-Id: Ice62562bf321e5389f2118677e72d1b421816858
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/tool/compiler.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index fa98f83813a1..857087f18361 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -3348,7 +3348,6 @@ void ScCompiler::AutoCorrectParsedSymbol()
if ( !bLastAlp && !CharClass::isAsciiNumeric( aTmp1 ) )
nStrip++;
}
- bNextNum = !bLastAlp;
}
aTmp1 = aTmp2;
nLen1 = nLen2;