[Libreoffice-commits] core.git: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Aug 24 12:54:18 UTC 2018


 sc/source/core/tool/interpr1.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 72db8ca7d9506b313e78427676c02dd9cb4b4773
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Fri Aug 24 12:40:33 2018 +0200
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Fri Aug 24 14:53:45 2018 +0200

    SCCOLROW instead of long, tdf#117016 follow-up
    
    Change-Id: I94c527031184fd040380de5d532d30e502646dfb
    Reviewed-on: https://gerrit.libreoffice.org/59552
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Jenkins

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
             {


More information about the Libreoffice-commits mailing list