diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-04 00:20:06 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-04 00:20:06 -0400 |
commit | 55e9a1db54281e8e657ba2e8878c6e8b77e138dc (patch) | |
tree | 789bb06a13268efd61f2f8d6c900dbd46b85a169 /sc | |
parent | 512eb7afd2183c2e53dd0c987402602b018fc8d4 (diff) |
Removed unnecessary condition checks.
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/inc/eeparser.hxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sc/source/filter/inc/eeparser.hxx b/sc/source/filter/inc/eeparser.hxx index 2714ca927b62..2e9400221e5a 100644 --- a/sc/source/filter/inc/eeparser.hxx +++ b/sc/source/filter/inc/eeparser.hxx @@ -96,14 +96,10 @@ struct ScEEParseEntry {} ~ScEEParseEntry() { - if ( pValStr ) - delete pValStr; - if ( pNumStr ) - delete pNumStr; - if ( pName ) - delete pName; - if ( maImageList.size() ) - maImageList.clear(); + delete pValStr; + delete pNumStr; + delete pName; + maImageList.clear(); } }; |