ocMacro and ocExternal need to be recalculated on load, fdo#60977
Change-Id: I9e69ca2feae44bc645e8a49e349557f0933a23eb
This commit is contained in:
@@ -1062,6 +1062,9 @@ void FormulaCompiler::Factor()
|
|||||||
// override ModeAlways, use
|
// override ModeAlways, use
|
||||||
// AddRecalcMode(RECALCMODE_ONLOAD) instead.
|
// AddRecalcMode(RECALCMODE_ONLOAD) instead.
|
||||||
case ocConvert :
|
case ocConvert :
|
||||||
|
case ocDde:
|
||||||
|
case ocMacro:
|
||||||
|
case ocExternal:
|
||||||
pArr->AddRecalcMode( RECALCMODE_ONLOAD );
|
pArr->AddRecalcMode( RECALCMODE_ONLOAD );
|
||||||
break;
|
break;
|
||||||
// If the referred cell is moved the value changes.
|
// If the referred cell is moved the value changes.
|
||||||
@@ -1081,9 +1084,6 @@ void FormulaCompiler::Factor()
|
|||||||
pArr->AddRecalcMode( RECALCMODE_ONLOAD );
|
pArr->AddRecalcMode( RECALCMODE_ONLOAD );
|
||||||
pArr->SetHyperLink(true);
|
pArr->SetHyperLink(true);
|
||||||
break;
|
break;
|
||||||
case ocDde:
|
|
||||||
pArr->AddRecalcMode( RECALCMODE_ONLOAD );
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
; // nothing
|
; // nothing
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user