sc-perf: tdf#79023 do not call SvNumberFormatter also for numbers in OOXML
Change-Id: Ib565687bff2205da0213f6d523dd2bc42c96ad47
This commit is contained in:
parent
73c7e0921d
commit
a8a8ff59c5
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue