diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-11-11 21:56:16 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-11-21 14:34:51 +0000 |
commit | 010ed5e6f4505647b0f9043d1cf5001db2057e0d (patch) | |
tree | dce49e675ee70d19d53ad8a816752df526e13e0e /sw | |
parent | 71f0e4e5e2efee05bccf13698752e84f5059db5f (diff) |
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/19919
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/bastyp/calc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx index 1317ec2bb204..52d5eef3f93e 100644 --- a/sw/source/core/bastyp/calc.cxx +++ b/sw/source/core/bastyp/calc.cxx @@ -713,7 +713,7 @@ SwCalcOper SwCalc::GetToken() } aVarName = aName; eCurrOper = CALC_NAME; - bSetError = false; + bSetError = true; } else if ( aRes.TokenType & KParseType::DOUBLE_QUOTE_STRING ) { |