From cc847b5885f89e9292ba6aec1298f3261a966c66 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 14 Mar 2014 18:52:54 +0100 Subject: [PATCH] recalc for interpreter options changes Change-Id: I6a6d0ba558d0aae075e2a00f76ce96990af882d3 --- sc/source/ui/app/scmod.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index b4f28294c86d..99492d195ce1 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -1081,6 +1081,10 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet ) bCompileErrorCells = true; } + // Recalc for interpreter options changes. + if (pFormulaCfg && pFormulaCfg->GetCalcConfig() != rOpt.GetCalcConfig()) + bCalcAll = true; + SetFormulaOptions( rOpt ); if ( pDocSh )