delete does not need a NULL check
This commit is contained in:
parent
581c45ba8e
commit
d808cb25b3
1 changed files with 3 additions and 6 deletions
|
@ -216,12 +216,9 @@ void MessBox::ImplLoadRes( const ResId& )
|
|||
|
||||
MessBox::~MessBox()
|
||||
{
|
||||
if ( mpFixedText )
|
||||
delete mpFixedText;
|
||||
if ( mpFixedImage )
|
||||
delete mpFixedImage;
|
||||
if ( mpCheckBox )
|
||||
delete mpCheckBox;
|
||||
delete mpFixedText;
|
||||
delete mpFixedImage;
|
||||
delete mpCheckBox;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue