sc/source/core/tool/compiler.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit b8a83c5c63873faf1a63205b8aad634f351d1a9f Author: Eike Rathke <er...@redhat.com> AuthorDate: Thu Sep 1 13:40:58 2022 +0200 Commit: Eike Rathke <er...@redhat.com> CommitDate: Thu Sep 1 16:29:49 2022 +0200 Related: tdf#142293 Use FormulaCompiler::GetFinalOpCodeMap() in ScCompiler Change-Id: I65bf11fca11acfbc372c99a5210e0f79b61f2be4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139171 Reviewed-by: Eike Rathke <er...@redhat.com> Tested-by: Jenkins diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index ecd1dfed63f6..d19f1b665201 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -261,17 +261,17 @@ void ScCompiler::SetGrammar( const FormulaGrammar::Grammar eGrammar ) if( eGrammar == FormulaGrammar::GRAM_EXTERNAL ) { meGrammar = eGrammar; - mxSymbols = GetOpCodeMap( css::sheet::FormulaLanguage::NATIVE); + mxSymbols = GetFinalOpCodeMap( css::sheet::FormulaLanguage::NATIVE); } else { FormulaGrammar::Grammar eMyGrammar = eGrammar; const sal_Int32 nFormulaLanguage = FormulaGrammar::extractFormulaLanguage( eMyGrammar); - OpCodeMapPtr xMap = GetOpCodeMap( nFormulaLanguage); + OpCodeMapPtr xMap = GetFinalOpCodeMap( nFormulaLanguage); OSL_ENSURE( xMap, "ScCompiler::SetGrammar: unknown formula language"); if (!xMap) { - xMap = GetOpCodeMap( css::sheet::FormulaLanguage::NATIVE); + xMap = GetFinalOpCodeMap( css::sheet::FormulaLanguage::NATIVE); eMyGrammar = xMap->getGrammar(); }