omads/omadsappui/AspSyncUtil/src/AspProfile.cpp
branchRCL_3
changeset 11 3f1ffafb31ec
parent 10 b922b9936679
child 14 2bbcc0756c6d
--- a/omads/omadsappui/AspSyncUtil/src/AspProfile.cpp	Fri Mar 12 15:41:30 2010 +0200
+++ b/omads/omadsappui/AspSyncUtil/src/AspProfile.cpp	Mon Mar 15 12:39:28 2010 +0200
@@ -22,7 +22,7 @@
 #include <SyncMLTransportProperties.h>
 #include <featmgr.h>   // FeatureManager
 #include <centralrepository.h> // CRepository
-#include <NSmlOperatorDataCRKeys.h> // KCRUidOperatorDatasyncInternalKeys
+#include <NsmlOperatorDataCRKeys.h> // KCRUidOperatorDatasyncInternalKeys
 
 #include <calsession.h>
 #include <calcalendarinfo.h>
@@ -34,6 +34,7 @@
 #include "AspDialogUtil.h"
 #include "AspDebug.h"
 #include "AspSchedule.h"
+#include "AspDefines.h"
 #include <centralrepository.h> //CRepository
 #include <calenmulticaluids.hrh> // Calendar File Meta Data Properties
 #include <calenmulticalutil.h>
@@ -428,6 +429,14 @@
 
 	    	TAspProviderItem item;
 		    ReadDataProviderItemL(provider, item);
+		    if( (item.iDataProviderId == KUidNsmlAdapterCntGrps.iUid) ||
+		             (item.iDataProviderId == KUidNSmlAdapterSms.iUid) || 
+		             (item.iDataProviderId == KUidNSmlAdapterMMS.iUid) ||
+		             (item.iDataProviderId == KUidNsmlAdapterMedia.iUid))
+		        {
+		          CleanupStack::PopAndDestroy(&provider);
+		          continue;
+		        }
             item.iIsIncludedInSync = EFalse;
 		    
 		    if (TUtil::IsEmpty(item.iDisplayName))