[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Fri Mar 14 10:55:18 PDT 2014
sc/source/ui/app/scmod.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit cc847b5885f89e9292ba6aec1298f3261a966c66
Author: Eike Rathke <erack at redhat.com>
Date: Fri Mar 14 18:52:54 2014 +0100
recalc for interpreter options changes
Change-Id: I6a6d0ba558d0aae075e2a00f76ce96990af882d3
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index b4f2829..99492d1 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 )
More information about the Libreoffice-commits
mailing list