summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/interpr1.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-08-24 12:40:33 +0200
committerEike Rathke <erack@redhat.com>2018-08-24 14:53:45 +0200
commit72db8ca7d9506b313e78427676c02dd9cb4b4773 (patch)
treefd6b33ec56dbaac771a759dc843065bbbe0b3027 /sc/source/core/tool/interpr1.cxx
parent3aa566566923e3a2d582d72c1141774056bb9554 (diff)
SCCOLROW instead of long, tdf#117016 follow-up
Change-Id: I94c527031184fd040380de5d532d30e502646dfb Reviewed-on: https://gerrit.libreoffice.org/59552 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sc/source/core/tool/interpr1.cxx')
-rw-r--r--sc/source/core/tool/interpr1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 1738538c86db..a534486eb898 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -6767,7 +6767,7 @@ void ScInterpreter::ScLookup()
// In case of non-vector matrix, only search the first row or column.
ScMatrixRef pDataMat2;
- std::vector<long> vIndex;
+ std::vector<SCCOLROW> vIndex;
if (bOmitErrorValues)
{
std::vector<double> vArray;
@@ -6792,7 +6792,7 @@ void ScInterpreter::ScLookup()
{
// No error value omitted, use as is.
pDataMat2 = pDataMat;
- std::vector<long>().swap( vIndex);
+ std::vector<SCCOLROW>().swap( vIndex);
}
else
{