callcontinuity/vcc/src/cvccperformer.cpp
branchRCL_3
changeset 10 ed1e38b404e5
parent 0 a4daefaec16c
child 11 6134b5029079
--- a/callcontinuity/vcc/src/cvccperformer.cpp	Mon Mar 15 12:39:55 2010 +0200
+++ b/callcontinuity/vcc/src/cvccperformer.cpp	Wed Mar 31 21:20:05 2010 +0300
@@ -673,13 +673,12 @@
     ActivateTrigger( ETrue );
     //get new service id for voip call and set it to parameters
     //this is used later for loading correct CTI plugins
-    TInt id = KErrNotFound;
-    TRAP( id, VccSettingsReader::VoIPServiceIdL() );
-    RUBY_DEBUG1( "CVccPerformer::HandoverReady() -- new Service Id: %d", id );    
+    TInt VoIPServiceId(KErrNotFound);
+    TRAP_IGNORE( VoIPServiceId = VccSettingsReader::VoIPServiceIdL() );
+    RUBY_DEBUG1( "CVccPerformer::HandoverReady() -- new Service Id: %d", VoIPServiceId );
     CCCPCallParameters* params = NULL;
-    //TRAP_IGNORE( CCCPCallParameters::NewL() );
     TRAP_IGNORE( params = iPrimaryCall->Parameters().CloneL() );
-    params->SetServiceId( id );  //iServiceId = id;
+    params->SetServiceId( VoIPServiceId );
     iPrimaryCall->SetParameters( *params );
     //inform through phone engine to phone about call bubble update needs
     MCCPCallObserver::TCCPCallEvent event =