summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-05-02 21:57:04 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-05-02 21:58:13 +0200
commit46c01657d505a021673449ff0f874bc080d23ba6 (patch)
tree0ff4980e82cb93a409710366d154f7054ed53de8 /svtools
parent0ae9489290a6696765634be073a4b88f4c47940a (diff)
!= instead of < for comparison with end iterator
Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8
Diffstat (limited to 'svtools')
-rw-r--r--svtools/inc/svtools/treelist.hxx2
-rw-r--r--svtools/source/contnr/imivctl1.cxx2
-rw-r--r--svtools/source/contnr/treelist.cxx2
-rw-r--r--svtools/source/filter/filter.cxx2
-rw-r--r--svtools/source/graphic/grfmgr2.cxx2
5 files changed, 5 insertions, 5 deletions
diff --git a/svtools/inc/svtools/treelist.hxx b/svtools/inc/svtools/treelist.hxx
index c505e27e024d..0875052eb272 100644
--- a/svtools/inc/svtools/treelist.hxx
+++ b/svtools/inc/svtools/treelist.hxx
@@ -91,7 +91,7 @@ public:
void remove( SvListEntry* pItem )
{
for ( SvTreeEntryList_impl::iterator it = maEntryList.begin();
- it < maEntryList.end();
+ it != maEntryList.end();
++it
) {
if ( *it == pItem ) {
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 4cbaa46a9648..7f7eae49683a 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -2398,7 +2398,7 @@ void SvxIconChoiceCtrl_Impl::ToTop( SvxIconChoiceCtrlEntry* pEntry )
) {
for(
SvxIconChoiceCtrlEntryList_impl::iterator it = pZOrderList->begin();
- it < pZOrderList->end();
+ it != pZOrderList->end();
++it
) {
if ( *it == pEntry )
diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx
index 655cdb5db89e..5008f40cd7ae 100644
--- a/svtools/source/contnr/treelist.cxx
+++ b/svtools/source/contnr/treelist.cxx
@@ -203,7 +203,7 @@ void SvTreeList::InsertView( SvListView* pView )
void SvTreeList::RemoveView( SvListView* pView )
{
- for ( SvListView_impl::iterator it = aViewList.begin(); it < aViewList.end(); ++it ) {
+ for ( SvListView_impl::iterator it = aViewList.begin(); it != aViewList.end(); ++it ) {
if ( *it == pView ) {
aViewList.erase( it );
nRefCount--;
diff --git a/svtools/source/filter/filter.cxx b/svtools/source/filter/filter.cxx
index 634802fbe0de..3c1c1a532f90 100644
--- a/svtools/source/filter/filter.cxx
+++ b/svtools/source/filter/filter.cxx
@@ -1043,7 +1043,7 @@ GraphicFilter::~GraphicFilter()
::osl::MutexGuard aGuard( getListMutex() );
for(
FilterList_impl::iterator it = pFilterHdlList->begin();
- it < pFilterHdlList->end();
+ it != pFilterHdlList->end();
++it
) {
if( *it == this )
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx
index 5f8c8f502d97..35de9a68e750 100644
--- a/svtools/source/graphic/grfmgr2.cxx
+++ b/svtools/source/graphic/grfmgr2.cxx
@@ -236,7 +236,7 @@ void GraphicManager::ImplRegisterObj( const GraphicObject& rObj, Graphic& rSubst
void GraphicManager::ImplUnregisterObj( const GraphicObject& rObj )
{
mpCache->ReleaseGraphicObject( rObj );
- for( GraphicObjectList_impl::iterator it = maObjList.begin(); it < maObjList.end(); ++it )
+ for( GraphicObjectList_impl::iterator it = maObjList.begin(); it != maObjList.end(); ++it )
{
if ( *it == &rObj ) {
maObjList.erase( it );