equal
deleted
inserted
replaced
1336 |
1336 |
1337 for ( TInt i = 0; i < count; ++i ) |
1337 for ( TInt i = 0; i < count; ++i ) |
1338 { |
1338 { |
1339 const TDesC& uri = *((*aObjects)[i]); |
1339 const TDesC& uri = *((*aObjects)[i]); |
1340 HBufC* lcUri = HBufC::NewLC( uri.Length() ); |
1340 HBufC* lcUri = HBufC::NewLC( uri.Length() ); |
|
1341 // Note: CopyLC doesn't push anything to cleanup stack |
1341 lcUri->Des().CopyLC( uri ); |
1342 lcUri->Des().CopyLC( uri ); |
1342 buffer->InsertL( *lcUri ); |
1343 buffer->InsertL( *lcUri ); |
1343 CleanupStack::PopAndDestroy( lcUri ); |
1344 CleanupStack::PopAndDestroy( lcUri ); |
1344 } |
1345 } |
1345 } |
1346 } |