return true;
}
+
result
EditBookmarkListForm::OnInitializing(void)
{
__pSelectedList->Add(pBookmarkId);
}
-
int itemCount = __pListview->GetItemCount();
for (int count = 0;count < itemCount ; count++)
{
{
__pListview->SetItemChecked(index,false);
}
+ if (pBookmarkId)
+ {
+ delete pBookmarkId;
+ pBookmarkId = null;
+ }
}
-
/*labelString.Append(CommonUtil::GetString(L"IDS_BR_BODY_PD_ITEM_SELECTED"));
labelString.Append(L"\x200E"); // LEFT-TO-RIGHT MARK
labelString.Append(L"(");
{
if (__pHistoryPresentationModel)
{
+ __pHistoryPresentationModel->UnInitialize();
delete __pHistoryPresentationModel;
__pHistoryPresentationModel = null;
}
}
}
+ if (pTodaysList)
+ {
+ pTodaysList->RemoveAll();
+ delete pTodaysList;
+ }
+
pMostVisitedSites = new(std::nothrow) ArrayList();
pMostVisitedSites->Construct();
String historyTitle = history.GetHistoryTitle();
result
HistoryPresentationModel::GetMostVisitedSites(ArrayList& pHistoryList)
{
-
int count = -1;
String query;
String historyTable(HISTORY_DATA_TABLE);
__pFindWordEditField->AddTextEventListener(*this);
__pFindWordEditField->AddKeypadEventListener(*this);
__pFindWordEditField->SetOverlayKeypadCommandButtonVisible(false);
+ __pFindWordEditField->SetColor(EDIT_STATUS_HIGHLIGHTED, Color(0x00, 0x00, 0x00, 0x00));
__pFindWordEditFieldRightToLeft = static_cast<EditField*>(__pFindWordControl->GetControl(L"IDC_FIND_WORD_EDITFIELD2", true));
if (__pFindWordEditFieldRightToLeft == null)
__pFindWordEditFieldRightToLeft->AddTextEventListener(*this);
__pFindWordEditFieldRightToLeft->AddKeypadEventListener(*this);
__pFindWordEditFieldRightToLeft->SetOverlayKeypadCommandButtonVisible(false);
-
+ __pFindWordEditFieldRightToLeft->SetColor(EDIT_STATUS_HIGHLIGHTED, Color(0x00, 0x00, 0x00, 0x00));
return r;
}
__pWebViewer->RemoveTouchEventListener(*this);
}
- if(__pItemContext)
+ if (__pItemContext)
{
delete __pItemContext;
}
- if(__pItemContextLandscape)
+ if (__pItemContextLandscape)
{
delete __pItemContextLandscape;
}
+ if (__pSaveImage)
+ {
+ delete __pSaveImage;
+ }
+ if (__pMostVisitedSites)
+ {
+ __pMostVisitedSites->RemoveAll(true);
+ delete __pMostVisitedSites;
+ }
return r;
}
MultipleWindowPresentationModel::GetInstance()->GetValue(SELECTED_SCENE_ID, &pValue);
pSelectedScene = (String*) pValue;
- if (pSelectedScene != null)
+ // removed because some times crash is happening here
+ /*if (pSelectedScene != null)
{
delete pSelectedScene;
- }
+ }*/
MultipleWindowPresentationModel::GetInstance()->SetValue(SELECTED_SCENE_ID, null);
String* selectedSceneID = new(std::nothrow) String(currentSceneId);
AppLogDebug("current scene id is %ls", currentSceneId.GetPointer());
__pWindowInfo = dynamic_cast< WindowInfo* >(pArgs->GetAt(0));
}
+ if (selectedSceneID)
+ {
+ delete selectedSceneID;
+ selectedSceneID = null;
+ }
+
InitFooter();
InitAddressbar();
WindowInfo::pFormCanvasBitmap = new(std::nothrow) Bitmap();
WindowInfo::pFormCanvasBitmap->Construct(*pCanvas,Rectangle(0,0,GetClientAreaBounds().width,GetClientAreaBounds().height - __pFooterPanel->GetHeight()));
delete pCanvas;
+ delete pWebCanvas;
AppLog("Coming here");
}