summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
Diffstat (limited to 'formula')
-rw-r--r--formula/source/core/api/FormulaCompiler.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index 870d8f2d6e80..cfdae59d251c 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -1744,15 +1744,12 @@ void FormulaCompiler::CreateStringFromTokenArray( OUStringBuffer& rBuffer )
if (pArr->NeedsPofRewrite( aConv))
pArr = pArr->RewriteMissing( false, aConv );
}
- else
+ else if ( FormulaGrammar::isOOXML( meGrammar ) )
{
// fdo#81596
- if ( FormulaGrammar::isOOXML( meGrammar ) )
- {
// Scan token array for missing args and rewrite if present.
if ( pArr->NeedsOOXMLRewrite() )
pArr = pArr->RewriteMissing( true, aConv );
- }
}
// At least one character per token, plus some are references, some are