emailcontacts/contactactionservice/src/cfscactionutils.cpp
branchRCL_3
changeset 12 f5907b1a1053
parent 4 e7aa27f58ae1
--- a/emailcontacts/contactactionservice/src/cfscactionutils.cpp	Fri Feb 19 22:37:30 2010 +0200
+++ b/emailcontacts/contactactionservice/src/cfscactionutils.cpp	Fri Mar 12 15:41:14 2010 +0200
@@ -32,7 +32,7 @@
 #include <CoreApplicationUIsSDKCRKeys.h> 
 #include <settingsinternalcrkeys.h>
 //<cmail> Header neither in Cmail nor in the platform
-//#include <crcseprofileregistry.h>
+#include <crcseprofileregistry.h>
 //</cmail>
 #include <NetworkHandlingDomainPSKeys.h>
 #include <MVPbkStoreContact.h>
@@ -136,7 +136,7 @@
     if ( iRCSEProfileRegistry != NULL )
         {
         //<cmail>
-        //delete iRCSEProfileRegistry;
+        delete iRCSEProfileRegistry;
         //</cmail>
         }
     }
@@ -1155,7 +1155,7 @@
         RArray<TUint32> ids;
         CleanupClosePushL( ids );
         //<cmail>
-        //iRCSEProfileRegistry->GetAllIdsL( ids );
+        iRCSEProfileRegistry->GetAllIdsL( ids );
         //</cmail>
         configured = ids.Count() > 0;
         CleanupStack::PopAndDestroy( &ids );
@@ -1252,12 +1252,12 @@
     if ( FeatureManager::FeatureSupported( KFeatureIdCommonVoip ) )
         {
         //<cmail>
-        //TRAP_IGNORE( iRCSEProfileRegistry = CRCSEProfileRegistry::NewL() );
+        TRAP_IGNORE( iRCSEProfileRegistry = CRCSEProfileRegistry::NewL() );
         //</cmail>
         }
     
     //<cmail>
-    iRCSEProfileRegistry = NULL;
+    //iRCSEProfileRegistry = NULL;
     //</cmail>
 
     }