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

use AddRecalcMode(RECALCMODE_ONLOAD), fdo#60645 related

Instead of SetRecalcModeOnLoad() which sets the exclusive bit overriding
RECALCMODE_ALWAYS use AddRecalcMode() that handles these cases.

Change-Id: Ieeeff67d4dda1493e8c48f231b870513f655839a
üst cf831842
...@@ -1070,16 +1070,16 @@ void FormulaCompiler::Factor() ...@@ -1070,16 +1070,16 @@ void FormulaCompiler::Factor()
// and recalc mode on load, fdo#60646 // and recalc mode on load, fdo#60646
case ocCell : case ocCell :
pArr->SetRecalcModeOnRefMove(); pArr->SetRecalcModeOnRefMove();
pArr->SetRecalcModeOnLoad(); pArr->AddRecalcMode( RECALCMODE_ONLOAD );
break; break;
case ocHyperLink : case ocHyperLink :
// cell with hyperlink needs to be calculated on load to // cell with hyperlink needs to be calculated on load to
// get its matrix result generated. // get its matrix result generated.
pArr->SetRecalcModeOnLoad(); pArr->AddRecalcMode( RECALCMODE_ONLOAD );
pArr->SetHyperLink(true); pArr->SetHyperLink(true);
break; break;
case ocDde: case ocDde:
pArr->SetRecalcModeOnLoad(); pArr->AddRecalcMode( RECALCMODE_ONLOAD );
break; break;
default: default:
; // nothing ; // nothing
......
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