summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhs321.lee <hs321.lee@samsung.com>2013-08-21 19:36:14 +0900
committerhs321.lee <hs321.lee@samsung.com>2013-08-21 19:36:41 +0900
commit8effb3161670931719d80f2f0e5a8cc5f6f3415f (patch)
treefa0172c023a06155ed4937501ec2ce75456d6b1e
parent6b76cc373c9d889503902c1f00bf4afa6345f34a (diff)
downloadsocial-8effb3161670931719d80f2f0e5a8cc5f6f3415f.tar.gz
social-8effb3161670931719d80f2f0e5a8cc5f6f3415f.tar.bz2
social-8effb3161670931719d80f2f0e5a8cc5f6f3415f.zip
Fix the bug about calendarId
Change-Id: Ifce3c772dfad59bec17f04ae1cd755a06ca9a104 Signed-off-by: hs321.lee <hs321.lee@samsung.com>
-rw-r--r--src/FScl_CalEventImpl.cpp1
-rw-r--r--src/FScl_CalTodoImpl.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/FScl_CalEventImpl.cpp b/src/FScl_CalEventImpl.cpp
index 852c06e..d3abb77 100644
--- a/src/FScl_CalEventImpl.cpp
+++ b/src/FScl_CalEventImpl.cpp
@@ -128,6 +128,7 @@ _CalEventImpl::_CalEventImpl(void)
calendar_record_set_int(eventHandle, _calendar_event.busy_status, CALENDAR_EVENT_BUSY_STATUS_FREE);
calendar_record_set_int(eventHandle, _calendar_event.priority, CALENDAR_EVENT_PRIORITY_NORMAL);
calendar_record_set_int(eventHandle, _calendar_event.sensitivity, CALENDAR_SENSITIVITY_PUBLIC);
+ calendar_record_set_int(eventHandle, _calendar_event.calendar_book_id, INVALID_RECORD_ID);
r = __reminderList.Construct();
SysTryReturnVoidResult(NID_SCL, r == E_SUCCESS, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory allocation failed.");
diff --git a/src/FScl_CalTodoImpl.cpp b/src/FScl_CalTodoImpl.cpp
index 490257f..b30998f 100644
--- a/src/FScl_CalTodoImpl.cpp
+++ b/src/FScl_CalTodoImpl.cpp
@@ -101,6 +101,7 @@ _CalTodoImpl::_CalTodoImpl(void)
calendar_record_set_int(todoHandle, _calendar_todo.todo_status, CALENDAR_TODO_STATUS_NONE);
calendar_record_set_int(todoHandle, _calendar_todo.priority, CALENDAR_TODO_PRIORITY_NORMAL);
calendar_record_set_int(todoHandle, _calendar_todo.sensitivity, CALENDAR_SENSITIVITY_PUBLIC);
+ calendar_record_set_int(todoHandle, _calendar_todo.calendar_book_id, INVALID_RECORD_ID);
__todoRecord.ResetHandle(todoHandle);