omadm/omadmextensions/adapters/syncmldm12/src/NSmlDmSettingsAdapter12.cpp
branchRCL_3
changeset 23 c4687ff85147
parent 12 4699373c9af8
equal deleted inserted replaced
22:9360ca28b668 23:c4687ff85147
  2042 	{
  2042 	{
  2043 		for(TInt i =0; i< count; i++)
  2043 		for(TInt i =0; i< count; i++)
  2044 		{
  2044 		{
  2045 			TInt pid = i + KMaxDataSyncID;
  2045 			TInt pid = i + KMaxDataSyncID;
  2046 			TInt index = profileList.Find(pid );
  2046 			TInt index = profileList.Find(pid );
  2047 			if( index >= i  )
  2047 			if( index >= 0  )
  2048 			{	    		
  2048 			{	    		
  2049 	        	TInt rValue(KErrNone);
  2049 	        	TInt rValue(KErrNone);
  2050 	        	RSyncMLDevManProfile profile;
  2050 	        	RSyncMLDevManProfile profile;
  2051 	    		TRAP( rValue, profile.OpenL( iSyncSession, pid, ESmlOpenRead ) );
  2051 	    		TRAP( rValue, profile.OpenL( iSyncSession, pid, ESmlOpenRead ) );
  2052 	    		if( rValue == KErrNone )
  2052 	    		if( rValue == KErrNone )