summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-07-16 22:27:46 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-07-17 16:40:30 +0200
commitda7af862e856e453e0ed624b76199d7cf21ad3c2 (patch)
tree95fa3a9d492a6b199f29bf856ab9b67804965a50
parenttubes: guard unref() against "accidental" calls (diff)
downloadcore-da7af862e856e453e0ed624b76199d7cf21ad3c2.tar.gz
core-da7af862e856e453e0ed624b76199d7cf21ad3c2.zip
tubes: removed duplicated iterator initialization in ScViewFunc::EnterData()
Change-Id: I322e937e9c3e0bc478d566e1b14499cc610bd273
-rw-r--r--sc/source/ui/view/viewfunc.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx
index cbd7bb76aefa..19153ecc9cff 100644
--- a/sc/source/ui/view/viewfunc.cxx
+++ b/sc/source/ui/view/viewfunc.cxx
@@ -557,7 +557,6 @@ void ScViewFunc::EnterData( SCCOL nCol, SCROW nRow, SCTAB nTab,
{
ScRangeList aChangeRanges;
ScMarkData::iterator itr = rMark.begin(), itrEnd = rMark.end();
- itr = rMark.begin();
for (; itr != itrEnd; ++itr)
aChangeRanges.Append( ScRange( nCol, nRow, *itr ) );