From bed0447cefb949fc77cfde7543397d96590082ba Mon Sep 17 00:00:00 2001 From: Daniel Bankston Date: Thu, 12 Jul 2012 08:23:54 -0500 Subject: Check for more cases of functions that should always be recalculated Thanks to Eike Rathke for pointing this out. Change-Id: Ie2ce2ebe54cd290a7bf1c55d58790e21833b1105 --- sc/source/core/data/cell.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sc/source/core/data/cell.cxx b/sc/source/core/data/cell.cxx index 0e34b3510ccb..4676cc8a0e17 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); } -- cgit