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

resolved fdo#76949 correct grammar is GRAM_OOXML

Regression introduced with ca8ca8c2 that
used GRAM_ENGLISH_XL_OOX instead, which is English UI function names
with OOXML reference syntax.

Change-Id: If6b73e85a45e57f6ef281d1edf8e34dec7cb9bb8
üst cc911e8b
...@@ -821,7 +821,7 @@ OUString XclXmlUtils::ToOUString( ...@@ -821,7 +821,7 @@ OUString XclXmlUtils::ToOUString(
ScDocument& rDocument, const ScAddress& rAddress, const ScTokenArray* pTokenArray ) ScDocument& rDocument, const ScAddress& rAddress, const ScTokenArray* pTokenArray )
{ {
ScCompiler aCompiler( &rDocument, rAddress, const_cast<ScTokenArray&>(*pTokenArray)); ScCompiler aCompiler( &rDocument, rAddress, const_cast<ScTokenArray&>(*pTokenArray));
aCompiler.SetGrammar(FormulaGrammar::GRAM_ENGLISH_XL_OOX); aCompiler.SetGrammar(FormulaGrammar::GRAM_OOXML);
OUStringBuffer aBuffer( pTokenArray->GetLen() * 5 ); OUStringBuffer aBuffer( pTokenArray->GetLen() * 5 );
aCompiler.CreateStringFromTokenArray( aBuffer ); aCompiler.CreateStringFromTokenArray( aBuffer );
......
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