summaryrefslogtreecommitdiff
path: root/svx
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
parent0ae9489290a6696765634be073a4b88f4c47940a (diff)
!= instead of < for comparison with end iterator
Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmexpl.cxx2
-rw-r--r--svx/source/gallery2/gallery1.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmexpl.cxx b/svx/source/form/fmexpl.cxx
index b55e6a45feb0..895d078798fb 100644
--- a/svx/source/form/fmexpl.cxx
+++ b/svx/source/form/fmexpl.cxx
@@ -207,7 +207,7 @@ FmEntryDataList::~FmEntryDataList()
FmEntryData* FmEntryDataList::remove( FmEntryData* pItem )
{
for ( FmEntryDataBaseList::iterator it = maEntryDataList.begin();
- it < maEntryDataList.end();
+ it != maEntryDataList.end();
++it
)
{
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;