diff options
author | Eike Rathke <erack@redhat.com> | 2022-08-03 22:54:46 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2022-08-04 02:50:59 +0200 |
commit | 86ed0105a4d70d481e3358ae1c6855766ef44d23 (patch) | |
tree | 2715080144d17160074702f5c596e59486b5c727 /formula | |
parent | 8a34f1cb2efc47861781eb2a7b0dc069d71d0cfe (diff) |
Resolves: tdf#150253 Add English names for GRAM_API AddIn functions
... so not only the com.sun.star.sheet.addin.* programmatic names
are recognized for XCell::setFormula() non-localized API calls.
Change-Id: I1f1f3f45001360445b25765312782f04ee079ee9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137769
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/FormulaCompiler.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index 1aa8d9f65855..a13a7a1734e8 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -961,8 +961,7 @@ void FormulaCompiler::InitSymbolsAPI() const static OpCodeMapData aMap; osl::MutexGuard aGuard(&aMap.maMtx); if (!aMap.mxSymbolMap) - // XFunctionAccess API always used PODF grammar, keep it. - loadSymbols(RID_STRLIST_FUNCTION_NAMES_ENGLISH_API, FormulaGrammar::GRAM_PODF, aMap.mxSymbolMap, SeparatorType::RESOURCE_BASE); + loadSymbols(RID_STRLIST_FUNCTION_NAMES_ENGLISH_API, FormulaGrammar::GRAM_API, aMap.mxSymbolMap, SeparatorType::RESOURCE_BASE); mxSymbolsAPI = aMap.mxSymbolMap; } |