Kaydet (Commit) a8a8ff59 authored tarafından Eike Rathke's avatar Eike Rathke

sc-perf: tdf#79023 do not call SvNumberFormatter also for numbers in OOXML

Change-Id: Ib565687bff2205da0213f6d523dd2bc42c96ad47
üst 73c7e092
......@@ -2894,7 +2894,8 @@ static bool lcl_ParenthesisFollows( const sal_Unicode* p )
bool ScCompiler::IsValue( const OUString& rSym )
{
if (FormulaGrammar::isODFF( GetGrammar()))
const sal_Int32 nFormulaLanguage = FormulaGrammar::extractFormulaLanguage( GetGrammar());
if (nFormulaLanguage == css::sheet::FormulaLanguage::ODFF || nFormulaLanguage == css::sheet::FormulaLanguage::OOXML)
{
// Speedup things for ODFF, only well-formed numbers, not locale
// dependent nor user input.
......
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