summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-11-27 09:48:37 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-11-27 10:09:20 -0500
commitfdc57d0d66727cb726c44a9993dddc9a5cf6ae7a (patch)
tree2f9f6b265c6183dcf38df419ee47488fb532f64a /sc
parent8518cf42f48cdf07ad14681cb19f476438542236 (diff)
Re-group formula cells before we do recalc on load (for xlsx).
Change-Id: Iae6177433f05875e014de50eb4100fa381ddafdd
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/workbookfragment.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx
index f8b5ef7e3bdf..c189be934c9b 100644
--- a/sc/source/filter/oox/workbookfragment.cxx
+++ b/sc/source/filter/oox/workbookfragment.cxx
@@ -532,6 +532,7 @@ void WorkbookFragment::finalizeImport()
// Recalculate formula cells.
ScDocument& rDoc = getScDocument();
+ rDoc.RebuildFormulaGroups();
ScDocShell& rDocSh = getDocShell();
Reference< XComponentContext > xContext = comphelper::getProcessComponentContext();
ScRecalcOptions nRecalcMode =