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

Kohei Yoshida kohei.yoshida at collabora.com
Sat Feb 11 22:01:57 UTC 2017


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

New commits:
commit bcdde13996e3e33f9d4c41be25d062560c72636b
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>

diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 1869808..b2ff54d 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -1487,9 +1487,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