summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/tool/compiler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 2945062f1b37..1f83d27d3c3f 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -4314,10 +4314,10 @@ void ScCompiler::AutoCorrectParsedSymbol()
bool ScCompiler::ToUpperAsciiOrI18nIsAscii( OUString& rUpper, const OUString& rOrg ) const
{
- if (FormulaGrammar::isODFF( meGrammar ))
+ if (FormulaGrammar::isODFF( meGrammar) || FormulaGrammar::isOOXML( meGrammar))
{
- // ODFF has a defined set of English function names, avoid i18n
- // overhead.
+ // ODFF and OOXML have defined sets of English function names, avoid
+ // i18n overhead.
rUpper = rOrg.toAsciiUpperCase();
return true;
}