equal
deleted
inserted
replaced
138 |
138 |
139 cmailselection = iOutboxFolder ->ChildrenWithMtmL( KUidMsgTypeCmailMtmVal); |
139 cmailselection = iOutboxFolder ->ChildrenWithMtmL( KUidMsgTypeCmailMtmVal); |
140 CleanupStack::PushL( cmailselection ); |
140 CleanupStack::PushL( cmailselection ); |
141 TInt cmailCount= cmailselection ->Count(); |
141 TInt cmailCount= cmailselection ->Count(); |
142 |
142 |
143 CleanupStack::Pop( 4 ); |
143 CleanupStack::PopAndDestroy( 4 ); |
144 // Check messagecount in outbox |
144 // Check messagecount in outbox |
145 msgCount = msgCount - (smtpCount+pop3Count+ imapCount+cmailCount); |
145 msgCount = msgCount - (smtpCount+pop3Count+ imapCount+cmailCount); |
146 // Set msg count to the CR key |
146 // Set msg count to the CR key |
147 NCN_RDEBUG_INT( _L("CNcnOutboxObserver::CheckOutboxAndNotifyL SetCRInt(KNcnMessageCountInOutbox) %d" ), msgCount ); |
147 NCN_RDEBUG_INT( _L("CNcnOutboxObserver::CheckOutboxAndNotifyL SetCRInt(KNcnMessageCountInOutbox) %d" ), msgCount ); |
148 User::LeaveIfError( iModel->SetCRInt( |
148 User::LeaveIfError( iModel->SetCRInt( |