emailservices/emailstore/message_store/common/src/AccountsSerializer.cpp
changeset 76 38bf5461e270
parent 51 d845db10c0d4
equal deleted inserted replaced
74:6c59112cfd31 76:38bf5461e270
    44 // Method: AddAccountL
    44 // Method: AddAccountL
    45 // ==============================
    45 // ==============================
    46 void CAccountsSerializer::AddAccountL( TInt32 aOwnerId, const TDesC& aName )
    46 void CAccountsSerializer::AddAccountL( TInt32 aOwnerId, const TDesC& aName )
    47 	{
    47 	{
    48 	HBufC* nameCopy = aName.AllocL();
    48 	HBufC* nameCopy = aName.AllocL();
       
    49 	CleanupStack::PushL( nameCopy );
    49 	iNameBufArray.AppendL( nameCopy );
    50 	iNameBufArray.AppendL( nameCopy );
       
    51 	CleanupStack::Pop( nameCopy );
    50 	iOwnerIdArray.AppendL( aOwnerId );
    52 	iOwnerIdArray.AppendL( aOwnerId );
    51 	iCount++;
    53 	iCount++;
    52 	}
    54 	}
    53         
    55         
    54 // ==============================
    56 // ==============================