[Libreoffice-commits] core.git: Branch 'private/kohei/xlsx-import-speedup' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Mon Nov 18 10:25:58 PST 2013


 sc/source/core/tool/formulagroup.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 4f096fbaeba808148e83410f4c64705047ce888f
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Mon Nov 18 13:27:01 2013 -0500

    Don't forget to generate RPN tokens here.
    
    Change-Id: I03a0e0d9f82e9c8881b0ff225ba0b476a693afb1

diff --git a/sc/source/core/tool/formulagroup.cxx b/sc/source/core/tool/formulagroup.cxx
index 072f162..8eb1fde 100644
--- a/sc/source/core/tool/formulagroup.cxx
+++ b/sc/source/core/tool/formulagroup.cxx
@@ -424,6 +424,8 @@ bool FormulaGroupInterpreterSoftware::interpret(ScDocument& rDoc, const ScAddres
         if (!pDest)
             return false;
 
+        ScCompiler aComp(&rDoc, aTmpPos, aCode2);
+        aComp.CompileTokenArray();
         ScInterpreter aInterpreter(pDest, &rDoc, aTmpPos, aCode2);
         aInterpreter.Interpret();
         aResults.push_back(aInterpreter.GetResultToken());


More information about the Libreoffice-commits mailing list