From 46c01657d505a021673449ff0f874bc080d23ba6 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Wed, 2 May 2012 21:57:04 +0200 Subject: != instead of < for comparison with end iterator Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8 --- toolkit/source/awt/vclxgraphics.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit') diff --git a/toolkit/source/awt/vclxgraphics.cxx b/toolkit/source/awt/vclxgraphics.cxx index f954b2a2253d..8923ea34a706 100644 --- a/toolkit/source/awt/vclxgraphics.cxx +++ b/toolkit/source/awt/vclxgraphics.cxx @@ -74,7 +74,7 @@ VCLXGraphics::~VCLXGraphics() VCLXGraphicsList_impl* pLst = mpOutputDevice ? mpOutputDevice->GetUnoGraphicsList() : NULL; if ( pLst ) { - for( VCLXGraphicsList_impl::iterator it = pLst->begin(); it < pLst->end(); ++it ) + for( VCLXGraphicsList_impl::iterator it = pLst->begin(); it != pLst->end(); ++it ) { if( *it == this ) { pLst->erase( it ); -- cgit