From a11f944b4c3d268e0f3b36bbccba3a50d2db066a Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 25 Feb 2013 08:09:43 +0100 Subject: ocMacro and ocExternal need to be recalculated on load, fdo#60977 Change-Id: I9e69ca2feae44bc645e8a49e349557f0933a23eb --- formula/source/core/api/FormulaCompiler.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index eca4fb55e0c5..3cfb903ec099 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -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 } -- cgit