mmsengine/mmsserversettings/src/mmsmessagestoreutils.cpp
branchRCL_3
changeset 26 ebe688cedc25
parent 0 72b543305e3a
child 27 7fdbb852d323
--- a/mmsengine/mmsserversettings/src/mmsmessagestoreutils.cpp	Thu Aug 19 09:51:11 2010 +0300
+++ b/mmsengine/mmsserversettings/src/mmsmessagestoreutils.cpp	Tue Aug 31 15:11:31 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