Kaydet (Commit) f7e49322 authored tarafından Eike Rathke's avatar Eike Rathke

Resolves: tdf#92749 invalidate lookup caches after initial hard recalc

... because the caches are not setup as listeners during when the
document's hard recalc state is active.

Change-Id: Ie7ec84ee64d046e3e55ce26b92824e94a2f660e9
üst a962d699
......@@ -3780,6 +3780,14 @@ void ScDocument::CalcAll()
if (*it)
(*it)->CalcAll();
ClearFormulaTree();
// In hard recalc state caches were not added as listeners, invalidate them
// so the next non-CalcAll() normal lookup will not be presented with
// outdated data.
/* TODO: come up with more detailed hard recalc states so we can
* differentiate between hard recalc after load and others. */
if (GetHardRecalcState())
ClearLookupCaches();
}
void ScDocument::CompileAll()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment