summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Kosiorek <gang65@poczta.onet.pl>2018-02-06 00:45:32 +0100
committerEike Rathke <erack@redhat.com>2018-02-06 18:51:55 +0100
commit5c3d0a70a0edb182714725ef920d74667feffb0e (patch)
tree8ce4ceef0aa0d8c312fc2e01537a2ab4a6d63b94
parentd30eefb677b446886f7b5bab6de93d489ba63529 (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>
-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 70533908ffc9..70f2ae8c1805 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -7149,7 +7149,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);
@@ -7166,6 +7168,7 @@ bool ScInterpreter::FillEntry(ScQueryEntry& rEntry)
} // switch ( GetStackType() )
return true;
}
+
void ScInterpreter::ScVLookup()
{
CalculateLookup(false);