summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-08 09:42:46 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-02-08 09:45:50 -0500
commit1e3ef350d730bc54a3e9c393c2df6fd1f839a3a8 (patch)
tree200f2a0f7b8a784ebf3a7f48d5744e5f7312233f
parent22cdd528d26d9e332df72135394f8d57bf227d03 (diff)
fdo#74414: No need to incremenet nRow here... It's just plain wrong.
Change-Id: Iecdbb3eba46ddf2f2bc4f2334c7d45a4e2d801c8
-rw-r--r--sc/source/core/data/column.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 7d10c20fbbbf..8e3d3650f4ea 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(