ipsservices/ipssosplugin/src/ipsplgsearch.cpp
changeset 74 6c59112cfd31
parent 51 d845db10c0d4
child 76 38bf5461e270
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
   742 //
   742 //
   743 TFSMailMsgId CIpsPlgSearch::SendToObserverL()
   743 TFSMailMsgId CIpsPlgSearch::SendToObserverL()
   744     {
   744     {
   745     FUNC_LOG;
   745     FUNC_LOG;
   746     CFSMailMessage* obsMail = iMapper->GetMailMessageL( *iActiveEntry );
   746     CFSMailMessage* obsMail = iMapper->GetMailMessageL( *iActiveEntry );
   747     CleanupStack::PushL( obsMail );    
   747     TFSMailMsgId id = obsMail->GetMessageId(); 
   748     
   748     // obsMail ownership is transferred
   749     iObserver->MatchFoundL( obsMail );    
   749     iObserver->MatchFoundL( obsMail );    
   750     
   750     return id;       
   751     CleanupStack::Pop( obsMail );
   751     }
   752     return obsMail->GetMessageId();        
   752     
   753     }
       
   754 
       
   755 // ---------------------------------------------------------------------------
   753 // ---------------------------------------------------------------------------
   756 // From class MIpsPlgSearch.
   754 // From class MIpsPlgSearch.
   757 // CIpsPlgSearch::SearchFinished()
   755 // CIpsPlgSearch::SearchFinished()
   758 // ---------------------------------------------------------------------------
   756 // ---------------------------------------------------------------------------
   759 //
   757 //