diff options
author | Eike Rathke <erack@redhat.com> | 2017-12-16 22:52:09 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-12-17 14:30:35 +0100 |
commit | ecac94f3a6872538c19827603b52f1ed7e671a4c (patch) | |
tree | 0f18900bd56c23f0bb810283522658c5ba3448e9 | |
parent | 455f2af8938904c2a6d196a9eb5dd59adda43ceb (diff) |
Type svIndex does not necessarily mean range name, tdf#114251 related
Change-Id: I5e7930b7f93ee44fb0d6b4c86f261afde8ed2ccc
Reviewed-on: https://gerrit.libreoffice.org/46615
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r-- | sc/source/core/data/grouptokenconverter.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/core/data/grouptokenconverter.cxx b/sc/source/core/data/grouptokenconverter.cxx index f13daaf0384a..c0818287cf33 100644 --- a/sc/source/core/data/grouptokenconverter.cxx +++ b/sc/source/core/data/grouptokenconverter.cxx @@ -241,6 +241,13 @@ bool ScGroupTokenConverter::convert( const ScTokenArray& rCode, sc::FormulaLogge break; case svIndex: { + if (p->GetOpCode() != ocName) + { + // May be DB-range or TableRef + mrGroupTokens.AddToken(*p); + break; + } + // Named range. ScRangeName* pNames = mrDoc.GetRangeName(); if (!pNames) |