diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-06-12 12:04:30 +0900 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-06-14 10:02:22 -0400 |
commit | e19d3297722f72e93740f423b88da84c8b7300e4 (patch) | |
tree | 4dd05d5079c1ffb77eaac26dcba3a8aa83cdca7e /sc | |
parent | 925ca4c25a2e5591c5c1131947e5b68d7d2e5327 (diff) |
fdo#37776
VLOOKUP/HLOOKUP now allow a single reference as the second parameter.
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index d2075e3acc79..c72f35402f2c 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -5805,6 +5805,12 @@ void ScInterpreter::CalculateLookup(sal_Bool HLookup) return; } } + else if (eType == svSingleRef) + { + PopSingleRef(nCol1, nRow1, nTab1); + nCol2 = nCol1; + nRow2 = nRow1; + } else if (eType == svMatrix || eType == svExternalDoubleRef || eType == svExternalSingleRef) { pMat = GetMatrix(); |