summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/iconcdlg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-23 16:00:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-24 10:05:22 +0100
commitea3fc1dd4a208823488867491cfff66072678a38 (patch)
treed0cbb3ba0f9feb24fea1fb27179a8bb126f783ba /cui/source/dialogs/iconcdlg.cxx
parent88afb39fd1f22b87e56996057e13f3ebb3784483 (diff)
unnecessary check before delete
Change-Id: Ie5793f910dd58e8930c2c2b27df00bd073c26f35
Diffstat (limited to 'cui/source/dialogs/iconcdlg.cxx')
-rw-r--r--cui/source/dialogs/iconcdlg.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index 3ec071255207..adc34ce3ee1b 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -293,10 +293,8 @@ IconChoiceDialog ::~IconChoiceDialog ()
}
- if ( pRanges )
- delete pRanges;
- if ( pOutSet )
- delete pOutSet;
+ delete pRanges;
+ delete pOutSet;
}
/**********************************************************************