summaryrefslogtreecommitdiff
path: root/svl/source/svdde/ddesvr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/svdde/ddesvr.cxx')
-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;