meetingrequest/mrgui/mrfieldbuilderplugin/src/cesmrviewerdescriptionfield.cpp
branchRCL_3
changeset 80 726fba06891a
parent 64 3533d4323edc
equal deleted inserted replaced
73:c8382f7b54ef 80:726fba06891a
   100 // ---------------------------------------------------------------------------
   100 // ---------------------------------------------------------------------------
   101 //
   101 //
   102 void CESMRViewerDescriptionField::InternalizeL( MESMRCalEntry& aEntry )
   102 void CESMRViewerDescriptionField::InternalizeL( MESMRCalEntry& aEntry )
   103     {
   103     {
   104     FUNC_LOG;
   104     FUNC_LOG;
       
   105     iDisableRedraw = ETrue;
       
   106     
   105     TPtrC text = aEntry.Entry().DescriptionL ( );
   107     TPtrC text = aEntry.Entry().DescriptionL ( );
   106     if( text.Length() == 0 )
   108     if( text.Length() == 0 )
   107         {
   109         {
   108         iObserver->HideControl( FieldId() );
   110         iObserver->HideControl( FieldId() );
   109         }
   111         }
   117         TPtrC text = aEntry.Entry().DescriptionL();
   119         TPtrC text = aEntry.Entry().DescriptionL();
   118         iRichTextViewer->SetTextL( &text, ETrue );
   120         iRichTextViewer->SetTextL( &text, ETrue );
   119         iRichTextViewer->SetMargins( KMargin );
   121         iRichTextViewer->SetMargins( KMargin );
   120         iRichTextViewer->ApplyLayoutChangesL();
   122         iRichTextViewer->ApplyLayoutChangesL();
   121         }
   123         }
   122     iDisableRedraw = ETrue;
       
   123     }
   124     }
   124 
   125 
   125 // ---------------------------------------------------------------------------
   126 // ---------------------------------------------------------------------------
   126 // CESMRViewerDescriptionField::OfferKeyEventL()
   127 // CESMRViewerDescriptionField::OfferKeyEventL()
   127 // ---------------------------------------------------------------------------
   128 // ---------------------------------------------------------------------------