summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@poczta.onet.pl>2018-02-06 00:45:32 +0100
committerBartosz Kosiorek <gang65@poczta.onet.pl>2018-02-06 20:59:01 +0100
commite392f847bff0321d7884daabe74d91d90f07a0bf (patch)
treec0f409a00436480a9974b8e7069c82e6707d3fb1
parentae86218101c27a2e35a10940661e4c6421870e71 (diff)
tdf#114820 Fix reading external reference for VLOOKUP and HLOOKUP
Change-Id: Iaa1307123d97a740bdaf90647e8adff224211851 Reviewed-on: https://gerrit.libreoffice.org/49263 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 5c3d0a70a0edb182714725ef920d74667feffb0e) Reviewed-on: https://gerrit.libreoffice.org/49316
-rw-r--r--sc/source/core/tool/interpr1.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 53122e82cb40..f40637f33540 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -6634,7 +6634,9 @@ bool ScInterpreter::FillEntry(ScQueryEntry& rEntry)
}
}
break;
- case svMatrix :
+ case svExternalDoubleRef:
+ case svExternalSingleRef:
+ case svMatrix:
{
svl::SharedString aStr;
const ScMatValType nType = GetDoubleOrStringFromMatrix(rItem.mfVal, aStr);
@@ -6651,6 +6653,7 @@ bool ScInterpreter::FillEntry(ScQueryEntry& rEntry)
} // switch ( GetStackType() )
return true;
}
+
void ScInterpreter::ScVLookup()
{
CalculateLookup(false);