summaryrefslogtreecommitdiff
path: root/sc/inc/documentimport.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-07-14 14:09:12 +0200
committerEike Rathke <erack@redhat.com>2018-07-14 15:38:47 +0200
commit4247120b0edc0429a228dc8ea0ea820aa2f09214 (patch)
tree84cba4aa192afc0c8b473a4d4b256f600a757e49 /sc/inc/documentimport.hxx
parentdb2d8301613f2eb95b76f3468d92a06dfd49fff4 (diff)
Broadcast formula cells marked for recalc, tdf#94925 related
In fact the ScDocument::CalcFormulaTree() call in WorkbookFragment::recalcFormulaCells() never did anything because no formula cell was added to the tree. Only visible dirty cells were recalculated, but not their dependents. Change-Id: I11217fa19adb766f509d0d6854502112de547c59 Reviewed-on: https://gerrit.libreoffice.org/57431 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sc/inc/documentimport.hxx')
-rw-r--r--sc/inc/documentimport.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/inc/documentimport.hxx b/sc/inc/documentimport.hxx
index f902e1858741..1a8b1cbd514f 100644
--- a/sc/inc/documentimport.hxx
+++ b/sc/inc/documentimport.hxx
@@ -125,8 +125,15 @@ public:
void finalize();
+ /** Broadcast all formula cells that are marked with
+ FormulaTokenArray::IsRecalcModeMustAfterImport() for a subsequent
+ ScDocument::CalcFormulaTree().
+ */
+ void broadcastRecalcAfterImport();
+
private:
void initColumn(ScColumn& rCol);
+ void broadcastRecalcAfterImportColumn(ScColumn& rCol);
};
#endif