diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-09-16 00:46:24 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-09-16 00:46:51 +0200 |
commit | 1e088494853ee93ded3fcefab23052fb7f07f620 (patch) | |
tree | 8d702cad4af78ed6a60f9028ccfb9449cf4ad1fd /sd | |
parent | Added Tango icons (diff) | |
download | core-1e088494853ee93ded3fcefab23052fb7f07f620.tar.gz core-1e088494853ee93ded3fcefab23052fb7f07f620.zip |
Prefer prefix ++/-- operators for non-primitive type
Change-Id: I0373b40ee404c74ca3c2bd479c5f7b18b7495548
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/Server.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx index bc245360a6dc..667cea6ea5f8 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 ) { |