[Libreoffice-commits] core.git: sc/source
Eike Rathke
erack at redhat.com
Sat Apr 23 21:16:31 UTC 2016
sc/source/core/tool/compiler.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f5523a6ef40197164a2bb56a5f58abc73757568d
Author: Eike Rathke <erack at redhat.com>
Date: Sat Apr 23 22:51:04 2016 +0200
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
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index f647286..e760997 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 ) )
More information about the Libreoffice-commits
mailing list