summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2017-02-11 13:38:58 -0500
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-02-12 00:12:24 +0000
commit0771e099882229c4fb6c8553ed525a6556a52832 (patch)
treed23fe9b139b5fa0481230b68e461b8368b79a1a0
parent43f36b8b10a36169fedff568c75c14e82703b979 (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/34164 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 5679f2a8f459..06c2ccfffbe6 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -1428,9 +1428,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;
}
}