equal
deleted
inserted
replaced
205 TPtr ptrBuffer ( name->Des() ); |
205 TPtr ptrBuffer ( name->Des() ); |
206 HBufC* dynamicText = name; |
206 HBufC* dynamicText = name; |
207 if ( iModel->GetDialupAPNameL( ptrBuffer ) != KErrNone |
207 if ( iModel->GetDialupAPNameL( ptrBuffer ) != KErrNone |
208 || ptrBuffer.Length() == 0 ) |
208 || ptrBuffer.Length() == 0 ) |
209 { |
209 { |
210 CleanupStack::PopAndDestroy( name ); |
210 dynamicText = iEikonEnv->AllocReadResourceL( R_DIALUP_AP_NAME_NONE ); |
211 dynamicText = iEikonEnv->AllocReadResourceLC( R_DIALUP_AP_NAME_NONE ); |
211 } |
212 } |
212 TPtr bufPtr( dynamicText->Des() ); |
213 aValue.Copy( *dynamicText ); |
213 aValue.Copy( *dynamicText ); |
214 CleanupStack::PopAndDestroy( dynamicText ); |
214 CleanupStack::PopAndDestroy( name ); |
215 } |
215 } |
216 |
216 |
217 |
217 |
218 // ----------------------------------------------------------------------------- |
218 // ----------------------------------------------------------------------------- |
219 // CGSPDataAccessPointPlugin::HandleSelection() |
219 // CGSPDataAccessPointPlugin::HandleSelection() |