[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Fri Oct 30 11:29:41 PDT 2015
sc/source/core/data/documen7.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a2c8358c99d465b8396931fb0bddec0a013031af
Author: Eike Rathke <erack at redhat.com>
Date: Fri Oct 30 18:43:18 2015 +0100
tdf#95419 fix performance fall-out, tdf#92749 follow-up
Commit 1bea8310747b65516f40f6457ab1d174ef7ddce4 erroneously introduced a
hard recalc of all formula cells if ScDocument::CalcFormulaTree() was
called only for forced RecalcModeForced formula cells during load when
HardRecalcState is HARDRECALCSTATE_TEMPORARY through
ScDocShell::AfterXMLLoading() -> ScDocShell::SetDocumentModified() if
aDocument.IsForcedFormulaPending()
Change-Id: Ib6b9ac07fa183adf26fdb56dcee029ee2b9cc5da
diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx
index 864a77b..b86370e 100644
--- a/sc/source/core/data/documen7.cxx
+++ b/sc/source/core/data/documen7.cxx
@@ -418,7 +418,7 @@ void ScDocument::CalcFormulaTree( bool bOnlyForced, bool bProgressBar, bool bSet
//ATTENTION: _not_ SetAutoCalc( true ) because this might call CalcFormulaTree( true )
//ATTENTION: if it was disabled before and bHasForcedFormulas is set
bAutoCalc = true;
- if (eHardRecalcState != HARDRECALCSTATE_OFF)
+ if (eHardRecalcState == HARDRECALCSTATE_ETERNAL)
CalcAll();
else
{
More information about the Libreoffice-commits
mailing list