summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2012-10-13 16:06:44 +0200
committerJulien Nabet <serval2412@yahoo.fr>2012-10-13 16:08:09 +0200
commit72fe2e3003b89b4d6bc7a87e0dc5ce85dd043b45 (patch)
tree056d02659d12889e2609a6349912ef4a3f7466b3 /sd
parent64ab96cd15e52da88781e720d6f031dbcd0ba902 (diff)
Prefer prefix ++/-- operators for non-primitive types
+ replace "<" by "!=" for end iterator comparison with current it Change-Id: I6e90caa8752c7057cca8c74fca12c0a050544dbb
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/remotecontrol/Server.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx
index 8ec942d201d5..deb881431f82 100644
--- a/sd/source/ui/remotecontrol/Server.cxx
+++ b/sd/source/ui/remotecontrol/Server.cxx
@@ -186,7 +186,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 );
}
@@ -197,7 +197,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();
}
@@ -209,7 +209,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 )
{
@@ -275,7 +275,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 )
{