summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotext.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-04-09 07:21:20 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-04-09 07:22:55 +0900
commitc70fc41d6b7eb6f56c70b8e85469c5db66837a42 (patch)
treebb95cb099e8930ec77aa4ae0f3ed088fdb8d6435 /svx/source/svdraw/svdotext.cxx
parent0f9190b1fad6a468a03d13db0345051aef82217a (diff)
deleting NULL is safe
Change-Id: Ief65149bc88ac4ce8badc7dbce818fca0cdcb201
Diffstat (limited to 'svx/source/svdraw/svdotext.cxx')
-rw-r--r--svx/source/svdraw/svdotext.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 19d5fffd631e..6a41d5bb9992 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -193,11 +193,9 @@ SdrTextObj::~SdrTextObj()
rOutl.SetTextObj( NULL );
}
- if(mpText!=NULL)
- delete mpText;
+ delete mpText;
- if (pFormTextBoundRect!=NULL)
- delete pFormTextBoundRect;
+ delete pFormTextBoundRect;
ImpLinkAbmeldung();
}