[Libreoffice-commits] .: vcl/source
Lubos Lunak
llunak at kemper.freedesktop.org
Mon Sep 19 10:59:46 PDT 2011
vcl/source/window/msgbox.cxx | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
New commits:
commit d808cb25b3f0c22f554ef7d60623abd0d7d84657
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Tue Sep 13 14:53:29 2011 +0200
delete does not need a NULL check
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx
index 3f8c568..e27cefe 100644
--- a/vcl/source/window/msgbox.cxx
+++ b/vcl/source/window/msgbox.cxx
@@ -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;
}
// -----------------------------------------------------------------------
More information about the Libreoffice-commits
mailing list