diff options
author | Eike Rathke <erack@redhat.com> | 2013-02-15 13:07:00 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-02-15 13:57:27 +0100 |
commit | ff319d052659974d1aa5d6ac8c468a7259a46cc4 (patch) | |
tree | 1706b78d673e55a151c5c41c2912c5776265c726 | |
parent | prevent out-of-bounds buffer writes in EnumLocalesParams (diff) | |
download | core-ff319d052659974d1aa5d6ac8c468a7259a46cc4.tar.gz core-ff319d052659974d1aa5d6ac8c468a7259a46cc4.zip |
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
-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 c4e6cb163e28..a8bfcbd0a0c3 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -1070,16 +1070,16 @@ void FormulaCompiler::Factor() // and recalc mode on load, fdo#60646 case ocCell : pArr->SetRecalcModeOnRefMove(); - pArr->SetRecalcModeOnLoad(); + pArr->AddRecalcMode( RECALCMODE_ONLOAD ); break; case ocHyperLink : // cell with hyperlink needs to be calculated on load to // get its matrix result generated. - pArr->SetRecalcModeOnLoad(); + pArr->AddRecalcMode( RECALCMODE_ONLOAD ); pArr->SetHyperLink(true); break; case ocDde: - pArr->SetRecalcModeOnLoad(); + pArr->AddRecalcMode( RECALCMODE_ONLOAD ); break; default: ; // nothing |