diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-05-02 21:57:04 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-05-02 21:58:13 +0200 |
commit | 46c01657d505a021673449ff0f874bc080d23ba6 (patch) | |
tree | 0ff4980e82cb93a409710366d154f7054ed53de8 /filter | |
parent | offapi: missing @since (diff) | |
download | core-46c01657d505a021673449ff0f874bc080d23ba6.tar.gz core-46c01657d505a021673449ff0f874bc080d23ba6.zip |
!= instead of < for comparison with end iterator
Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/icgm/chart.cxx | 2 | ||||
-rw-r--r-- | filter/source/graphicfilter/icgm/elements.cxx | 2 | ||||
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/graphicfilter/icgm/chart.cxx b/filter/source/graphicfilter/icgm/chart.cxx index 7e34fdfd1fe5..4651a04723d2 100644 --- a/filter/source/graphicfilter/icgm/chart.cxx +++ b/filter/source/graphicfilter/icgm/chart.cxx @@ -71,7 +71,7 @@ void CGMChart::DeleteTextEntry( TextEntry* pTextEntry ) } delete pTextEntry; ::std::vector< TextEntry* >::iterator it; - for ( it = maTextEntryList.begin(); it < maTextEntryList.end(); ++it ) + for ( it = maTextEntryList.begin(); it != maTextEntryList.end(); ++it ) { if ( *it == pTextEntry ) { diff --git a/filter/source/graphicfilter/icgm/elements.cxx b/filter/source/graphicfilter/icgm/elements.cxx index a3f5892171d8..07fef990457c 100644 --- a/filter/source/graphicfilter/icgm/elements.cxx +++ b/filter/source/graphicfilter/icgm/elements.cxx @@ -357,7 +357,7 @@ Bundle* CGMElements::InsertBundle( BundleList& rList, Bundle& rBundle ) Bundle* pBundle = GetBundle( rList, rBundle.GetIndex() ); if ( pBundle ) { - for ( BundleList::iterator it = rList.begin(); it < rList.end(); ++it ) { + for ( BundleList::iterator it = rList.begin(); it != rList.end(); ++it ) { if ( *it == pBundle ) { rList.erase( it ); delete pBundle; diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 7f36b99859e3..d61ab392aed3 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -6721,12 +6721,12 @@ PPTTextObj::PPTTextObj( SvStream& rIn, SdrPowerPointImport& rSdrPowerPointImport { // sorting fields ( hi >> lo ) ::std::vector< PPTFieldEntry* >::iterator it = FieldList.begin(); - for( ; it < FieldList.end(); ++it ) { + for( ; it != FieldList.end(); ++it ) { if ( (*it)->nPos < pEntry->nPos ) { break; } } - if ( it < FieldList.end() ) { + if ( it != FieldList.end() ) { FieldList.insert( it, pEntry ); } else { FieldList.push_back( pEntry ); |