Kaydet (Commit) 9344af95 authored tarafından Eike Rathke's avatar Eike Rathke

nitpick on comment form

Change-Id: I023f79187aaf6eb943a50516dace2aa229c5a87b
üst 0be29a46
...@@ -675,8 +675,8 @@ void WorkbookGlobals::recalcFormulaCells() ...@@ -675,8 +675,8 @@ void WorkbookGlobals::recalcFormulaCells()
officecfg::Office::Calc::Formula::Load::OOXMLRecalcMode::set(sal_Int32(0), batch); officecfg::Office::Calc::Formula::Load::OOXMLRecalcMode::set(sal_Int32(0), batch);
ScFormulaOptions aOpt = SC_MOD()->GetFormulaOptions(); ScFormulaOptions aOpt = SC_MOD()->GetFormulaOptions();
aOpt.SetOOXMLRecalcOptions(bHardRecalc ? RECALC_ALWAYS : RECALC_NEVER); aOpt.SetOOXMLRecalcOptions(bHardRecalc ? RECALC_ALWAYS : RECALC_NEVER);
/** XXX is this really supposed to set the ScModule options? /* XXX is this really supposed to set the ScModule options?
Not the ScDocShell options? */ * Not the ScDocShell options? */
SC_MOD()->SetFormulaOptions(aOpt); SC_MOD()->SetFormulaOptions(aOpt);
batch->commit(); batch->commit();
......
...@@ -484,8 +484,8 @@ bool ScDocShell::LoadXML( SfxMedium* pLoadMedium, const ::com::sun::star::uno::R ...@@ -484,8 +484,8 @@ bool ScDocShell::LoadXML( SfxMedium* pLoadMedium, const ::com::sun::star::uno::R
officecfg::Office::Calc::Formula::Load::ODFRecalcMode::set(sal_Int32(0), batch); officecfg::Office::Calc::Formula::Load::ODFRecalcMode::set(sal_Int32(0), batch);
ScFormulaOptions aOpt = SC_MOD()->GetFormulaOptions(); ScFormulaOptions aOpt = SC_MOD()->GetFormulaOptions();
aOpt.SetODFRecalcOptions(bHardRecalc ? RECALC_ALWAYS : RECALC_NEVER); aOpt.SetODFRecalcOptions(bHardRecalc ? RECALC_ALWAYS : RECALC_NEVER);
/** XXX is this really supposed to set the ScModule options? /* XXX is this really supposed to set the ScModule options?
Not the ScDocShell options? */ * Not the ScDocShell options? */
SC_MOD()->SetFormulaOptions(aOpt); SC_MOD()->SetFormulaOptions(aOpt);
batch->commit(); batch->commit();
......
...@@ -456,8 +456,8 @@ void ScDocShell::SetFormulaOptions( const ScFormulaOptions& rOpt, bool bForLoadi ...@@ -456,8 +456,8 @@ void ScDocShell::SetFormulaOptions( const ScFormulaOptions& rOpt, bool bForLoadi
// Wizard when loading the second document. // Wizard when loading the second document.
// Do the stupid stuff only when we're not called while loading a document. // Do the stupid stuff only when we're not called while loading a document.
/** TODO: bForLoading is a workaround, rather get rid of setting any /* TODO: bForLoading is a workaround, rather get rid of setting any
globals from per document instances like ScDocShell. */ * globals from per document instances like ScDocShell. */
if (!bForLoading) if (!bForLoading)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment