summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviewsc.cxx')
-rw-r--r--sd/source/ui/view/drviewsc.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviewsc.cxx b/sd/source/ui/view/drviewsc.cxx
index 9f245cc9aa52..5bbf7ff27c49 100644
--- a/sd/source/ui/view/drviewsc.cxx
+++ b/sd/source/ui/view/drviewsc.cxx
@@ -76,10 +76,7 @@ void DrawViewShell::UpdateIMapDlg( SdrObject* pObj )
SvxIMapDlgChildWindow::UpdateIMapDlg( aGraphic, pIMap, pTargetList, pObj );
// We can delete the target list
- if ( pTargetList )
- {
- delete pTargetList;
- }
+ delete pTargetList;
}
}