From 404d70790ff3b35c116dd5fe172bb9a210d2b367 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Sun, 8 Sep 2013 20:10:37 -0400 Subject: We still need to manually get the matrix cell to start listening. Change-Id: Iadf00c3419b977e979b893b52439758c6ac14f01 --- sc/source/filter/oox/formulabuffer.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sc') 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); } } } -- cgit