: __email(email)
, __attendeeRole(ATTENDEE_ROLE_ATTENDEE)
, __attendeeStatus(ATTENDEE_STATUS_NONE)
- , __pAttendeeImpl(null)
, __personId(INVALID_RECORD_ID)
+ , __pAttendeeImpl(null)
{
// empty body.
}
, __phoneNumber(rhs.__phoneNumber)
, __attendeeRole(rhs.__attendeeRole)
, __attendeeStatus(rhs.__attendeeStatus)
- , __pAttendeeImpl(null)
, __personId(rhs.__personId)
+ , __pAttendeeImpl(null)
{
// empty body.
}
}
Reminder::Reminder(const Reminder& rhs)
- : __timeUnit(rhs.__timeUnit)
+ : __soundFilePath(rhs.__soundFilePath)
+ , __timeUnit(rhs.__timeUnit)
, __timeOffset(rhs.__timeOffset)
- , __soundFilePath(rhs.__soundFilePath)
, __pReminderImpl(null)
{
__pReminderImpl = new (std::nothrow) _ReminderImpl(*rhs.__pReminderImpl);
unsigned int attendeeCount = 0;
calendar_record_get_child_record_count(__eventRecord.GetHandle(), _calendar_event.calendar_attendee, &attendeeCount);
- for (int i = 0; i < attendeeCount; i++)
+ for (unsigned int i = 0; i < attendeeCount; i++)
{
calendar_record_h tmpAttendeeHandle = null;
char* pTmpEmail = null;
calendar_record_h tmpAttendeeHandle = null;
char* pTmpAttendeeEmail = null;
- for (int i = 0; i < attendeeCount; i++)
+ for (unsigned int i = 0; i < attendeeCount; i++)
{
calendar_record_get_child_record_at_p(__eventRecord.GetHandle(), _calendar_event.calendar_attendee, i, &tmpAttendeeHandle);
calendar_record_get_str_p(tmpAttendeeHandle, _calendar_attendee.email, &pTmpAttendeeEmail);
calendar_time_s tmpTimeValue;
calendar_record_get_caltime(baseEventHandle, _calendar_event.until_time, &tmpTimeValue);
- bool tmpIsAllDay = 0;
calendar_time_s tmpStartTimeValue;
DateTime convertedTime;
calendar_record_get_caltime(eventHandle, _calendar_event.start_time, &tmpStartTimeValue);
calendar_record_get_int(tmpRecordHandle, _calendar_instance_allday_calendar_book.event_id, &eventId);
pEventCategoryMap->GetValue(eventId, tmpCategory);
- if (tmpCategory == category)
+ if ((unsigned long) tmpCategory == category)
{
if (candidateCount >= startIndex)
{
calendar_record_get_int(tmpRecordHandle, _calendar_instance_normal_calendar_book.event_id, &eventId);
pEventCategoryMap->GetValue(eventId, tmpCategory);
- if (tmpCategory == category)
+ if ((unsigned long) tmpCategory == category)
{
if (candidateCount >= startIndex)
{
return E_SUCCESS;
}
- for (int i = 0; i< reminderCount; i++)
+ for (unsigned int i = 0; i< reminderCount; i++)
{
calendar_record_h tmpAlarmHandle = null;
int tmpAlarmTickUnit = CALENDAR_ALARM_NONE;
return E_SUCCESS;
}
- for (int i = 0; i< reminderCount; i++)
+ for (unsigned int i = 0; i< reminderCount; i++)
{
calendar_record_h tmpAlarmHandle = null;
int tmpAlarmTickUnit = CALENDAR_ALARM_NONE;