summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-04-23 22:51:04 +0200
committerEike Rathke <erack@redhat.com>2016-04-23 22:54:39 +0200
commitf5523a6ef40197164a2bb56a5f58abc73757568d (patch)
treec219146ce796a0f0807929ecc64fa32079f4ee6a /sc
parent0f8a8332a52cd03b43aaab86e0c232e0964d7111 (diff)
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
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/compiler.cxx2
1 files changed, 1 insertions, 1 deletions
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 ) )