mmsengine/mmsserversettings/src/mmsmessagestoreutils.cpp
changeset 23 238255e8b033
parent 0 72b543305e3a
child 47 5b14749788d7
child 60 7fdbb852d323
--- a/mmsengine/mmsserversettings/src/mmsmessagestoreutils.cpp	Tue Feb 02 00:08:43 2010 +0200
+++ b/mmsengine/mmsserversettings/src/mmsmessagestoreutils.cpp	Fri Apr 16 14:56:15 2010 +0300
@@ -115,7 +115,7 @@
     // Concentrate on service entries
     //
     TMsvEntry tEntry;
-    for( TInt index = count-1; index >= 0; index-- )
+    for( TInt index = count-1; index >= 0; --index )
         {
         iMmsEntry->SetEntryL( selection->At( index ) );
         tEntry = iMmsEntry->Entry();
@@ -144,7 +144,7 @@
         } 
     else // At least one service found
         {
-        for( TInt index = 1; index < count; index++ )
+        for( TInt index = 1; index < count; ++index )
             {
             // More than 1 service found -> delete them
             // The error must be ignored because there is nothing we can do
@@ -189,7 +189,7 @@
     // Concentrate on folders that have name 'aFolderName'
     //
     TMsvEntry tEntry;
-    for( TInt index = count-1; index >= 0; index-- )
+    for( TInt index = count-1; index >= 0; --index )
         {
         iMmsEntry->SetEntryL( selection->At( index ) );
         tEntry = iMmsEntry->Entry();
@@ -292,7 +292,7 @@
 
     // If selection contains folders, check if the folder is found.
     TInt count = selection->Count();
-    for ( TInt i = 0; i < count && folderId == KMsvNullIndexEntryId; i++ )
+    for ( TInt i = 0; i < count && folderId == KMsvNullIndexEntryId; ++i )
         {
         iMmsEntry->SetEntryL( selection->At( i ) );
         // must be exact match