satui/satapp/SATUISrc/CSatUiViewAppUi.cpp
branchRCL_3
changeset 8 1b9ee3c7442d
parent 0 ff3b6d0fd310
child 11 ba42c4bd84dd
equal deleted inserted replaced
7:7237db0d9fca 8:1b9ee3c7442d
   523 
   523 
   524         // Get richtext control
   524         // Get richtext control
   525         CEikCaptionedControl* capControl = 
   525         CEikCaptionedControl* capControl = 
   526             iDisplayTextIconDialog->GetControlByControlType
   526             iDisplayTextIconDialog->GetControlByControlType
   527             ( EEikCtRichTextEditor );
   527             ( EEikCtRichTextEditor );
   528         CCoeControl* coeControl = capControl->iControl;
   528         CCoeControl* coeControl = NULL;
       
   529         if ( capControl )
       
   530             {
       
   531             coeControl = capControl->iControl;
       
   532             }
       
   533         if ( !coeControl )
       
   534             {
       
   535             User::Leave( KErrUnknown );
       
   536             }
   529         CEikRichTextEditor* rtxtEditor = 
   537         CEikRichTextEditor* rtxtEditor = 
   530             reinterpret_cast<CEikRichTextEditor*>( coeControl );
   538             reinterpret_cast<CEikRichTextEditor*>( coeControl );
   531 
   539 
   532         if ( !aSelfExplanatoryIcon )
   540         if ( !aSelfExplanatoryIcon )
   533             {
   541             {