connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/ConnUiUtilsNotif.cpp
changeset 41 bbb64eb3bdee
parent 20 9c97ad6591ae
child 61 8b0c979bbe8c
equal deleted inserted replaced
40:c5b848e6c7d1 41:bbb64eb3bdee
    44 // Lib main entry point
    44 // Lib main entry point
    45 // ---------------------------------------------------------
    45 // ---------------------------------------------------------
    46 //
    46 //
    47 EXPORT_C CArrayPtr<MEikSrvNotifierBase2>* NotifierArray()
    47 EXPORT_C CArrayPtr<MEikSrvNotifierBase2>* NotifierArray()
    48     {
    48     {
    49     CArrayPtrFlat<MEikSrvNotifierBase2>* array = new (ELeave) 
    49     CArrayPtrFlat<MEikSrvNotifierBase2>* array = NULL;
    50                     CArrayPtrFlat<MEikSrvNotifierBase2>( KPluginGranularity );
    50     TRAP_IGNORE( array = new (ELeave) 
       
    51                     CArrayPtrFlat<MEikSrvNotifierBase2>( KPluginGranularity ); )
    51 
    52 
    52     if ( array )
    53     if ( array )
    53         {
    54         {
    54         TRAPD( err, CreateNotifiersL( array ) );
    55         TRAPD( err, CreateNotifiersL( array ) );
    55         if( err )
    56         if( err )