summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-01-27 15:14:39 +0200
committerTor Lillqvist <tml@collabora.com>2016-01-27 15:17:36 +0200
commitaee3355a8a7a6b7749f2eddd74e9389fe5782186 (patch)
treea70c50b38b0bd32ac29aff926bd852f174bd11ed
parenta5b4f6e456bfb735385e8d3d6945ea8f3be1ba94 (diff)
tdf#96222: Don't attempt to handle matrix formulas as formula groups
(Also known as array formulas.) Change-Id: Ief61c75efb05ea7c880d05e118d9fe10177774db
-rw-r--r--sc/source/core/data/formulacell.cxx6
1 files changed, 6 insertions, 0 deletions
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: