summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/gallery1.cxx
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 /svx/source/gallery2/gallery1.cxx
parent0ae9489290a6696765634be073a4b88f4c47940a (diff)
!= instead of < for comparison with end iterator
Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8
Diffstat (limited to 'svx/source/gallery2/gallery1.cxx')
-rw-r--r--svx/source/gallery2/gallery1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx
index 670919b73cc8..a9d3ad62f713 100644
--- a/svx/source/gallery2/gallery1.cxx
+++ b/svx/source/gallery2/gallery1.cxx
@@ -702,7 +702,7 @@ sal_Bool Gallery::RemoveTheme( const String& rThemeName )
if( pImportEntry )
{
- for ( GalleryImportThemeList::iterator it = aImportList.begin(); it < aImportList.end(); ++it )
+ for ( GalleryImportThemeList::iterator it = aImportList.begin(); it != aImportList.end(); ++it )
{
if ( *it == pImportEntry )
{
@@ -732,7 +732,7 @@ sal_Bool Gallery::RemoveTheme( const String& rThemeName )
}
}
- for ( GalleryThemeList::iterator it = aThemeList.begin(); it < aThemeList.end(); ++it )
+ for ( GalleryThemeList::iterator it = aThemeList.begin(); it != aThemeList.end(); ++it )
{
if ( pThemeEntry == *it ) {
delete pThemeEntry;