emailuis/emailui/src/ncsaddressinputfield.cpp
changeset 1 12c456ceeff2
parent 0 8466d47a6819
child 8 e1b6206813b4
equal deleted inserted replaced
0:8466d47a6819 1:12c456ceeff2
    93 	{
    93 	{
    94     FUNC_LOG;
    94     FUNC_LOG;
    95 	// Create label
    95 	// Create label
    96 	//Load the label string
    96 	//Load the label string
    97 	HBufC* aTextBuf = StringLoader::LoadLC( aLabelTextId );
    97 	HBufC* aTextBuf = StringLoader::LoadLC( aLabelTextId );
    98 	//<cmail>
    98 
    99 	CreateControlsL( aTextBuf ? aTextBuf->Des() : TPtrC() );
    99 	TPtrC captionText = aTextBuf ? aTextBuf->Des() : TPtrC();
   100 	//</cmail>
   100 	CreateControlsL( captionText );
   101 	
   101 	
   102 	iTextEditor = new ( ELeave ) CNcsAifEditor( iSizeObserver );
   102 	iTextEditor = new ( ELeave ) CNcsAifEditor( iSizeObserver,
       
   103                                                 captionText );
   103     // iTextEditor is not completely constructed until in SetContainerWindowL()
   104     // iTextEditor is not completely constructed until in SetContainerWindowL()
   104 
   105 
   105 	iTextEditor->SetPopupList(iAddressPopupList);
   106 	iTextEditor->SetPopupList(iAddressPopupList);
   106 
   107 
   107 	CleanupStack::PopAndDestroy( aTextBuf );
   108 	CleanupStack::PopAndDestroy( aTextBuf );