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 --- svtools/inc/svtools/treelist.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools/inc') 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 ) { -- cgit