summaryrefslogtreecommitdiffstats
path: root/formula
diff options
context:
space:
mode:
Diffstat (limited to 'formula')
-rw-r--r--formula/source/core/api/FormulaCompiler.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index ccf4562fec9d..e98d34a549e1 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -1360,11 +1360,10 @@ void FormulaCompiler::Factor()
CurrentFactor pFacToken( this );
OpCode eOp = mpToken->GetOpCode();
- if( eOp == ocPush || eOp == ocColRowNameAuto || eOp == ocMatRef ||
- eOp == ocDBArea || eOp == ocTableRef
- || (!mbJumpCommandReorder && ((eOp == ocName) || (eOp == ocDBArea)
- || (eOp == ocTableRef) || (eOp == ocColRowName) || (eOp == ocBad)))
- )
+ if (eOp == ocPush || eOp == ocColRowNameAuto || eOp == ocMatRef || eOp == ocDBArea
+ || eOp == ocTableRef
+ || (!mbJumpCommandReorder && ((eOp == ocName) || (eOp == ocColRowName) || (eOp == ocBad)))
+ )
{
PutCode( mpToken );
eOp = NextToken();