summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabview5.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/tabview5.cxx')
-rw-r--r--sc/source/ui/view/tabview5.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/view/tabview5.cxx b/sc/source/ui/view/tabview5.cxx
index 19ff7e61a141..fd6a6c62f454 100644
--- a/sc/source/ui/view/tabview5.cxx
+++ b/sc/source/ui/view/tabview5.cxx
@@ -190,10 +190,9 @@ ScTabView::~ScTabView()
delete pRowOutline[i];
}
- delete pHSplitter;
- delete pVSplitter;
-
- delete pTabControl;
+ pHSplitter.clear();
+ pVSplitter.clear();
+ pTabControl.clear();
}
void ScTabView::MakeDrawView( sal_uInt8 nForceDesignMode )