From f5523a6ef40197164a2bb56a5f58abc73757568d Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Sat, 23 Apr 2016 22:51:04 +0200 Subject: FormulaByteToken(ocClose) was always wrong ... should be FormulaToken(svSep,ocClose) instead. Though it didn't hurt at the end of a formula where this was generated for auto-correction. Change-Id: I71bd8270ccc268e645eb60298e84acffe39d3a0d --- sc/source/core/tool/compiler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc') diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index f6472867b291..e760997d63c4 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -4370,7 +4370,7 @@ ScTokenArray* ScCompiler::CompileString( const OUString& rFormula ) if (nBrackets) { - FormulaByteToken aToken( ocClose ); + FormulaToken aToken( svSep, ocClose ); while( nBrackets-- ) { if( !pArr->AddToken( aToken ) ) -- cgit