From aee3355a8a7a6b7749f2eddd74e9389fe5782186 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 27 Jan 2016 15:14:39 +0200 Subject: tdf#96222: Don't attempt to handle matrix formulas as formula groups (Also known as array formulas.) Change-Id: Ief61c75efb05ea7c880d05e118d9fe10177774db --- sc/source/core/data/formulacell.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index b311d7c18a02..99e13f1899e1 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -3958,6 +3958,12 @@ bool ScFormulaCell::InterpretFormulaGroup() return false; } + if (cMatrixFlag == MM_FORMULA) + { + mxGroup->meCalcState = sc::GroupCalcDisabled; + return false; + } + switch (pCode->GetVectorState()) { case FormulaVectorEnabled: -- cgit