equal
deleted
inserted
replaced
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 // ============================== |