check presence of token, tdf#96426 follow-up
Change-Id: I4c368dfd113b02d208013b4ba79dff606769a150
This commit is contained in:
parent
b79d226017
commit
edd4370f5b
1 changed files with 4 additions and 0 deletions
|
@ -305,6 +305,9 @@ bool isRangeResultOpCode( OpCode eOp )
|
|||
}
|
||||
|
||||
/**
|
||||
@param pToken
|
||||
MUST be a valid token, caller has to ensure.
|
||||
|
||||
@param bRight
|
||||
If bRPN==false, bRight==false means opcodes for left side are
|
||||
checked, bRight==true means opcodes for right side. If bRPN==true
|
||||
|
@ -1200,6 +1203,7 @@ bool FormulaCompiler::GetToken()
|
|||
pArr->nIndex--; // we advanced to the second ocColRowName, step back
|
||||
}
|
||||
else if (pSpacesToken && FormulaGrammar::isExcelSyntax( meGrammar) &&
|
||||
pCurrToken && mpToken &&
|
||||
isPotentialRangeType( pCurrToken.get(), false, false) &&
|
||||
isPotentialRangeType( mpToken.get(), false, true))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue