mobilemessaging/smsui/viewersrc/MsgSmsViewerAppUi.cpp
branchRCL_3
changeset 12 caea42e26caa
parent 2 0bf1d54f37d9
child 14 c6838af47512
equal deleted inserted replaced
9:1d7827e39b52 12:caea42e26caa
  2752     // using store. This is because Sms Viewer is also used
  2752     // using store. This is because Sms Viewer is also used
  2753     // by bio messages and then sms mtm can't be used...
  2753     // by bio messages and then sms mtm can't be used...
  2754     CPlainText* nullString = CPlainText::NewL();
  2754     CPlainText* nullString = CPlainText::NewL();
  2755     CleanupStack::PushL( nullString );
  2755     CleanupStack::PushL( nullString );
  2756     delete iSmsHeader;
  2756     delete iSmsHeader;
       
  2757     iSmsHeader = NULL;
  2757     iSmsHeader = CSmsHeader::NewL( CSmsPDU::ESmsDeliver, *nullString );
  2758     iSmsHeader = CSmsHeader::NewL( CSmsPDU::ESmsDeliver, *nullString );
  2758     CMsvStore* store = doc->CurrentEntry().ReadStoreL();
  2759     CMsvStore* store = doc->CurrentEntry().ReadStoreL();
  2759     CleanupStack::PushL(store);
  2760     CleanupStack::PushL(store);
  2760 
  2761 
  2761     // This TRAPping is needed to find out if the entry's store has
  2762     // This TRAPping is needed to find out if the entry's store has