summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/baside3.cxx')
-rw-r--r--basctl/source/basicide/baside3.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx
index a85d0e0fd67f..4c08dcbb770e 100644
--- a/basctl/source/basicide/baside3.cxx
+++ b/basctl/source/basicide/baside3.cxx
@@ -1413,12 +1413,12 @@ DialogWindowLayout::~DialogWindowLayout()
void DialogWindowLayout::dispose()
{
- if (pPropertyBrowser != 0)
+ if (pPropertyBrowser)
{
Remove(pPropertyBrowser);
- delete pPropertyBrowser;
- pPropertyBrowser = 0;
}
+ pPropertyBrowser.clear();
+ pChild.clear();
Layout::dispose();
}