sc/source/filter/oox/workbookfragment.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit bd3baf8dab6c5b8865a33136cc28a016e6ee6afb Author: Eike Rathke <er...@redhat.com> AuthorDate: Tue Jul 17 12:58:30 2018 +0200 Commit: Eike Rathke <er...@redhat.com> CommitDate: Tue Jul 17 17:19:13 2018 +0200 OOXML import: CalcFormulaTree() is unnecessary, tdf#94925 follow-up View will trigger recalc of dirty cells, or anything else accessing formula cell results, so we can avoid a worst case full blown recalc. Change-Id: Ic94c3520358a817614ec730f3471368303e34d2e Reviewed-on: https://gerrit.libreoffice.org/57551 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Eike Rathke <er...@redhat.com> diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx index 330dcb073b2d..162fb3812201 100644 --- a/sc/source/filter/oox/workbookfragment.cxx +++ b/sc/source/filter/oox/workbookfragment.cxx @@ -579,7 +579,9 @@ void WorkbookFragment::recalcFormulaCells() else { getDocImport().broadcastRecalcAfterImport(); - rDoc.CalcFormulaTree(false, true, false); + // Full ScDocument::CalcFormulaTree() of all dirty cells is not + // necessary here, the View will recalculate them in the visible area, + // or any other method accessing formula cell results. } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits