connectionutilities/ConnectionDialogs/cconndlg/src/ConnDlgPlugin.cpp
changeset 41 bbb64eb3bdee
parent 20 9c97ad6591ae
equal deleted inserted replaced
40:c5b848e6c7d1 41:bbb64eb3bdee
    57 // ---------------------------------------------------------
    57 // ---------------------------------------------------------
    58 //
    58 //
    59 
    59 
    60 EXPORT_C CArrayPtr<MEikSrvNotifierBase2>* NotifierArray()
    60 EXPORT_C CArrayPtr<MEikSrvNotifierBase2>* NotifierArray()
    61     {
    61     {
    62     CArrayPtrFlat<MEikSrvNotifierBase2>* array = new (ELeave) 
    62     CArrayPtrFlat<MEikSrvNotifierBase2>* array = NULL;
    63                     CArrayPtrFlat<MEikSrvNotifierBase2>( KPluginGranularity );
    63     TRAP_IGNORE( array = new (ELeave) 
       
    64                     CArrayPtrFlat<MEikSrvNotifierBase2>( KPluginGranularity ); )
    64 
    65 
    65     if ( array )
    66     if ( array )
    66         {
    67         {
    67         TRAPD( err, CreateNotifiersL( array ) );
    68         TRAPD( err, CreateNotifiersL( array ) );
    68         if( err )
    69         if( err )