radioengine/utils/src/cradioaccessoryobserver.cpp
changeset 38 f8c3d4e6102c
parent 35 de7c4a48dcb4
child 39 ac7857bd5fdb
--- a/radioengine/utils/src/cradioaccessoryobserver.cpp	Thu Jul 08 12:44:18 2010 +0300
+++ b/radioengine/utils/src/cradioaccessoryobserver.cpp	Fri Jul 23 10:16:59 2010 +0300
@@ -116,7 +116,7 @@
     TBool accessoryFound = EFalse;
 
     LOG_FORMAT( "Connected accessories count = %d", iAccPolGenIdArr.Count());
-    for ( TInt i = 0; i < iAccPolGenIdArr.Count() && !accessoryFound; i++ )
+    for ( TInt i = 0; i < iAccPolGenIdArr.Count() && !accessoryFound; ++i )
         {
         TAccPolGenericID accPolGenId = iAccPolGenIdArr.GetGenericIDL( i );
 
@@ -237,7 +237,7 @@
 
     iSavedAccessories.Reset();
 
-    for ( TInt i = 0; i < iAccPolGenIdArr.Count(); i++ )
+    for ( TInt i = 0; i < iAccPolGenIdArr.Count(); ++i )
         {
         iSavedAccessories.AppendL( iAccPolGenIdArr.GetGenericIDL( i ) );
         LOG_FORMAT( "- accessory in slot %d: %d",
@@ -255,7 +255,7 @@
     LEVEL2( LOG_METHOD_AUTO );
     TInt removedAccessories( 0 );
 
-    for ( TInt i = 0; i < iSavedAccessories.Count(); i++ )
+    for ( TInt i = 0; i < iSavedAccessories.Count(); ++i )
         {
         TAccPolGenericID savedAcc = iSavedAccessories[i];
 
@@ -293,7 +293,7 @@
     LEVEL2( LOG_METHOD_AUTO );
     TInt addedAccessories( 0 );
 
-    for ( TInt i = 0; i < iAccPolGenIdArr.Count(); i++ )
+    for ( TInt i = 0; i < iAccPolGenIdArr.Count(); ++i )
         {
         TAccPolGenericID freshAcc = iAccPolGenIdArr.GetGenericIDL( i );