diff options
author | Dennis Francis <dennis.francis@collabora.com> | 2019-10-15 07:49:06 +0530 |
---|---|---|
committer | Dennis Francis <dennis.francis@collabora.com> | 2019-10-17 08:07:10 +0200 |
commit | a5b394a4c6ce5aa93654ff6d57fc497bcea93001 (patch) | |
tree | d05f41b81d10311ba930746aca092d36ef9f1243 /sc/inc | |
parent | 4ee424b3ddc6e483cac8bd76ddc0bcabe48241dc (diff) |
Reuse pre-allocated ScInterpreter for HandleStuffAfterParallelCalculation
Change-Id: Idf10bb214d6d82370512eeb39ba7786dd9bceb38
Reviewed-on: https://gerrit.libreoffice.org/80846
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/column.hxx | 2 | ||||
-rw-r--r-- | sc/inc/document.hxx | 2 | ||||
-rw-r--r-- | sc/inc/formulacell.hxx | 2 | ||||
-rw-r--r-- | sc/inc/table.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx index 3b7ffbe645e1..18cf3de6231f 100644 --- a/sc/inc/column.hxx +++ b/sc/inc/column.hxx @@ -595,7 +595,7 @@ public: void CalculateInThread( ScInterpreterContext& rContext, SCROW nRow, size_t nLen, size_t nOffset, unsigned nThisThread, unsigned nThreadsTotal ); - void HandleStuffAfterParallelCalculation( SCROW nRow, size_t nLen ); + void HandleStuffAfterParallelCalculation( SCROW nRow, size_t nLen, ScInterpreter* pInterpreter ); void SetNumberFormat( SCROW nRow, sal_uInt32 nNumberFormat ); diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 9e19ad228a36..256f105ed7fd 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -2153,7 +2153,7 @@ public: void SC_DLLPUBLIC SetFormulaResults( const ScAddress& rTopPos, const double* pResults, size_t nLen ); const ScDocumentThreadSpecific& CalculateInColumnInThread( ScInterpreterContext& rContext, const ScRange& rCalcRange, unsigned nThisThread, unsigned nThreadsTotal); - void HandleStuffAfterParallelCalculation( SCCOL nColStart, SCCOL nColEnd, SCROW nRow, size_t nLen, SCTAB nTab ); + void HandleStuffAfterParallelCalculation( SCCOL nColStart, SCCOL nColEnd, SCROW nRow, size_t nLen, SCTAB nTab, ScInterpreter* pInterpreter ); /** * Transfer a series of contiguous cell values from specified position to diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx index 65a3a4af7733..9a5af01a3851 100644 --- a/sc/inc/formulacell.hxx +++ b/sc/inc/formulacell.hxx @@ -167,7 +167,7 @@ public: }; void InterpretTail( ScInterpreterContext&, ScInterpretTailParameter ); - void HandleStuffAfterParallelCalculation(); + void HandleStuffAfterParallelCalculation(ScInterpreter* pInterpreter); enum CompareState { NotEqual = 0, EqualInvariant, EqualRelativeRef }; diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx index 78bfa854e33d..9756930b08e1 100644 --- a/sc/inc/table.hxx +++ b/sc/inc/table.hxx @@ -1014,7 +1014,7 @@ public: void CalculateInColumnInThread( ScInterpreterContext& rContext, SCCOL nColStart, SCCOL nColEnd, SCROW nRowStart, SCROW nRowEnd, unsigned nThisThread, unsigned nThreadsTotal); - void HandleStuffAfterParallelCalculation( SCCOL nColStart, SCCOL nColEnd, SCROW nRow, size_t nLen); + void HandleStuffAfterParallelCalculation( SCCOL nColStart, SCCOL nColEnd, SCROW nRow, size_t nLen, ScInterpreter* pInterpreter); /** * Either start all formula cells as listeners unconditionally, or start |