[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Sat Feb 8 09:25:41 PST 2014
sc/source/core/data/column.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c565eba9ef96798c3b584c7c0f887f92cf9ae572
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Sat Feb 8 09:42:46 2014 -0500
fdo#74414: No need to incremenet nRow here... It's just plain wrong.
Change-Id: Iecdbb3eba46ddf2f2bc4f2334c7d45a4e2d801c8
(cherry picked from commit 1e3ef350d730bc54a3e9c393c2df6fd1f839a3a8)
Reviewed-on: https://gerrit.libreoffice.org/7944
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 31da531..487e3a0 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -1928,7 +1928,7 @@ public:
std::vector<EditTextObject*> aCloned;
aCloned.reserve(nDataSize);
- for (; it != itEnd; ++it, ++nRow)
+ for (; it != itEnd; ++it)
aCloned.push_back(ScEditUtil::Clone(**it, mrDestCol.GetDoc()));
maDestPos.miCellPos = mrDestCol.GetCellStore().set(
More information about the Libreoffice-commits
mailing list