diff options
author | Eike Rathke <erack@redhat.com> | 2017-03-10 18:32:27 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-03-10 18:34:13 +0100 |
commit | ca1f051972946b24cb6658143fb0d0ac3587a988 (patch) | |
tree | 89d4bdd0c7a1b6d441493df61daab7ffd97dec9f /sc/source | |
parent | d4c26cbcd89660be3af8df09ee24a8ba1c1172b4 (diff) |
Resolves: tdf#106459 3D reference can't be handled as vector reference
Change-Id: Icba12a6218086079a7d5538f7263bccb1f2ee1b0
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/grouptokenconverter.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/core/data/grouptokenconverter.cxx b/sc/source/core/data/grouptokenconverter.cxx index 024a2520af4f..12751a178364 100644 --- a/sc/source/core/data/grouptokenconverter.cxx +++ b/sc/source/core/data/grouptokenconverter.cxx @@ -169,6 +169,10 @@ bool ScGroupTokenConverter::convert( ScTokenArray& rCode, sc::FormulaLogger::Gro ScComplexRefData aRef = *p->GetDoubleRef(); ScRange aAbs = aRef.toAbs(mrPos); + // Multiple sheets not handled by vector/matrix. + if (aRef.Ref1.Tab() != aRef.Ref2.Tab()) + return false; + // Check for self reference. if (aRef.Ref1.IsRowRel()) { |