summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-09 22:10:24 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-02-09 22:11:40 -0500
commitb6378a1651e7157063746d7001ef566545338bd0 (patch)
tree3c3ea5d736f23a6cb576e834c3a951608c42e8f2
parente041a1bfef98b54656cfaafcb0f586867a21edf1 (diff)
fdo#74323: The end position is inclusive.
Change-Id: Ibd0ff19d7fd2de72a3b8d790a371da4b23df38c8
-rw-r--r--sc/source/core/data/table1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/table1.cxx b/sc/source/core/data/table1.cxx
index 5291ad222cfa..b3385a3ff094 100644
--- a/sc/source/core/data/table1.cxx
+++ b/sc/source/core/data/table1.cxx
@@ -1428,7 +1428,7 @@ bool ScTable::GetNextMarkedCell( SCCOL& rCol, SCROW& rRow, const ScMarkData& rMa
}
}
- if (nTestRow < nEnd)
+ if (nTestRow <= nEnd)
{
// Cell found.
rRow = nTestRow;