equal
deleted
inserted
replaced
577 CBrowserFavouritesListboxState *temp = NULL; |
577 CBrowserFavouritesListboxState *temp = NULL; |
578 TInt err( KErrNone ); |
578 TInt err( KErrNone ); |
579 TInt tempUid( KFavouritesNullUid ); |
579 TInt tempUid( KFavouritesNullUid ); |
580 |
580 |
581 temp = new CBrowserFavouritesListboxState; |
581 temp = new CBrowserFavouritesListboxState; |
582 if ( temp!=NULL ) |
582 if ( iContainer && temp!=NULL ) |
583 { |
583 { |
584 delete iSavedListboxState; |
584 delete iSavedListboxState; |
585 iSavedListboxState = temp; |
585 iSavedListboxState = temp; |
586 // folder might be empty, no CurrentItem at all |
586 // folder might be empty, no CurrentItem at all |
587 if ( iContainer->Listbox()->CurrentItem() ) |
587 if ( iContainer->Listbox()->CurrentItem() ) |