From: HyukSoon Choi Date: Sat, 6 Apr 2013 06:13:22 +0000 (+0900) Subject: Fix appcontrol X-Git-Tag: accepted/tizen_2.1/20130425.023641~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa1977da4ed2d29a3eb5dc0b672265e8499fbd03;p=apps%2Fosp%2FImageViewer.git Fix appcontrol Change-Id: Ifb5c305d7d10f4f62564fa8b9906b547d9ef9919 Signed-off-by: HyukSoon Choi --- diff --git a/src/IvImageViewerForm.cpp b/src/IvImageViewerForm.cpp index 786e9ac..3d1d65d 100644 --- a/src/IvImageViewerForm.cpp +++ b/src/IvImageViewerForm.cpp @@ -1974,10 +1974,10 @@ ImageViewerForm::OnRequestEmailAction(void) HashMap* pDataList = new (std::nothrow) HashMap(SingleObjectDeleter); pDataList->Construct(); - IList* pList = new (std::nothrow) ArrayList(SingleObjectDeleter); + ArrayList* pList = new (std::nothrow) ArrayList(SingleObjectDeleter); pList->Add(new (std::nothrow) String(filePath)); - pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_PATH), (Object*)pList); + pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_PATH), pList); __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_EMAIL, APPCONTROL_OPERATION_ID_COMPOSE, new (std::nothrow) String(APPCONTROL_URI_MAIL_TO), null, pDataList, this); @@ -2000,9 +2000,9 @@ ImageViewerForm::OnRequestMessagesAction(void) HashMap* pDataList = new (std::nothrow) HashMap(SingleObjectDeleter); pDataList->Construct(); - IList* pList = new (std::nothrow) ArrayList(SingleObjectDeleter); + ArrayList* pList = new (std::nothrow) ArrayList(SingleObjectDeleter); pList->Add(new (std::nothrow) String(filePath)); - pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_PATH), (Object*)pList); + pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_PATH), pList); pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_MESSAGE_TYPE), new (std::nothrow) String(APPCONTROL_DATA_MMS)); __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_MESSAGES, APPCONTROL_OPERATION_ID_COMPOSE, null,