radioengine/settings/src/cradioregion.cpp
changeset 41 3a6b55c6390c
parent 33 11b6825f0862
child 57 21be958eb3ce
equal deleted inserted replaced
33:11b6825f0862 41:3a6b55c6390c
    48     iMinFreq = aRr.ReadUint32() * KRadioThousand;
    48     iMinFreq = aRr.ReadUint32() * KRadioThousand;
    49     iMaxFreq = aRr.ReadUint32() * KRadioThousand;
    49     iMaxFreq = aRr.ReadUint32() * KRadioThousand;
    50     iDecimalCount = aRr.ReadInt16();
    50     iDecimalCount = aRr.ReadInt16();
    51 
    51 
    52     TInt countryCodeCount = aRr.ReadInt16();
    52     TInt countryCodeCount = aRr.ReadInt16();
    53     for ( TInt i = 0 ; i < countryCodeCount ; i++)
    53     for ( TInt i = 0; i < countryCodeCount; ++i )
    54         {
    54         {
    55         TPtrC code;
    55         TPtrC code;
    56         code.Set( aRr.ReadTPtrC());
    56         code.Set( aRr.ReadTPtrC());
    57         User::LeaveIfError( iCountryCodes.Append( code.AllocL()));
    57         User::LeaveIfError( iCountryCodes.Append( code.AllocL()));
    58         }
    58         }