[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sc/source
Markus Mohrhard
mmohrhard at kemper.freedesktop.org
Thu May 26 13:04:03 PDT 2011
sc/source/core/data/clipparam.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit de2ca4df263d210773931952601ce29c6b232159
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Thu May 26 15:45:05 2011 -0400
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 at googlemail.com>
diff --git a/sc/source/core/data/clipparam.cxx b/sc/source/core/data/clipparam.cxx
index 7804bcc..bdef09c 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;
More information about the Libreoffice-commits
mailing list