Remove useless BRect* version of CenterIn, make remaining version take a const
BRect reference. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32614 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2458,7 +2458,7 @@ BWindow::ResizeTo(float width, float height)
|
||||
|
||||
|
||||
void
|
||||
BWindow::CenterIn(BRect rect)
|
||||
BWindow::CenterIn(const BRect& rect)
|
||||
{
|
||||
// Force layout resizing if needed
|
||||
if (GetLayout() != NULL) {
|
||||
@@ -2472,13 +2472,6 @@ BWindow::CenterIn(BRect rect)
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
BWindow::CenterIn(BRect* rect)
|
||||
{
|
||||
CenterIn(*rect);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
BWindow::CenterOnScreen()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user