sc/source/core/data/global.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ac371ee822e6640a8e2d6591236c22d1ab679462
Author:     Eike Rathke <er...@redhat.com>
AuthorDate: Tue Aug 30 16:55:20 2022 +0200
Commit:     Eike Rathke <er...@redhat.com>
CommitDate: Tue Aug 30 22:55:14 2022 +0200

    Use ScFunctionList::IsEnglishFunctionNames()
    
    Change-Id: I21a7bf18c2117187b2e8c770b9367f46323b2c2d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139054
    Reviewed-by: Eike Rathke <er...@redhat.com>
    Tested-by: Jenkins

diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
index 58b3a1e70281..a7b63ce1eb40 100644
--- a/sc/source/core/data/global.cxx
+++ b/sc/source/core/data/global.cxx
@@ -655,7 +655,7 @@ const InputHandlerFunctionNames& 
ScGlobal::GetInputHandlerFunctionNames()
         const OUString aParenthesesReplacement( cParenthesesReplacement);
         const ScFunctionList* pFuncList = GetStarCalcFunctionList();
         const sal_uInt32 nListCount = pFuncList->GetCount();
-        const CharClass* pCharClass = 
(SC_MOD()->GetFormulaOptions().GetUseEnglishFuncName()
+        const CharClass* pCharClass = (pFuncList->IsEnglishFunctionNames()
                 ? ScCompiler::GetCharClassEnglish()
                 : ScCompiler::GetCharClassLocalized());
         for (sal_uInt32 i=0; i < nListCount; ++i)

Reply via email to