sw/source/core/bastyp/calc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 010ed5e6f4505647b0f9043d1cf5001db2057e0d
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Wed Nov 11 21:56:16 2015 +0100

    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 <c...@libreoffice.org>
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx
index 1317ec2..52d5eef 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 )
         {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to