Kaydet (Commit) 1e088494 authored tarafından Julien Nabet's avatar Julien Nabet

Prefer prefix ++/-- operators for non-primitive type

Change-Id: I0373b40ee404c74ca3c2bd479c5f7b18b7495548
üst 3fad87a2
...@@ -171,7 +171,7 @@ void RemoteServer::presentationStarted( const css::uno::Reference< ...@@ -171,7 +171,7 @@ void RemoteServer::presentationStarted( const css::uno::Reference<
return; return;
MutexGuard aGuard( spServer->mDataMutex ); MutexGuard aGuard( spServer->mDataMutex );
for ( vector<Communicator*>::const_iterator aIt = spServer->mCommunicators.begin(); for ( vector<Communicator*>::const_iterator aIt = spServer->mCommunicators.begin();
aIt < spServer->mCommunicators.end(); aIt++ ) aIt != spServer->mCommunicators.end(); ++aIt )
{ {
(*aIt)->presentationStarted( rController ); (*aIt)->presentationStarted( rController );
} }
...@@ -182,7 +182,7 @@ void RemoteServer::presentationStopped() ...@@ -182,7 +182,7 @@ void RemoteServer::presentationStopped()
return; return;
MutexGuard aGuard( spServer->mDataMutex ); MutexGuard aGuard( spServer->mDataMutex );
for ( vector<Communicator*>::const_iterator aIt = spServer->mCommunicators.begin(); for ( vector<Communicator*>::const_iterator aIt = spServer->mCommunicators.begin();
aIt < spServer->mCommunicators.end(); aIt++ ) aIt != spServer->mCommunicators.end(); ++aIt )
{ {
(*aIt)->disposeListener(); (*aIt)->disposeListener();
} }
...@@ -194,7 +194,7 @@ void RemoteServer::removeCommunicator( Communicator* mCommunicator ) ...@@ -194,7 +194,7 @@ void RemoteServer::removeCommunicator( Communicator* mCommunicator )
return; return;
MutexGuard aGuard( spServer->mDataMutex ); MutexGuard aGuard( spServer->mDataMutex );
for ( vector<Communicator*>::iterator aIt = spServer->mCommunicators.begin(); for ( vector<Communicator*>::iterator aIt = spServer->mCommunicators.begin();
aIt < spServer->mCommunicators.end(); aIt++ ) aIt != spServer->mCommunicators.end(); ++aIt )
{ {
if ( mCommunicator == *aIt ) if ( mCommunicator == *aIt )
{ {
...@@ -259,7 +259,7 @@ sal_Bool RemoteServer::connectClient( ClientInfo* pClient, rtl::OUString aPin ) ...@@ -259,7 +259,7 @@ sal_Bool RemoteServer::connectClient( ClientInfo* pClient, rtl::OUString aPin )
spServer->mCommunicators.push_back( pCommunicator ); spServer->mCommunicators.push_back( pCommunicator );
for ( vector<ClientInfoInternal*>::iterator aIt = spServer->mAvailableClients.begin(); for ( vector<ClientInfoInternal*>::iterator aIt = spServer->mAvailableClients.begin();
aIt < spServer->mAvailableClients.end(); aIt++ ) aIt != spServer->mAvailableClients.end(); ++aIt )
{ {
if ( pClient == *aIt ) if ( pClient == *aIt )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment