Fix appcontrol
authorHyukSoon Choi <hs619.choi@samsung.com>
Sat, 6 Apr 2013 06:13:22 +0000 (15:13 +0900)
committerHyukSoon Choi <hs619.choi@samsung.com>
Sat, 6 Apr 2013 06:13:22 +0000 (15:13 +0900)
Change-Id: Ifb5c305d7d10f4f62564fa8b9906b547d9ef9919
Signed-off-by: HyukSoon Choi <hs619.choi@samsung.com>
src/IvImageViewerForm.cpp

index 786e9ac..3d1d65d 100644 (file)
@@ -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,