mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
More 'nullptr' updates and minor clean-ups.
This commit is contained in:
parent
46c3a6bbe5
commit
b047d9be53
113 changed files with 560 additions and 663 deletions
|
|
@ -212,7 +212,7 @@ TextEditor* AlertWindow::getTextEditor (const String& nameOfTextEditor) const
|
|||
if (textBoxes.getUnchecked(i)->getName() == nameOfTextEditor)
|
||||
return textBoxes.getUnchecked(i);
|
||||
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
const String AlertWindow::getTextEditorContents (const String& nameOfTextEditor) const
|
||||
|
|
@ -247,7 +247,7 @@ ComboBox* AlertWindow::getComboBoxComponent (const String& nameOfList) const
|
|||
if (comboBoxes.getUnchecked(i)->getName() == nameOfList)
|
||||
return comboBoxes.getUnchecked(i);
|
||||
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -657,7 +657,7 @@ private:
|
|||
static void* showCallback (void* userData)
|
||||
{
|
||||
static_cast <AlertWindowInfo*> (userData)->show();
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue