Kaydet (Commit) 010ed5e6 authored tarafından Julien Nabet's avatar Julien Nabet

tdf#95687: Wrong function names in Formula Writer are considered as SUM

Just indicate there's an error if the function name is unknown

Change-Id: Idad6dd1911c2e8a0206f70fb933fcfd540a887d2
Reviewed-on: https://gerrit.libreoffice.org/19919Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 71f0e4e5
...@@ -713,7 +713,7 @@ SwCalcOper SwCalc::GetToken() ...@@ -713,7 +713,7 @@ SwCalcOper SwCalc::GetToken()
} }
aVarName = aName; aVarName = aName;
eCurrOper = CALC_NAME; eCurrOper = CALC_NAME;
bSetError = false; bSetError = true;
} }
else if ( aRes.TokenType & KParseType::DOUBLE_QUOTE_STRING ) else if ( aRes.TokenType & KParseType::DOUBLE_QUOTE_STRING )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment