summaryrefslogtreecommitdiff
path: root/sw/source/uibase/misc/numberingtypelistbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/misc/numberingtypelistbox.cxx')
-rw-r--r--sw/source/uibase/misc/numberingtypelistbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/misc/numberingtypelistbox.cxx b/sw/source/uibase/misc/numberingtypelistbox.cxx
index 4e0c96137829..30b6b05a6640 100644
--- a/sw/source/uibase/misc/numberingtypelistbox.cxx
+++ b/sw/source/uibase/misc/numberingtypelistbox.cxx
@@ -58,7 +58,7 @@ bool SwNumberingTypeListBox::set_property(const OString &rKey, const OString &rV
VCL_BUILDER_DECL_FACTORY(SwNumberingTypeListBox)
{
(void)rMap;
- VclPtrInstance<SwNumberingTypeListBox> pListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_TABSTOP);
+ SwNumberingTypeListBox *pListBox = new SwNumberingTypeListBox(pParent, WB_LEFT|WB_DROPDOWN|WB_VCENTER|WB_3DLOOK|WB_TABSTOP);
pListBox->EnableAutoSize(true);
return pListBox;
}