[Libreoffice-commits] core.git: sc/source

Dennis Francis (via logerrit) logerrit at kemper.freedesktop.org
Tue Oct 22 10:11:53 UTC 2019


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

New commits:
commit de817cb48cf550c5cdfb0e83cf914f37454c3622
Author:     Dennis Francis <dennis.francis at collabora.com>
AuthorDate: Tue Oct 22 11:01:21 2019 +0530
Commit:     Dennis Francis <dennis.francis at collabora.com>
CommitDate: Tue Oct 22 12:11:02 2019 +0200

    Cleanup the array-formula related members in ScInterpreter...
    
    too in Init(). This is a follow-up of the commit :
    
    7fbe8e8213e4b435aeb9b2035c1dcc633b873659
    Pre-allocate an ScInterpreter object for each thread...
    
    Change-Id: I3f7617f63938499c18c0ddfdfad3622cf03815fb
    Reviewed-on: https://gerrit.libreoffice.org/81300
    Tested-by: Jenkins
    Reviewed-by: Dennis Francis <dennis.francis at collabora.com>

diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index fc419d4a5935..0cbf9b10e154 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -3835,6 +3835,8 @@ void ScInterpreter::Init( ScFormulaCell* pCell, const ScAddress& rPos, ScTokenAr
     aPos = rPos;
     pArr = &rTokArray;
     xResult = nullptr;
+    pJumpMatrix = nullptr;
+    pTokenMatrixMap.reset();
     pMyFormulaCell = pCell;
     pCur = nullptr;
     nGlobalError = FormulaError::NONE;


More information about the Libreoffice-commits mailing list