From c6312364b60f65d63b9f99fcbe20c159a486aadb Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 12 Mar 2015 01:18:21 +0100 Subject: init and compare opcode hashmap with uppercase symbols This is necessary now there are TableRef items like #All that need to be matched case insensitive but displayed preserving the case as coded / translated. As a side effect, OOXML functions with _xlfn. prefix are now matched in case that prefix was uppercase. Change-Id: Ie14700d13c40c3e39e6d6aff560bcdfe23707196 --- include/formula/FormulaCompiler.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/formula/FormulaCompiler.hxx') diff --git a/include/formula/FormulaCompiler.hxx b/include/formula/FormulaCompiler.hxx index 7f9097b64e64..74d618fa8ee6 100644 --- a/include/formula/FormulaCompiler.hxx +++ b/include/formula/FormulaCompiler.hxx @@ -46,6 +46,7 @@ namespace com { namespace sun { namespace star { } }}} +class CharClass; namespace formula { @@ -159,7 +160,7 @@ public: inline bool hasExternals() const { return !mpExternalHashMap->empty(); } /// Put entry of symbol String and OpCode pair. - void putOpCode( const OUString & rStr, const OpCode eOp ); + void putOpCode( const OUString & rStr, const OpCode eOp, const CharClass* pCharClass ); /// Put entry of symbol String and AddIn international String pair. void putExternal( const OUString & rSymbol, const OUString & rAddIn ); -- cgit