diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-05-26 15:45:05 -0400 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-05-26 22:03:15 +0200 |
commit | de2ca4df263d210773931952601ce29c6b232159 (patch) | |
tree | 8529db5de3b42c9602a515b45e96e4615fbbd9f1 | |
parent | 10feb42cc16b9a715e1d631941875f9aab17ae37 (diff) |
fdo#37356: Fix broken transposition during paste of cell range.
Refactoring of ScRangeList accidentally skipped the first element during
for loop.
Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r-- | sc/source/core/data/clipparam.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/clipparam.cxx b/sc/source/core/data/clipparam.cxx index 7804bcc59..bdef09cc6 100644 --- a/sc/source/core/data/clipparam.cxx +++ b/sc/source/core/data/clipparam.cxx @@ -175,7 +175,7 @@ void ScClipParam::transpose() SCCOL nColOrigin = p->aStart.Col(); SCROW nRowOrigin = p->aStart.Row(); - for ( size_t i = 1, n = maRanges.size(); i < n; ++i ) + for ( size_t i = 0, n = maRanges.size(); i < n; ++i ) { p = maRanges[ i ]; SCCOL nColDelta = p->aStart.Col() - nColOrigin; |