diff options
author | Eike Rathke <erack@redhat.com> | 2015-04-09 14:39:52 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-04-09 18:19:02 +0200 |
commit | 3335b46d123053b1228b94207a32bab08cf9d4e3 (patch) | |
tree | c72c47bc5cbb724d4940ff3bad0374d14c53e0f0 /sc/source | |
parent | d5e1b41330fdd7341415e6c34f61ec826d20e51b (diff) |
TableRef: allow column specifier without item
Change-Id: I1263f190d769254949701b3a257b2af5d6ea61a2
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index c2ebe55b8c49..4cf6f245535a 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -4863,16 +4863,7 @@ bool ScCompiler::HandleTableRef() aRange.aEnd.IncRow(-1); if (aRange.aEnd.Row() < aRange.aStart.Row()) bAddRange = false; - - // Optional [] may follow. - if ((bGotToken = GetToken()) && mpToken->GetOpCode() == ocTableRefOpen) - { - if ((bGotToken = GetToken())) - { - if (mpToken->GetOpCode() == ocTableRefClose) - bGotToken = false; // get next token below - } - } + bForwardToClose = true; } break; case ScTableRefToken::ALL: |