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 20:18:20 +0100
commitb8e9f185c509213b4daae018ec27483dacdad2a0 (patch)
tree2a0df958c838064c0fca490724b441df53c3130c
parentd9fafddcf8eb37916c8a8e76af36d67c8db84a98 (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/49315
-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 ab3f28d27225..e59b46c9f42f 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -7151,7 +7151,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);
@@ -7168,6 +7170,7 @@ bool ScInterpreter::FillEntry(ScQueryEntry& rEntry)
} // switch ( GetStackType() )
return true;
}
+
void ScInterpreter::ScVLookup()
{
CalculateLookup(false);