summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-03-24 20:50:41 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-03-25 10:54:05 +0900
commitc7af37db60aab361e8ab01e69c816d249fb558b6 (patch)
tree4cbda4ef41484941db704d9d022aec4a3cdc11b8 /svx
parentfad530fa03cda8a1cd1490bc579fe6bc71638920 (diff)
deleting NULL is safe
Change-Id: I3748d0034b2c8e9d9122ad2a9001763eb1265e1d
Diffstat (limited to 'svx')
-rw-r--r--svx/source/items/numinf.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/items/numinf.cxx b/svx/source/items/numinf.cxx
index 8583b69077d9..34ab3ea9b249 100644
--- a/svx/source/items/numinf.cxx
+++ b/svx/source/items/numinf.cxx
@@ -112,8 +112,7 @@ SvxNumberInfoItem::SvxNumberInfoItem( const SvxNumberInfoItem& rItem ) :
SvxNumberInfoItem::~SvxNumberInfoItem()
{
- if ( pDelFormatArr )
- delete []pDelFormatArr;
+ delete [] pDelFormatArr;
}
//------------------------------------------------------------------------