connectionutilities/ConnectionDialogs/cconndlg/src/ConnDlgPlugin.cpp
changeset 47 cb7afde124a3
parent 20 9c97ad6591ae
equal deleted inserted replaced
46:95d45f234cf3 47:cb7afde124a3
    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 )