omadmadapters/syncmldm12/src/NSmlDmSettingsAdapter12.cpp
changeset 47 d316aecb87fd
parent 45 0f9fc722d255
child 56 a9afc3a8dbfa
equal deleted inserted replaced
46:b9b00b134b0d 47:d316aecb87fd
  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 )