diff options
author | Eike Rathke <erack@redhat.com> | 2015-10-30 18:43:18 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-10-30 19:28:55 +0100 |
commit | a2c8358c99d465b8396931fb0bddec0a013031af (patch) | |
tree | 4171606f3099d6a81171229f9824ff3e2c6da0f2 | |
parent | f96508f3230f6f098a26546d12a50b7a19130117 (diff) |
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
-rw-r--r-- | sc/source/core/data/documen7.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx index 864a77b757b6..b86370ebdb61 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 { |