ocMacro and ocExternal need to be recalculated on load, fdo#60977

Change-Id: I9e69ca2feae44bc645e8a49e349557f0933a23eb
This commit is contained in:
Markus Mohrhard 2013-02-25 08:09:43 +01:00
parent 5d8548da36
commit a11f944b4c

View File

@ -1062,6 +1062,9 @@ void FormulaCompiler::Factor()
// override ModeAlways, use
// AddRecalcMode(RECALCMODE_ONLOAD) instead.
case ocConvert :
case ocDde:
case ocMacro:
case ocExternal:
pArr->AddRecalcMode( RECALCMODE_ONLOAD );
break;
// If the referred cell is moved the value changes.
@ -1081,9 +1084,6 @@ void FormulaCompiler::Factor()
pArr->AddRecalcMode( RECALCMODE_ONLOAD );
pArr->SetHyperLink(true);
break;
case ocDde:
pArr->AddRecalcMode( RECALCMODE_ONLOAD );
break;
default:
; // nothing
}