{
GalleryApp* pApp = static_cast<GalleryApp*>(GalleryApp::GetInstance());
const IMap* pArguments = pApp->GetAppControlArguments();
+ const String* cropMode = null;
+ if (pArguments != null)
+ {
+ cropMode = static_cast<const String*>(pArguments->GetValue(String(APPCONTROL_KEY_IMAGEVIEWER_MODE)));
+ }
- const String* cropMode = static_cast<const String*>(pArguments->GetValue(String(APPCONTROL_KEY_IMAGEVIEWER_MODE)));
if (cropMode != null)
{
ArrayList* pList = new (std::nothrow) ArrayList(SingleObjectDeleter);
}
else
{
+
HashMap* pMap = new (std::nothrow) HashMap(SingleObjectDeleter);
result r = pMap->Construct();
if (r == E_SUCCESS)
{
+
ArrayList* pArrayList = new (std::nothrow) ArrayList(SingleObjectDeleter);
r = pArrayList->Construct();
-
if (r == E_SUCCESS)
{
pArrayList->Add(new (std::nothrow) String(__pPresentationModel->GetContentFilePath(index)));