mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Merge pull request 'fix/bug76076' (#551) from fix/bug76076 into develop
Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/core/pulls/551
This commit is contained in:
@ -409,16 +409,17 @@ const bool StringPtgParser::parseToPtgs(const std::wstring& assembled_formula, R
|
||||
rgce.addPtg(PtgPtr(new PtgName(number, OperandPtg::ptg_REFERENCE)));
|
||||
}
|
||||
}
|
||||
else if(SyntaxPtg::extract_UndefinedName(it, itEnd)) // Shall be placed strongly after extract_PtgName
|
||||
{
|
||||
rgce.addPtg(found_operand = OperandPtgPtr(new PtgErr(L"#REF!")));
|
||||
}
|
||||
|
||||
else if(SyntaxPtg::extract_PtgArray(it, itEnd, operand_str))
|
||||
{
|
||||
rgce.addPtg(found_operand = OperandPtgPtr(new PtgArray(OperandPtg::ptg_ARRAY)));
|
||||
rgb.addPtg(PtgPtr(new PtgExtraArray(operand_str)));
|
||||
}
|
||||
else if(SyntaxPtg::extract_UndefinedName(it, itEnd)) // Shall be placed strongly after extract_PtgName
|
||||
{
|
||||
rgce.addPtg(found_operand = OperandPtgPtr(new PtgErr(L"#REF!")));
|
||||
}
|
||||
|
||||
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user