diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-23 16:00:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-24 10:05:22 +0100 |
commit | ea3fc1dd4a208823488867491cfff66072678a38 (patch) | |
tree | d0cbb3ba0f9feb24fea1fb27179a8bb126f783ba /cui | |
parent | 88afb39fd1f22b87e56996057e13f3ebb3784483 (diff) |
unnecessary check before delete
Change-Id: Ie5793f910dd58e8930c2c2b27df00bd073c26f35
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/iconcdlg.cxx | 6 |
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; } /********************************************************************** |