summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-05-02 15:32:24 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-05-02 15:34:21 +0200
commitbbf894bc2ec60bbd5ff64e44242316a26e3c7790 (patch)
treebe0da5ac21e6444947b2b47d2603c8bc0f776084 /svl
parent09008a2433cae77170de30bb5075f9280ff5086f (diff)
!= instead of < for comparison with end iterator
Change-Id: Ie21b39b11d021095fa8f4de9be1e7e0289af4e91
Diffstat (limited to 'svl')
-rw-r--r--svl/source/svdde/ddesvr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index d47a6c0a33ba..0d887a391d93 100644
--- a/svl/source/svdde/ddesvr.cxx
+++ b/svl/source/svdde/ddesvr.cxx
@@ -608,7 +608,7 @@ void DdeService::AddFormat( sal_uLong nFmt )
void DdeService::RemoveFormat( sal_uLong nFmt )
{
nFmt = DdeData::GetExternalFormat( nFmt );
- for ( DdeFormats::iterator it = aFormats.begin(); it < aFormats.end(); ++it ) {
+ for ( DdeFormats::iterator it = aFormats.begin(); it != aFormats.end(); ++it ) {
if ( (sal_uLong) *it == nFmt ) {
aFormats.erase( it );
break;