diff options
Diffstat (limited to 'sd/source/ui/sidebar/RecentMasterPagesSelector.cxx')
-rw-r--r-- | sd/source/ui/sidebar/RecentMasterPagesSelector.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx b/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx index 4e846dad20aa..7a2568375f99 100644 --- a/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx +++ b/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx @@ -37,7 +37,7 @@ VclPtr<vcl::Window> RecentMasterPagesSelector::Create ( if (pDocument == nullptr) return nullptr; - std::shared_ptr<MasterPageContainer> pContainer (new MasterPageContainer()); + auto pContainer = std::make_shared<MasterPageContainer>(); VclPtrInstance<RecentMasterPagesSelector> pSelector( pParent, |