Nabi issue 46564 fix
[apps/osp/Gallery.git] / src / GlAlbumNameEditorForm.cpp
index 1130a56..3ce1d2f 100644 (file)
@@ -333,7 +333,7 @@ AlbumNameEditorForm::OnRenameAlbum(String& strOri)
        else
        {
                //Add a popup here
-               Rectangle clientRect = GetClientAreaBounds();
+               Rectangle clientRect = Form::GetBounds();
                Rectangle rect(0, 0, clientRect.width, clientRect.height);
                __pProgressAnim = new (std::nothrow) ProgressAnimation;
                __pProgressAnim->Construct(rect);
@@ -695,9 +695,9 @@ AlbumNameEditorForm::CreateMessage(String& str)
 void
 AlbumNameEditorForm::OnOrientationChanged(const Tizen::Ui::Control &source, Tizen::Ui::OrientationStatus orientationStatus)
 {
-       if (__pProgressAnim != NULL)
+       if (__pProgressAnim != null)
        {
-               __pProgressAnim->ChangeOrientation(GetClientAreaBounds());
+               __pProgressAnim->ChangeOrientation(Form::GetBounds());
                __pProgressAnim->Invalidate(true);
        }
 }