summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/compiler.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-15 16:46:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-17 11:08:31 +0200
commitee236b2c6738e34be86052fb819a31dc00d54541 (patch)
tree561a5eb726d6f4af76872b50f3f1eaf09d7cf960 /sc/source/core/tool/compiler.cxx
parentfb4c53a1bbe57de93a92abc04736c0afdfd16170 (diff)
base-class formula::FormulaCompiler is sufficient here
Change-Id: Ic95bcc33fda1edb762009c4ca4fd3448640259bf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102900 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r--sc/source/core/tool/compiler.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index f47d142e4382..00602e665030 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -181,7 +181,8 @@ bool ScCompiler::IsEnglishSymbol( const OUString& rName )
OUString aUpper = ScGlobal::getCharClassPtr()->uppercase(rName);
// 1. built-in function name
- OpCode eOp = ScCompiler::GetEnglishOpCode( aUpper );
+ formula::FormulaCompiler aCompiler;
+ OpCode eOp = aCompiler.GetEnglishOpCode( aUpper );
if ( eOp != ocNone )
{
return true;