equal
deleted
inserted
replaced
666 /*! |
666 /*! |
667 \internal |
667 \internal |
668 */ |
668 */ |
669 bool MpMpxCollectionDataPrivate::DoTestCachedItemL( int itemId ) |
669 bool MpMpxCollectionDataPrivate::DoTestCachedItemL( int itemId ) |
670 { |
670 { |
671 if ( !iCachedRemovedItem && !iCachedRemovedItem->IsSupported( KMPXMediaGeneralId ) ) { |
671 if ( !iCachedRemovedItem || !iCachedRemovedItem->IsSupported( KMPXMediaGeneralId ) ) { |
672 User::Leave(KErrNotFound); |
672 User::Leave(KErrNotFound); |
673 } |
673 } |
674 return ( itemId == iCachedRemovedItem->ValueTObjectL<TInt>( KMPXMediaGeneralId ) ); |
674 return ( itemId == iCachedRemovedItem->ValueTObjectL<TInt>( KMPXMediaGeneralId ) ); |
675 } |
675 } |
676 |
676 |