--- a/mmsengine/mmscodec/src/mmsdecode.cpp Tue Feb 02 00:08:43 2010 +0200
+++ b/mmsengine/mmscodec/src/mmsdecode.cpp Fri Apr 16 14:56:15 2010 +0300
@@ -679,7 +679,7 @@
TInt count = attaMan.AttachmentCount();
TInt i;
// delete all old attachments as we are starting from the beginning
- for ( i = count - 1; i >= 0; i-- )
+ for ( i = count - 1; i >= 0; --i )
{
attaManSync.RemoveAttachmentL( i );
}
@@ -788,7 +788,7 @@
void CMmsDecode::SelectNextState()
{
- // If appropiate, the functions called within the switch statement
+ // If appropriate, the functions called within the switch statement
// will make us active again. If all is done, the asynchronous request
// will complete
@@ -1301,7 +1301,7 @@
MMsvAttachmentManagerSync& attaManSync = iStore->AttachmentManagerExtensionsL();
TInt count = attaMan.AttachmentCount();
TInt i;
- for ( i = count - 1; i > 0; i-- )
+ for ( i = count - 1; i > 0; --i )
{
attaManSync.RemoveAttachmentL( i );
}
@@ -1782,7 +1782,7 @@
TUint i;
TUint8 byte;
TBuf<1> character;
- for ( i = iPosition; i < iPosition + length && i < iLength; i++ )
+ for ( i = iPosition; i < iPosition + length && i < iLength; ++i )
{
iDecodeBuffer->Read(i, &byte, 1);
TUint16 word = byte;
@@ -2511,7 +2511,7 @@
TUint i;
TUint length;
length = byte;
- for ( i = 0; i < length && iPosition < iLength; i++)
+ for ( i = 0; i < length && iPosition < iLength; ++i)
{
integer <<= KMmsBitsInByte;
iDecodeBuffer->Read(iPosition, &byte, 1);
@@ -2563,7 +2563,7 @@
TUint length;
length = byte;
- for ( i = 0; i < length && iPosition < iLength; i++)
+ for ( i = 0; i < length && iPosition < iLength; ++i)
{
veryLongInteger <<= KMmsBitsInByte;
iDecodeBuffer->Read(iPosition, &byte, 1);
@@ -3796,7 +3796,7 @@
// The momoblock structure probably won't work correctly in chunked mode
// but it is not supposed to be supported anyway.
- // Before this funtion is called in the chunked mode we have checked
+ // Before this function is called in the chunked mode we have checked
// that we have enough data to cover all the headers (the length of the
// headers is given in the beginning)
@@ -4386,7 +4386,7 @@
CBufFlat* shortBuffer = CBufFlat::NewL( KMms2 );
CleanupStack::PushL( shortBuffer );
shortBuffer->ResizeL( KMms2 );
- // no need to put it into cleanupstack... we dont't leave before we delete it
+ // no need to put it into cleanupstack... we don't leave before we delete it
TUint8 byte;
// put little-endian BOM to buffer
byte = 0xFF;
@@ -4666,7 +4666,7 @@
TInt flCount = 0;
TInt sdCount = 0;
- for ( TInt i = 0; i < attaCount; i++ )
+ for ( TInt i = 0; i < attaCount; ++i )
{
CMsvAttachment* info = attaManager.GetAttachmentInfoL( i );
CleanupStack::PushL( info );
@@ -4937,7 +4937,7 @@
TInt i;
TBool safe = ETrue;
- for ( i = 0; i < aString.Length() && safe; i++ )
+ for ( i = 0; i < aString.Length() && safe; ++i )
{
if ( aString[i] < KMmsLowestAscii || aString[i] >= KMmsHighestAscii )
{