[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Sat Feb 11 22:13:51 UTC 2017


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

New commits:
commit 5bc6a514f5cf1b8b08aa5795781dd2c6567b1383
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)

diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 8991299..2d99711 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -1418,9 +1418,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