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,11 +216,8 @@ void MessBox::ImplLoadRes( const ResId& )
|
|||
|
||||
MessBox::~MessBox()
|
||||
{
|
||||
if ( mpFixedText )
|
||||
delete mpFixedText;
|
||||
if ( mpFixedImage )
|
||||
delete mpFixedImage;
|
||||
if ( mpCheckBox )
|
||||
delete mpCheckBox;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue