Remove Getxmlbounds in PopupImpl::OnBoundsChanged()
[framework/osp/uifw.git] / src / ui / controls / FUiCtrl_PopupImpl.cpp
index 66ace78..ec24aff 100644 (file)
@@ -378,11 +378,6 @@ _PopupImpl::OnBoundsChanged(void)
                }
        }
 
-       if(GetXmlBounds(rect))
-       {
-               rect = GetCenterAlignedRect(rect.width, rect.height);
-       }
-
        _centerAlign = true;
 
        result r = SetBounds(rect, true);