summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2017-02-11 13:38:58 -0500
committerKohei Yoshida <libreoffice@kohei.us>2017-02-12 01:25:23 +0000
commit0d3b87795f14d826810deacb9f460011f88181dc (patch)
treefef5ffc7748bd5a649da7159e2a1849a1d16e571
parenta60a6f514c59e4a7e7fee239823d2e932c499bf6 (diff)
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@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> (cherry picked from commit bcdde13996e3e33f9d4c41be25d062560c72636b) Reviewed-on: https://gerrit.libreoffice.org/34163 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/core/data/table1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 7e1b403e9062..7e54e1e16743 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;
}
}