summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/objdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/objdlg.cxx')
-rw-r--r--basctl/source/basicide/objdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/objdlg.cxx b/basctl/source/basicide/objdlg.cxx
index e0dc7059d02f..d8b9538aff3d 100644
--- a/basctl/source/basicide/objdlg.cxx
+++ b/basctl/source/basicide/objdlg.cxx
@@ -30,8 +30,8 @@ namespace basctl
ObjectCatalog::ObjectCatalog (vcl::Window* pParent) :
DockingWindow(pParent),
- aTitle(new FixedText(this)),
- aTree(new TreeListBox(this, IDEResId(RID_TLB_MACROS)))
+ aTitle(VclPtr<FixedText>::Create(this)),
+ aTree(VclPtr<TreeListBox>::Create(this, IDEResId(RID_TLB_MACROS)))
{
SetHelpId("basctl:FloatingWindow:RID_BASICIDE_OBJCAT");
SetText(IDEResId(RID_BASICIDE_OBJCAT).toString());