summaryrefslogtreecommitdiff
path: root/vcl/source/window/tabdlg.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-11-07 12:49:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-07 12:49:03 +0000
commit2411ea09a8d20609e48b0750ab2102c00e0c3b8a (patch)
tree18c8dd0e5784ea488e2744067225689b85f8ed1f /vcl/source/window/tabdlg.cxx
parent2ea9da71470a9e2a442ec6a660de47691a3f8723 (diff)
redundant if not-null checks on delete
Diffstat (limited to 'vcl/source/window/tabdlg.cxx')
-rw-r--r--vcl/source/window/tabdlg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/window/tabdlg.cxx b/vcl/source/window/tabdlg.cxx
index 32e8a0dcec92..beb02a1dbc16 100644
--- a/vcl/source/window/tabdlg.cxx
+++ b/vcl/source/window/tabdlg.cxx
@@ -239,8 +239,7 @@ TabDialog::TabDialog( Window* pParent, const ResId& rResId ) :
TabDialog::~TabDialog()
{
- if ( mpFixedLine )
- delete mpFixedLine;
+ delete mpFixedLine;
}
// -----------------------------------------------------------------------