diff -r 94cccd85bd25 -r 1367103c24e2 messagingappbase/mce/src/MceMainViewListItemArray.cpp --- a/messagingappbase/mce/src/MceMainViewListItemArray.cpp Wed Jun 09 09:37:26 2010 +0300 +++ b/messagingappbase/mce/src/MceMainViewListItemArray.cpp Mon Jun 21 15:36:19 2010 +0300 @@ -1201,16 +1201,15 @@ if(iDefaultViewSettings == KMceConversationview ) { TInt msgCount = 0; - TInt unreadCount = 0; - iBitmapResolver.HasUnreadMessagesL(KMsvGlobalInBoxIndexEntryId,msgCount,unreadCount); + TInt unreadCount = 0; + TRAPD(Errcode,iBitmapResolver.HasUnreadMessagesL(KMsvGlobalInBoxIndexEntryId,msgCount,unreadCount)); if( unreadCount > 0 ) { bitmapidx = EMceBitmapIndexConversationNew ; } } tempText.AppendNum(bitmapidx); - TPtrC Ptr(item.iPrintableText); - TInt len = Ptr.Length(); + TPtrC Ptr(item.iPrintableText); TInt pos = Ptr.Locate(KColumnListSeparator); TPtrC Ptr1(Ptr.Mid(pos)); tempText.Append(Ptr1);