From 72e6c70738a8c78f824319ec2bbf864e9997806b Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Fri, 15 May 2015 18:05:08 +0100 Subject: tdf#91239 - add missing disposeAndClear logic for basctl. Change-Id: If5c8fbf453e47921b472a987e9e6cff283464dcf --- basctl/source/basicide/basidesh.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'basctl/source') diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index 1c01f29b3b8b..1cd01cdf7795 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -225,6 +225,12 @@ Shell::~Shell() SetWindow( 0 ); SetCurWindow( 0 ); + pTabBar.disposeAndClear(); + aObjectCatalog.disposeAndClear(); + aScrollBarBox.disposeAndClear(); + aVScrollBar.disposeAndClear(); + aHScrollBar.disposeAndClear(); + for (WindowTable::iterator it = aWindowTable.begin(); it != aWindowTable.end(); ++it) { // no store; does already happen when the BasicManagers are destroyed -- cgit