commsconfig/cscsipvoipcleanupplugin/src/cscsvcpluginrcsehandler.cpp
branchRCL_3
changeset 21 43658d24f35d
parent 0 a4daefaec16c
equal deleted inserted replaced
20:be41ab7b952f 21:43658d24f35d
     1 /*
     1 /*
     2 * Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    87     TUint32& aProfileId,
    87     TUint32& aProfileId,
    88     RArray<TUint32>& aSipProfileIds )
    88     RArray<TUint32>& aSipProfileIds )
    89     {
    89     {
    90     CSCSVCPLUGINDEBUG( "CCSCSvcPluginRcseHandler::GetProfileIdsL - begin");
    90     CSCSVCPLUGINDEBUG( "CCSCSvcPluginRcseHandler::GetProfileIdsL - begin");
    91     
    91     
       
    92     CleanupClosePushL( aSipProfileIds );
       
    93     
    92     RPointerArray<CRCSEProfileEntry> entries;
    94     RPointerArray<CRCSEProfileEntry> entries;
    93     TCleanupItem clItem( ResetAndDestroy, &entries );
    95     TCleanupItem clItem( ResetAndDestroy, &entries );
    94     CleanupStack::PushL( clItem );
    96     CleanupStack::PushL( clItem );
    95 
    97 
    96     // Get VoIP setting id
    98     // Get VoIP setting id
   111         {
   113         {
   112         User::Leave( KErrNotFound );
   114         User::Leave( KErrNotFound );
   113         }
   115         }
   114         
   116         
   115     CleanupStack::PopAndDestroy(); // clItem    
   117     CleanupStack::PopAndDestroy(); // clItem    
       
   118     CleanupStack::Pop();
   116     
   119     
   117     CSCSVCPLUGINDEBUG( "CCSCSvcPluginRcseHandler::GetProfileIdsL - end");
   120     CSCSVCPLUGINDEBUG( "CCSCSvcPluginRcseHandler::GetProfileIdsL - end");
   118     }
   121     }
   119 
   122 
   120 
   123