[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Sun Feb 12 01:25:45 UTC 2017


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

New commits:
commit 0d3b87795f14d826810deacb9f460011f88181dc
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Sat Feb 11 13:38:58 2017 -0500

    tdf#86470: Let's not forget to move onto the next column.
    
    Change-Id: I451f521723458b5d6fe9d9fa8b41855fe17def64
    Reviewed-on: https://gerrit.libreoffice.org/34159
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Kohei Yoshida <libreoffice at kohei.us>
    (cherry picked from commit bcdde13996e3e33f9d4c41be25d062560c72636b)
    Reviewed-on: https://gerrit.libreoffice.org/34163
    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 7e1b403..7e54e1e 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -1444,9 +1444,9 @@ bool ScTable::GetNextMarkedCell( SCCOL& rCol, SCROW& rRow, const ScMarkData& rMa
                     ++it;
                     if (it == rCells.end())
                     {
-                        // No more block.
+                        // No more block.  Move on to the next column.
                         rRow = MAXROW + 1;
-                        return false;
+                        continue;
                     }
                 }
 


More information about the Libreoffice-commits mailing list