[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Mon Feb 10 00:12:09 PST 2014


 sc/source/core/data/table1.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6a27efa43b2181599fb92ed99061e5b491dfd4a2
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Sun Feb 9 22:10:24 2014 -0500

    fdo#74323: The end position is inclusive.
    
    Change-Id: Ibd0ff19d7fd2de72a3b8d790a371da4b23df38c8
    (cherry picked from commit b6378a1651e7157063746d7001ef566545338bd0)
    Reviewed-on: https://gerrit.libreoffice.org/7961
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 4eed3b0..f958927 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -1434,7 +1434,7 @@ bool ScTable::GetNextMarkedCell( SCCOL& rCol, SCROW& rRow, const ScMarkData& rMa
                     }
                 }
 
-                if (nTestRow < nEnd)
+                if (nTestRow <= nEnd)
                 {
                     // Cell found.
                     rRow = nTestRow;


More information about the Libreoffice-commits mailing list