diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-25 08:09:43 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-02-26 12:10:05 +0000 |
commit | d8ae8130759119fe5e1a184bab5a06d469a8689a (patch) | |
tree | 863e5aff1d4d35ebfbfe4678af7829e40dfc8ddf | |
parent | 8f5ad437835822cdcb6d46b1c468d7d9ca52e1ea (diff) |
ocMacro and ocExternal need to be recalculated on load, fdo#60977
Change-Id: I9e69ca2feae44bc645e8a49e349557f0933a23eb
Reviewed-on: https://gerrit.libreoffice.org/2413
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-on: https://gerrit.libreoffice.org/2417
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Reviewed-by: Jan Holesovsky <kendy@suse.cz>
Tested-by: Jan Holesovsky <kendy@suse.cz>
-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 468ecd321a68..16b3fd5c5f24 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -1061,6 +1061,9 @@ void FormulaCompiler::Factor() // Don't use SetRecalcModeOnLoad() which would override // ModeAlways. case ocConvert : + case ocDde: + case ocMacro: + case ocExternal: pArr->AddRecalcMode( RECALCMODE_ONLOAD ); break; // If the referred cell is moved the value changes. @@ -1080,9 +1083,6 @@ void FormulaCompiler::Factor() pArr->AddRecalcMode( RECALCMODE_ONLOAD ); pArr->SetHyperLink(true); break; - case ocDde: - pArr->AddRecalcMode( RECALCMODE_ONLOAD ); - break; default: ; // nothing } |