equal
deleted
inserted
replaced
2454 } |
2454 } |
2455 //if not in array add it there |
2455 //if not in array add it there |
2456 if ( !alreadyInArray ) |
2456 if ( !alreadyInArray ) |
2457 { |
2457 { |
2458 CUpnpItem* itemForSelectionArray = CUpnpItem::NewL(); |
2458 CUpnpItem* itemForSelectionArray = CUpnpItem::NewL(); |
|
2459 CleanupStack::PushL( itemForSelectionArray ); |
2459 |
2460 |
2460 itemForSelectionArray->CopyL( *iResultArray[ indexes->At( |
2461 itemForSelectionArray->CopyL( *iResultArray[ indexes->At( |
2461 selectionCount ) ] ); |
2462 selectionCount ) ] ); |
2462 |
2463 |
2463 iSelectedItemsArray.AppendL( itemForSelectionArray ); |
2464 iSelectedItemsArray.AppendL( itemForSelectionArray ); |
|
2465 CleanupStack::Pop( itemForSelectionArray ); |
2464 } |
2466 } |
2465 } |
2467 } |
2466 } |
2468 } |
2467 CTextListBoxModel* model = iListBox->Model(); |
2469 CTextListBoxModel* model = iListBox->Model(); |
2468 TInt numberOfItems = model->NumberOfItems(); |
2470 TInt numberOfItems = model->NumberOfItems(); |