diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-04-09 07:21:20 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-04-09 07:22:55 +0900 |
commit | c70fc41d6b7eb6f56c70b8e85469c5db66837a42 (patch) | |
tree | bb95cb099e8930ec77aa4ae0f3ed088fdb8d6435 /svx/source/svdraw/svdedxv.cxx | |
parent | 0f9190b1fad6a468a03d13db0345051aef82217a (diff) |
deleting NULL is safe
Change-Id: Ief65149bc88ac4ce8badc7dbce818fca0cdcb201
Diffstat (limited to 'svx/source/svdraw/svdedxv.cxx')
-rw-r--r-- | svx/source/svdraw/svdedxv.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index f67151001585..18e12508c0c4 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -96,9 +96,7 @@ SdrObjEditView::~SdrObjEditView() { pTextEditWin = NULL; // so there's no ShowCursor in SdrEndTextEdit if (IsTextEdit()) SdrEndTextEdit(); - if (pTextEditOutliner!=NULL) { - delete pTextEditOutliner; - } + delete pTextEditOutliner; } //////////////////////////////////////////////////////////////////////////////////////////////////// |