delete does not need a NULL check

This commit is contained in:
Luboš Luňák 2011-09-13 14:53:29 +02:00
parent 581c45ba8e
commit d808cb25b3

View file

@ -216,11 +216,8 @@ void MessBox::ImplLoadRes( const ResId& )
MessBox::~MessBox()
{
if ( mpFixedText )
delete mpFixedText;
if ( mpFixedImage )
delete mpFixedImage;
if ( mpCheckBox )
delete mpCheckBox;
}