_ProgressPopup::UpdateBounds(void)
{
result r = E_SUCCESS;
-
+ AppLog("Sriram:Entered");
// change the button bounds
- __pButton->SetBounds(__pProgressPopupPresenter->GetButtonBounds());
+ if (HasButton())
+ {
+ __pButton->SetBounds(__pProgressPopupPresenter->GetButtonBounds());
+ }
// update total height -> GetTotalHeight (called by Impl)
// update process-animation rect position -> GetAnimationRect (called by UpdateProcessAnimationVE)
// update process-animation VE
r = __pProgressPopupPresenter->UpdateProcessAnimation();
-// SysTryCatch(NID_UI_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
-
- return r;
-
-CATCH:
- delete __pButton;
- __pButton = null;
+ SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
return r;
}