[Libreoffice-commits] .: ucb/source

Caolán McNamara caolan at kemper.freedesktop.org
Wed Dec 29 13:11:32 PST 2010


 ucb/source/ucp/webdav/webdavdatasupplier.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1f337716d3a583a3276d176b209b3798b84d08d0
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Dec 29 21:10:34 2010 +0000

    cppcheck: prefer prefix variants

diff --git a/ucb/source/ucp/webdav/webdavdatasupplier.cxx b/ucb/source/ucp/webdav/webdavdatasupplier.cxx
index a9d8caf..cfafcdb 100644
--- a/ucb/source/ucp/webdav/webdavdatasupplier.cxx
+++ b/ucb/source/ucp/webdav/webdavdatasupplier.cxx
@@ -110,7 +110,7 @@ DataSupplier_Impl::~DataSupplier_Impl()
     while ( it != end )
     {
         delete (*it);
-        it++;
+        ++it;
     }
 }
 
@@ -375,7 +375,7 @@ sal_Bool DataSupplier::getData()
             if ( (*it).equals( DAVProperties::RESOURCETYPE ) )
                 break;
 
-            it++;
+            ++it;
         }
 
         if ( it == end )


More information about the Libreoffice-commits mailing list