emailuis/emailui/sendasmtm/fsmtms/client/src/cfsclientmtm.cpp
branchRCL_3
changeset 11 0396474f30f5
parent 8 e1b6206813b4
equal deleted inserted replaced
10:f5907b1a1053 11:0396474f30f5
   810     {
   810     {
   811     FUNC_LOG;
   811     FUNC_LOG;
   812 
   812 
   813 	if ( iEmailAttachedInEmail )
   813 	if ( iEmailAttachedInEmail )
   814 		{
   814 		{
   815 		TMsvId accountId;
   815 		TMsvId accountId(0); // used as not found
   816 
   816 
   817 		// Get S60 mailboxes
   817 		// Get S60 mailboxes
   818 		CMsvEntry* root = CMsvEntry::NewL( Session(), KMsvRootIndexEntryId,
   818 		CMsvEntry* root = CMsvEntry::NewL( Session(), KMsvRootIndexEntryId,
   819 		       TMsvSelectionOrdering( KMsvNoGrouping, EMsvSortByNone, ETrue ) );
   819 		       TMsvSelectionOrdering( KMsvNoGrouping, EMsvSortByNone, ETrue ) );
   820 		CleanupStack::PushL( root );
   820 		CleanupStack::PushL( root );
   880     {
   880     {
   881     FUNC_LOG;
   881     FUNC_LOG;
   882 
   882 
   883 	if ( iEmailAttachedInEmail )
   883 	if ( iEmailAttachedInEmail )
   884 		{
   884 		{
   885 		TMsvId accountId;
   885 		TMsvId accountId(0); //0 is used as notfound later on
   886 
   886 
   887 		// Get S60 mailboxes
   887 		// Get S60 mailboxes
   888 		CMsvEntry* root = CMsvEntry::NewL( Session(), KMsvRootIndexEntryId,
   888 		CMsvEntry* root = CMsvEntry::NewL( Session(), KMsvRootIndexEntryId,
   889 		       TMsvSelectionOrdering( KMsvNoGrouping, EMsvSortByNone, ETrue ) );
   889 		       TMsvSelectionOrdering( KMsvNoGrouping, EMsvSortByNone, ETrue ) );
   890 		CleanupStack::PushL( root );
   890 		CleanupStack::PushL( root );