summaryrefslogtreecommitdiff
path: root/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/sidebar/RecentMasterPagesSelector.cxx')
-rw-r--r--sd/source/ui/sidebar/RecentMasterPagesSelector.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx b/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx
index b31e139e22d6..00c7db8ee27f 100644
--- a/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx
+++ b/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx
@@ -43,14 +43,12 @@ VclPtr<vcl::Window> RecentMasterPagesSelector::Create (
::boost::shared_ptr<MasterPageContainer> pContainer (new MasterPageContainer());
- VclPtr<MasterPagesSelector> pSelector(
- new RecentMasterPagesSelector (
+ VclPtrInstance<RecentMasterPagesSelector> pSelector(
pParent,
*pDocument,
rViewShellBase,
pContainer,
- rxSidebar),
- SAL_NO_ACQUIRE);
+ rxSidebar);
pSelector->LateInit();
pSelector->SetHelpId(HID_SD_TASK_PANE_PREVIEW_RECENT);