summaryrefslogtreecommitdiff
path: root/sc/source/ui/app
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-03-14 18:52:54 +0100
committerEike Rathke <erack@redhat.com>2014-03-14 18:54:49 +0100
commitcc847b5885f89e9292ba6aec1298f3261a966c66 (patch)
tree8e1ea63ec13c1355601d7e31a421a8a92941dcf7 /sc/source/ui/app
parent200cc2d20a21ceb5d176604f9c384f15c6a87570 (diff)
recalc for interpreter options changes
Change-Id: I6a6d0ba558d0aae075e2a00f76ce96990af882d3
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r--sc/source/ui/app/scmod.cxx4
1 files changed, 4 insertions, 0 deletions
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 )