From 90bac31f6e6aa73aafe247074bd80f5a9d91cfe6 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 27 Nov 2013 23:29:39 -0500 Subject: [PATCH] Clear the cache here too. Change-Id: I4dcc7244e508fcdf484b73dc843b21f4b0a18a73 --- sc/source/core/data/document.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 2fa2b0e5b781..8048d0265344 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -3583,6 +3583,8 @@ void ScDocument::InterpretDirtyCells( const ScRangeList& rRanges ) if (!GetAutoCalc()) return; + mpFormulaGroupCxt.reset(); + for (size_t nPos=0, nRangeCount = rRanges.size(); nPos < nRangeCount; nPos++) { const ScRange& rRange = *rRanges[nPos]; @@ -3596,6 +3598,8 @@ void ScDocument::InterpretDirtyCells( const ScRangeList& rRanges ) rRange.aStart.Col(), rRange.aStart.Row(), rRange.aEnd.Col(), rRange.aEnd.Row()); } } + + mpFormulaGroupCxt.reset(); }