From 55da1fdd290554bd79b39981182bb7a536799580 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 3 Nov 2008 16:38:47 +0000 Subject: Renamed ThemeLayout::buildCopy to buildCopy::makeClone svn-id: r34881 --- gui/ThemeLayout.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gui/ThemeLayout.cpp') diff --git a/gui/ThemeLayout.cpp b/gui/ThemeLayout.cpp index 247c1c0d5e..676fa0789b 100644 --- a/gui/ThemeLayout.cpp +++ b/gui/ThemeLayout.cpp @@ -45,9 +45,9 @@ void ThemeLayout::importLayout(ThemeLayout *layout) { if (getLayoutType() == layout->getLayoutType()) { for (uint i = 0; i < layout->_children.size(); ++i) - _children.push_back(layout->_children[i]->buildCopy()); + _children.push_back(layout->_children[i]->makeClone()); } else { - _children.push_back(layout->buildCopy()); + _children.push_back(layout->makeClone()); } } @@ -152,8 +152,7 @@ void ThemeLayoutVertical::reflowLayout() { if (_centered && _children[i]->getWidth() < _w && _w != -1) { _children[i]->setX((_w >> 1) - (_children[i]->getWidth() >> 1)); - } - else + } else _children[i]->setX(curX); curY += _children[i]->getHeight() + _spacing; -- cgit v1.2.3