summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/dlgassim.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/dlgassim.cxx')
-rw-r--r--sd/source/ui/dlg/dlgassim.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/dlgassim.cxx b/sd/source/ui/dlg/dlgassim.cxx
index b281431d3de2..2c308f7a2021 100644
--- a/sd/source/ui/dlg/dlgassim.cxx
+++ b/sd/source/ui/dlg/dlgassim.cxx
@@ -55,7 +55,7 @@ VCL_BUILDER_DECL_FACTORY(SdPageListControl)
OString sBorder = VclBuilder::extractCustomProperty(rMap);
if (!sBorder.isEmpty())
nWinStyle |= WB_BORDER;
- return VclPtr<SdPageListControl>::Create(pParent, nWinStyle);
+ return new SdPageListControl(pParent, nWinStyle);
}
IMPL_LINK_NOARG(SdPageListControl, CheckButtonClickHdl)