summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--formula/source/ui/dlg/formula.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index 9e8e56b4eab1..9e66f7e663fb 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -777,11 +777,11 @@ void FormulaDlg_Impl::UpdateTokenArray( const OUString& rStrExp)
}
} // if ( pTokens && nLen == m_aTokenList.getLength() )
- FormulaCompiler aCompiler(*m_pTokenArray.get());
+ std::unique_ptr<FormulaCompiler> pCompiler( m_pHelper->createCompiler(*m_pTokenArray.get()));
// #i101512# Disable special handling of jump commands.
- aCompiler.EnableJumpCommandReorder(false);
- aCompiler.EnableStopOnError(false);
- aCompiler.CompileTokenArray();
+ pCompiler->EnableJumpCommandReorder(false);
+ pCompiler->EnableStopOnError(false);
+ pCompiler->CompileTokenArray();
}
void FormulaDlg_Impl::FillDialog(bool bFlag)