summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2017-02-11 13:38:58 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2017-02-11 17:09:34 -0500
commit5bc6a514f5cf1b8b08aa5795781dd2c6567b1383 (patch)
tree99d29c003eb0abbd4e6ff2a420e9955f98c654ac /sc
parenta25e047a562516e72ccd93ac2600aef308de32e0 (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)
Diffstat (limited to 'sc')
-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 899129908f12..2d99711b41aa 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;
}
}