equal
deleted
inserted
replaced
287 { |
287 { |
288 HBufC* tempBuf = UpnpString::ToUnicodeL( *iTitleBuf ); |
288 HBufC* tempBuf = UpnpString::ToUnicodeL( *iTitleBuf ); |
289 CleanupStack::PushL( tempBuf ); |
289 CleanupStack::PushL( tempBuf ); |
290 HBufC* buf = HBufC::NewL( iFormatString->Length() + |
290 HBufC* buf = HBufC::NewL( iFormatString->Length() + |
291 tempBuf->Length() ); |
291 tempBuf->Length() ); |
|
292 CleanupStack::PushL( buf ); |
292 buf->Des().Format( *iFormatString, tempBuf ); |
293 buf->Des().Format( *iFormatString, tempBuf ); |
|
294 obj->SetTitleL( buf ); |
|
295 CleanupStack::Pop( buf ); |
293 CleanupStack::PopAndDestroy( tempBuf ); |
296 CleanupStack::PopAndDestroy( tempBuf ); |
294 obj->SetTitleL( buf ); |
|
295 } |
297 } |
296 else |
298 else |
297 { |
299 { |
298 HBufC* buf = HBufC::NewL( iTitleBuf->Length() ); |
300 HBufC* buf = HBufC::NewL( iTitleBuf->Length() ); |
|
301 CleanupStack::PushL( buf ); |
299 buf->Des().Copy( *iTitleBuf ); |
302 buf->Des().Copy( *iTitleBuf ); |
300 obj->SetTitleL( buf ); |
303 obj->SetTitleL( buf ); |
|
304 CleanupStack::Pop( buf ); |
301 } |
305 } |
302 delete iTitleBuf; iTitleBuf = NULL; |
306 delete iTitleBuf; iTitleBuf = NULL; |
303 } |
307 } |
304 |
308 |
305 iResultRoot->AppendL( iStack->Top() ); |
309 iResultRoot->AppendL( iStack->Top() ); |