[Libreoffice-commits] .: Branch 'feature/gsoc-calc-perf2' - sc/source
Daniel Bankston
dbank at kemper.freedesktop.org
Thu Jul 12 06:26:41 PDT 2012
sc/source/core/data/cell.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 513635e6993145accc008edccdb5d497f4ccecc6
Author: Daniel Bankston <daniel.e.bankston at gmail.com>
Date: Thu Jul 12 08:23:54 2012 -0500
Check for more cases of functions that should always be recalculated
Thanks to Eike Rathke for pointing this out.
Change-Id: Ie2ce2ebe54cd290a7bf1c55d58790e21833b1105
diff --git a/sc/source/core/data/cell.cxx b/sc/source/core/data/cell.cxx
index 6ab3d2d..82b31f3 100644
--- a/sc/source/core/data/cell.cxx
+++ b/sc/source/core/data/cell.cxx
@@ -1101,7 +1101,8 @@ void ScFormulaCell::CompileXML( ScProgress& rProgress )
pDocument->SetHasMacroFunc( true );
//volatile cells must be added here for import
- if( pCode->IsRecalcModeAlways() )
+ if( pCode->IsRecalcModeAlways() || pCode->IsRecalcModeForced() ||
+ pCode->IsRecalcModeOnLoad() || pCode->IsRecalcModeOnLoadOnce() )
pDocument->PutInFormulaTree(this);
}
More information about the Libreoffice-commits
mailing list