summaryrefslogtreecommitdiff
path: root/vcl/source/app/settings.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/app/settings.cxx
parent2ea9da71470a9e2a442ec6a660de47691a3f8723 (diff)
redundant if not-null checks on delete
Diffstat (limited to 'vcl/source/app/settings.cxx')
-rw-r--r--vcl/source/app/settings.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx
index 1795d5a34496..533fe6b3ac64 100644
--- a/vcl/source/app/settings.cxx
+++ b/vcl/source/app/settings.cxx
@@ -1546,10 +1546,8 @@ ImplAllSettingsData::ImplAllSettingsData( const ImplAllSettingsData& rData ) :
ImplAllSettingsData::~ImplAllSettingsData()
{
- if ( mpLocaleDataWrapper )
- delete mpLocaleDataWrapper;
- if ( mpUILocaleDataWrapper )
- delete mpUILocaleDataWrapper;
+ delete mpLocaleDataWrapper;
+ delete mpUILocaleDataWrapper;
if ( mpI18nHelper )
delete mpI18nHelper;
if ( mpUII18nHelper )