[Libreoffice-commits] .: svl/source

Julien Nabet serval2412 at kemper.freedesktop.org
Wed May 2 06:35:15 PDT 2012


 svl/source/svdde/ddesvr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bbf894bc2ec60bbd5ff64e44242316a26e3c7790
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Wed May 2 15:32:24 2012 +0200

    != instead of < for comparison with end iterator
    
    Change-Id: Ie21b39b11d021095fa8f4de9be1e7e0289af4e91

diff --git a/svl/source/svdde/ddesvr.cxx b/svl/source/svdde/ddesvr.cxx
index d47a6c0..0d887a3 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;


More information about the Libreoffice-commits mailing list