summaryrefslogtreecommitdiff
path: root/svx/source/dialog/frmdirlbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/frmdirlbox.cxx')
-rw-r--r--svx/source/dialog/frmdirlbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/frmdirlbox.cxx b/svx/source/dialog/frmdirlbox.cxx
index 237d8e58e19a..ef87c9f98c10 100644
--- a/svx/source/dialog/frmdirlbox.cxx
+++ b/svx/source/dialog/frmdirlbox.cxx
@@ -45,7 +45,7 @@ FrameDirectionListBox::FrameDirectionListBox( vcl::Window* pParent, WinBits nBit
VCL_BUILDER_DECL_FACTORY(FrameDirectionListBox)
{
(void)rMap;
- VclPtrInstance<FrameDirectionListBox> pListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_TABSTOP);
+ FrameDirectionListBox* pListBox = new FrameDirectionListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_TABSTOP);
pListBox->EnableAutoSize(true);
return pListBox;
}