From 0468e5a3ebd647dfd68652245961fc6d492fbe60 Mon Sep 17 00:00:00 2001 From: chitta ranjan Date: Fri, 22 Mar 2013 16:28:40 +0900 Subject: [PATCH] Modified code for share Via Message Change-Id: I153bcca73317311391a955e99229dfa00c508321 Signed-off-by: chitta ranjan --- src/IvImageViewerForm.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/IvImageViewerForm.cpp b/src/IvImageViewerForm.cpp index a81fcb3..f94c667 100644 --- a/src/IvImageViewerForm.cpp +++ b/src/IvImageViewerForm.cpp @@ -1784,10 +1784,8 @@ ImageViewerForm::OnRequestMessagesAction(void) { HashMap* pDataList = new (std::nothrow) HashMap(SingleObjectDeleter); pDataList->Construct(); - pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_TYPE), - new (std::nothrow) String(filePath)); - pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_ATTACHMENTS), - new (std::nothrow) String(APPCONTROL_DATA_MMS)); + pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_TYPE),new (std::nothrow) String(APPCONTROL_DATA_MMS)); + pDataList->Add(new (std::nothrow) String(APPCONTROL_KEY_ATTACHMENTS),new (std::nothrow) String(filePath)); __pPresentationModel->StartAppControl(APPCONTROL_PROVIDER_ID_MESSAGES, APPCONTROL_OPERATION_ID_COMPOSE, pDataList, this); @@ -1892,7 +1890,7 @@ ImageViewerForm::GetQuickThumbnailN(String& filePath) if (r == E_SUCCESS) { if ( imageBuffer->GetExifOrientation() == EXIF_ORIENTATION_RIGHT_TOP || - imageBuffer->GetExifOrientation() == EXIF_ORIENTATION_LEFT_BOTTOM) + imageBuffer->GetExifOrientation() == EXIF_ORIENTATION_LEFT_BOTTOM ) { Dimension srcDim( imageBuffer->GetHeight(),imageBuffer->GetWidth()); pBitmap->Scale(srcDim); -- 2.7.4