mmsengine/mmsserversettings/src/mmssettings.cpp
changeset 23 238255e8b033
parent 0 72b543305e3a
child 37 518b245aa84c
child 47 5b14749788d7
child 79 2981cb3aa489
--- a/mmsengine/mmsserversettings/src/mmssettings.cpp	Tue Feb 02 00:08:43 2010 +0200
+++ b/mmsengine/mmsserversettings/src/mmssettings.cpp	Fri Apr 16 14:56:15 2010 +0300
@@ -21,7 +21,7 @@
 #include <centralrepository.h>
 #include <msvids.h>
 #include <msvapi.h>
-#include <messaginginternalcrkeys.h>
+#include <MessagingInternalCRKeys.h>
 
 // USERINCLUDE FILES
 #include "mmssettings.h"
@@ -346,7 +346,7 @@
         SaveSetting( KMmsEngineAccessPointCount, 0 );
         }
     LOG2(_L("- Loading AP array of length %d"), arrayLength );
-    for( TInt index = 0; index < arrayLength; index++ )
+    for( TInt index = 0; index < arrayLength; ++index )
         {
         retval = iMmsRepository->Get( KMmsAccesspointArrayBase + index, value ) ;
         if ( retval == KErrNone )
@@ -491,7 +491,7 @@
     User::LeaveIfError( iMmsRepository->Get( KMmsEngineAccessPointCount, origCRArrayCount ) );
     TInt localArrayCount = iAccesspointArray.Count();
     // If CenRep array is longer -> delete extra elements from it
-    for( TInt index = localArrayCount; index < origCRArrayCount; index++ )
+    for( TInt index = localArrayCount; index < origCRArrayCount; ++index )
         {
         LOG(_L("- deleting extra element from CenRep"));
         iMmsRepository->Delete( KMmsAccesspointArrayBase + index );
@@ -505,7 +505,7 @@
     SaveSetting( KMmsEngineAccessPointCount, localArrayCount );
     
     // Save the array itself
-    for( TInt index = 0; index < localArrayCount; index++ )
+    for( TInt index = 0; index < localArrayCount; ++index )
         {
         SaveSetting( KMmsAccesspointArrayBase + index, (TInt)iAccesspointArray[ index ] ); 
         LOG3(_L("- saved array[%d] with value %d"), index, iAccesspointArray[ index ]);
@@ -596,7 +596,7 @@
             // Accesspoint array is checked by CMmsConnectionInitiator
             // All defined accesspoints should contain proper values in CommDb
             
-            for( TInt index = 0; index < iAccesspointArray.Count(); index++ )
+            for( TInt index = 0; index < iAccesspointArray.Count(); ++index )
                 {
                 TUint32 ap = 0;
                 HBufC* serverUri = NULL;
@@ -708,7 +708,7 @@
         }
 
     // If the same reference already exists, ignore adding and just return
-    for(TInt index = 0; index < count; index++ )
+    for(TInt index = 0; index < count; ++index )
         {
         if( iAccesspointArray[ index ] == aAccessPointId )
             {