[Libreoffice-commits] .: sd/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Sep 15 15:47:54 PDT 2012


 sd/source/ui/remotecontrol/Server.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 1e088494853ee93ded3fcefab23052fb7f07f620
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Sep 16 00:46:24 2012 +0200

    Prefer prefix ++/-- operators for non-primitive type
    
    Change-Id: I0373b40ee404c74ca3c2bd479c5f7b18b7495548

diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx
index bc24536..667cea6 100644
--- a/sd/source/ui/remotecontrol/Server.cxx
+++ b/sd/source/ui/remotecontrol/Server.cxx
@@ -171,7 +171,7 @@ void RemoteServer::presentationStarted( const css::uno::Reference<
         return;
     MutexGuard aGuard( spServer->mDataMutex );
     for ( vector<Communicator*>::const_iterator aIt = spServer->mCommunicators.begin();
-         aIt < spServer->mCommunicators.end(); aIt++ )
+         aIt != spServer->mCommunicators.end(); ++aIt )
     {
         (*aIt)->presentationStarted( rController );
     }
@@ -182,7 +182,7 @@ void RemoteServer::presentationStopped()
         return;
     MutexGuard aGuard( spServer->mDataMutex );
     for ( vector<Communicator*>::const_iterator aIt = spServer->mCommunicators.begin();
-         aIt < spServer->mCommunicators.end(); aIt++ )
+         aIt != spServer->mCommunicators.end(); ++aIt )
     {
         (*aIt)->disposeListener();
     }
@@ -194,7 +194,7 @@ void RemoteServer::removeCommunicator( Communicator* mCommunicator )
         return;
     MutexGuard aGuard( spServer->mDataMutex );
     for ( vector<Communicator*>::iterator aIt = spServer->mCommunicators.begin();
-         aIt < spServer->mCommunicators.end(); aIt++ )
+         aIt != spServer->mCommunicators.end(); ++aIt )
     {
         if ( mCommunicator == *aIt )
         {
@@ -259,7 +259,7 @@ sal_Bool RemoteServer::connectClient( ClientInfo* pClient, rtl::OUString aPin )
         spServer->mCommunicators.push_back( pCommunicator );
 
         for ( vector<ClientInfoInternal*>::iterator aIt = spServer->mAvailableClients.begin();
-            aIt < spServer->mAvailableClients.end(); aIt++ )
+            aIt != spServer->mAvailableClients.end(); ++aIt )
         {
             if ( pClient == *aIt )
             {


More information about the Libreoffice-commits mailing list