summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-03-12 01:18:21 +0100
committerEike Rathke <erack@redhat.com>2015-03-12 02:47:15 +0100
commitc6312364b60f65d63b9f99fcbe20c159a486aadb (patch)
treeedffeb5446b7a39bf448f7426f2ea4150e53b324 /include
parent7b355da6853af6678c4ba22710d157cf8a6d43eb (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/formula/FormulaCompiler.hxx3
1 files changed, 2 insertions, 1 deletions
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 );