equal
deleted
inserted
replaced
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 ); |