mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Replace zeroes and nulls by nullptrs
This commit is contained in:
parent
86fad60c7d
commit
8084a336b5
183 changed files with 483 additions and 483 deletions
|
@ -8,7 +8,7 @@ namespace Gui
|
|||
void AutoSizedWidget::notifySizeChange (MyGUI::Widget* w)
|
||||
{
|
||||
MyGUI::Widget * parent = w->getParent();
|
||||
if (parent != 0)
|
||||
if (parent != nullptr)
|
||||
{
|
||||
if (mExpandDirection.isLeft())
|
||||
{
|
||||
|
@ -17,7 +17,7 @@ namespace Gui
|
|||
}
|
||||
w->setSize(getRequestedSize ());
|
||||
|
||||
while (parent != 0)
|
||||
while (parent != nullptr)
|
||||
{
|
||||
Box * b = dynamic_cast<Box*>(parent);
|
||||
if (b)
|
||||
|
@ -280,7 +280,7 @@ namespace Gui
|
|||
void HBox::initialiseOverride()
|
||||
{
|
||||
Base::initialiseOverride();
|
||||
MyGUI::Widget* client = 0;
|
||||
MyGUI::Widget* client = nullptr;
|
||||
assignWidget(client, "Client");
|
||||
setWidgetClient(client);
|
||||
}
|
||||
|
@ -435,7 +435,7 @@ namespace Gui
|
|||
void VBox::initialiseOverride()
|
||||
{
|
||||
Base::initialiseOverride();
|
||||
MyGUI::Widget* client = 0;
|
||||
MyGUI::Widget* client = nullptr;
|
||||
assignWidget(client, "Client");
|
||||
setWidgetClient(client);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue