diff options
Diffstat (limited to 'sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx')
-rw-r--r-- | sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx index c9009629c24d..c7729447d130 100644 --- a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx +++ b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx @@ -53,14 +53,12 @@ VclPtr<vcl::Window> CurrentMasterPagesSelector::Create ( ::boost::shared_ptr<MasterPageContainer> pContainer (new MasterPageContainer()); - VclPtr<MasterPagesSelector> pSelector( - new CurrentMasterPagesSelector ( + VclPtrInstance<CurrentMasterPagesSelector> pSelector( pParent, *pDocument, rViewShellBase, pContainer, - rxSidebar), - SAL_NO_ACQUIRE); + rxSidebar); pSelector->LateInit(); pSelector->SetHelpId( HID_SD_TASK_PANE_PREVIEW_CURRENT ); |