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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Nov 13 12:21:00 UTC 2018


 sc/source/core/tool/token.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 823f40e011774fb044d64390f59661867cb38d9f
Author:     Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Thu Nov 8 15:08:48 2018 +0100
Commit:     Luboš Luňák <l.lunak at collabora.com>
CommitDate: Tue Nov 13 13:20:36 2018 +0100

    blacklist svMatrix for calc threaded calculation
    
    If a formula contains a matrix, interpreting it will actually result
    in modifying it in some ways (e.g. ScInterpreter::PopRangeMatrix() calls
    SetErrorInterpreter() on the matrix).
    Testcase: rhbz#1645905
    
    Change-Id: I63742449ba0e4e375d6e459dc7bccd7e6b62920e
    Reviewed-on: https://gerrit.libreoffice.org/63187
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    Tested-by: Jenkins

diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index 293b238150aa..8436be93f5ff 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -1334,6 +1334,7 @@ void ScTokenArray::CheckForThreading( const FormulaToken& r )
             case svExternalDoubleRef:
             case svExternalSingleRef:
             case svExternalName:
+            case svMatrix:
                 SAL_INFO("sc.core.formulagroup", "opcode ocPush: variable type " << StackVarEnumToString(r.GetType())
                     << " disables threaded calculation of formula group");
                 mbThreadingEnabled = false;


More information about the Libreoffice-commits mailing list