summaryrefslogtreecommitdiffstats
path: root/vcl
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 /vcl
parentoffapi: missing @since (diff)
downloadcore-46c01657d505a021673449ff0f874bc080d23ba6.tar.gz
core-46c01657d505a021673449ff0f874bc080d23ba6.zip
!= instead of < for comparison with end iterator
Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/idlemgr.cxx2
-rw-r--r--vcl/source/window/accmgr.cxx2
-rw-r--r--vcl/source/window/toolbox.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/app/idlemgr.cxx b/vcl/source/app/idlemgr.cxx
index 99b17c99bf8b..9baa23d027f3 100644
--- a/vcl/source/app/idlemgr.cxx
+++ b/vcl/source/app/idlemgr.cxx
@@ -105,7 +105,7 @@ sal_Bool ImplIdleMgr::InsertIdleHdl( const Link& rLink, sal_uInt16 nPriority )
void ImplIdleMgr::RemoveIdleHdl( const Link& rLink )
{
- for ( ImplIdleList::iterator it = mpIdleList->begin(); it < mpIdleList->end(); ++it ) {
+ for ( ImplIdleList::iterator it = mpIdleList->begin(); it != mpIdleList->end(); ++it ) {
if ( (*it)->maIdleHdl == rLink ) {
delete *it;
mpIdleList->erase( it );
diff --git a/vcl/source/window/accmgr.cxx b/vcl/source/window/accmgr.cxx
index d9c40a9965e6..ad127ace3b2c 100644
--- a/vcl/source/window/accmgr.cxx
+++ b/vcl/source/window/accmgr.cxx
@@ -90,7 +90,7 @@ void ImplAccelManager::RemoveAccel( Accelerator* pAccel )
// throw it away
for ( ImplAccelList::iterator it = mpAccelList->begin();
- it < mpAccelList->end();
+ it != mpAccelList->end();
++it
) {
if ( *it == pAccel ) {
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 7b317a180651..adc31ccef46c 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -162,7 +162,7 @@ public:
{ mpBoxList->push_back( pBox ); }
void erase( ToolBox* pBox )
{
- for ( ImplTBList::iterator it = mpBoxList->begin(); it < mpBoxList->end(); ++it ) {
+ for ( ImplTBList::iterator it = mpBoxList->begin(); it != mpBoxList->end(); ++it ) {
if ( *it == pBox ) {
mpBoxList->erase( it );
break;