diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-25 08:09:43 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-25 08:16:31 +0100 |
commit | a11f944b4c3d268e0f3b36bbccba3a50d2db066a (patch) | |
tree | 200c3e4ed87879bb2553d3f1fe69c7dcdcb35931 /formula | |
parent | 5d8548da365c326919597fa0d2699a6762889dc9 (diff) |
ocMacro and ocExternal need to be recalculated on load, fdo#60977
Change-Id: I9e69ca2feae44bc645e8a49e349557f0933a23eb
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/FormulaCompiler.cxx | 6 |
1 files 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 } |