summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <libreoffice@kohei.us>2013-09-08 20:10:37 -0400
committerKohei Yoshida <libreoffice@kohei.us>2013-09-08 20:11:34 -0400
commit404d70790ff3b35c116dd5fe172bb9a210d2b367 (patch)
treed485f23279fe396ff9d466ea9deecd5a65fcbd37 /sc
parent00adb9d393dd1f6dff6a6bd6e036d9e040fa37ee (diff)
We still need to manually get the matrix cell to start listening.
Change-Id: Iadf00c3419b977e979b893b52439758c6ac14f01
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/formulabuffer.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx
index 5de935e7d451..065107185182 100644
--- a/sc/source/filter/oox/formulabuffer.cxx
+++ b/sc/source/filter/oox/formulabuffer.cxx
@@ -246,6 +246,10 @@ void FormulaBuffer::applyArrayFormulas( const std::vector< TokenRangeAddressItem
rDoc.InsertMatrixFormula(
aRange.aStart.Col(), aRange.aStart.Row(), aRange.aEnd.Col(), aRange.aEnd.Row(),
aMark, it->maTokenAndAddress.maTokenStr, pArray, formula::FormulaGrammar::GRAM_ENGLISH_XL_OOX);
+
+ ScFormulaCell* pFC = rDoc.GetFormulaCell(aPos);
+ if (pFC)
+ pFC->StartListeningTo(&rDoc);
}
}
}