diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-05 13:35:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-05 13:35:56 +0100 |
commit | 6cfa32e2ff651fb2678980a9fff149628379db93 (patch) | |
tree | ef5949149e8b85ab445fc0d2dc62e4903b3e39bd /sc/source/ui/view/viewfun3.cxx | |
parent | 1f516ee88a8abebd8f36ce4c9ccf47c4e11de4ff (diff) |
yet more iterator->const_iterator
Diffstat (limited to 'sc/source/ui/view/viewfun3.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun3.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx index 6c936573147c..a2d3fce24d30 100644 --- a/sc/source/ui/view/viewfun3.cxx +++ b/sc/source/ui/view/viewfun3.cxx @@ -924,7 +924,7 @@ sal_Bool ScViewFunc::PasteOnDrawObject( const uno::Reference<datatransfer::XTran sal_Bool lcl_SelHasAttrib( ScDocument* pDoc, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, const ScMarkData& rTabSelection, sal_uInt16 nMask ) { - ScMarkData::iterator itr = rTabSelection.begin(), itrEnd = rTabSelection.end(); + ScMarkData::const_iterator itr = rTabSelection.begin(), itrEnd = rTabSelection.end(); for (; itr != itrEnd; ++itr) if ( pDoc->HasAttrib( nCol1, nRow1, *itr, nCol2, nRow2, *itr, nMask ) ) return sal_True; @@ -959,7 +959,7 @@ private: bool lcl_checkDestRangeForOverwrite(const ScRange& rDestRange, const ScDocument* pDoc, const ScMarkData& rMark, Window* pParentWnd) { bool bIsEmpty = true; - ScMarkData::iterator itr = rMark.begin(), itrEnd = rMark.end(); + ScMarkData::const_iterator itr = rMark.begin(), itrEnd = rMark.end(); for (; itr != itrEnd && bIsEmpty; ++itr) { bIsEmpty = pDoc->IsBlockEmpty(*itr, rDestRange.aStart.Col(), rDestRange.aStart.Row(), @@ -1738,7 +1738,7 @@ void ScViewFunc::PostPasteFromClip(const ScRange& rPasteRange, const ScMarkData& if ( pModelObj && pModelObj->HasChangesListeners() ) { ScRangeList aChangeRanges; - ScMarkData::iterator itr = rMark.begin(), itrEnd = rMark.end(); + ScMarkData::const_iterator itr = rMark.begin(), itrEnd = rMark.end(); for (; itr != itrEnd; ++itr) { ScRange aChangeRange(rPasteRange); |