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

Kohei Yoshida libreoffice at kohei.us
Sun Sep 8 17:07:34 PDT 2013


 sc/source/filter/oox/formulabuffer.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 404d70790ff3b35c116dd5fe172bb9a210d2b367
Author: Kohei Yoshida <libreoffice at kohei.us>
Date:   Sun Sep 8 20:10:37 2013 -0400

    We still need to manually get the matrix cell to start listening.
    
    Change-Id: Iadf00c3419b977e979b893b52439758c6ac14f01

diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx
index 5de935e..0651071 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);
         }
     }
 }


More information about the Libreoffice-commits mailing list