Kaydet (Commit) 01ea75c0 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Add separate list of function names for OOXML import.

Change-Id: Id6bb9ed65f94a56e82c0c4a6fee241dec4eb9138
üst a1ff0b3c
...@@ -703,7 +703,7 @@ void FormulaCompiler::InitSymbolsEnglishXL() const ...@@ -703,7 +703,7 @@ void FormulaCompiler::InitSymbolsEnglishXL() const
static OpCodeMapData aMap; static OpCodeMapData aMap;
osl::MutexGuard aGuard(&aMap.maMtx); osl::MutexGuard aGuard(&aMap.maMtx);
if (!aMap.mxSymbolMap) if (!aMap.mxSymbolMap)
loadSymbols(RID_STRLIST_FUNCTION_NAMES_ENGLISH, FormulaGrammar::GRAM_ENGLISH, aMap.mxSymbolMap); loadSymbols(RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML, FormulaGrammar::GRAM_ENGLISH, aMap.mxSymbolMap);
mxSymbolsEnglishXL = aMap.mxSymbolMap; mxSymbolsEnglishXL = aMap.mxSymbolMap;
// TODO: For now, just replace the separators to the Excel English // TODO: For now, just replace the separators to the Excel English
......
...@@ -29,8 +29,9 @@ ...@@ -29,8 +29,9 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
//- String-IDs //- String-IDs
#define RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF (RID_CORE_OTHER_START + 0) #define RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF (RID_CORE_OTHER_START + 0)
#define RID_STRLIST_FUNCTION_NAMES_ENGLISH (RID_CORE_OTHER_START + 1) #define RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML (RID_CORE_OTHER_START + 1)
#define RID_STRLIST_FUNCTION_NAMES (RID_CORE_OTHER_START + 2) #define RID_STRLIST_FUNCTION_NAMES_ENGLISH (RID_CORE_OTHER_START + 2)
#define RID_STRLIST_FUNCTION_NAMES (RID_CORE_OTHER_START + 3)
#endif // _FORMULA_CORE_RESOURCE_HRC_ #endif // _FORMULA_CORE_RESOURCE_HRC_
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment