summaryrefslogtreecommitdiff
path: root/formula/source
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-04-01 10:05:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-03 06:33:51 +0000
commitb7b2c95fbc376ecea60b91e3e04fd52428258137 (patch)
tree081877af774e8939bd90781db3a80081dd072f7a /formula/source
parentd7869e561100efee7e4bd747934d6757e67dc0d9 (diff)
remove hack for non DBG_UTIL builds
always use a 8bit enum for StackVar correct StackVar types for opcode opSep and opClose in unit test and test them. Change-Id: I89fac97d791eb12667ce5218ff31e798c8711e10 Reviewed-on: https://gerrit.libreoffice.org/36000 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'formula/source')
-rw-r--r--formula/source/core/api/FormulaCompiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index b70af7dc3152..09e355302105 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -318,7 +318,7 @@ bool isPotentialRangeType( FormulaToken* pToken, bool bRPN, bool bRight )
return true;
default:
// Separators are not part of RPN and right opcodes need to be
- // other StackVarEnum types or functions and thus svByte.
+ // other StackVar types or functions and thus svByte.
return !bRPN && !bRight && isPotentialRangeLeftOp( pToken->GetOpCode());
}
}