diff -r 5886d40bb3de -r 2989b291cac7 commsconfig/cscengine/src/cscengcchhandler.cpp --- a/commsconfig/cscengine/src/cscengcchhandler.cpp Wed Sep 15 12:01:56 2010 +0300 +++ b/commsconfig/cscengine/src/cscengcchhandler.cpp Wed Oct 13 14:20:32 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2007-2007 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -140,10 +140,9 @@ EXPORT_C void CCSCEngCCHHandler::SupportedSubServicesL( TInt aServiceId, TSupportedSubServices& aSupSubServices ) { - // Create new cch client for access the latest service info data. CCchService* service = - CCch::NewLC()->GetService( aServiceId ); - + iCchClientApi->GetService( aServiceId ); + TBool supported( EFalse ); if ( service ) @@ -160,9 +159,7 @@ service->IsSupported( ECCHVMBxSub, supported ); aSupSubServices.iVmbx = supported; } - - CleanupStack::PopAndDestroy(); // cch - + CSCENGDEBUG2( "CCSCEngCCHHandler::SupportedSubServicesL VoIP=%d", aSupSubServices.iVoIP );