summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/documentfontsdialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/documentfontsdialog.cxx')
-rw-r--r--sfx2/source/dialog/documentfontsdialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/documentfontsdialog.cxx b/sfx2/source/dialog/documentfontsdialog.cxx
index 73e9aad8471d..8f5212579846 100644
--- a/sfx2/source/dialog/documentfontsdialog.cxx
+++ b/sfx2/source/dialog/documentfontsdialog.cxx
@@ -26,9 +26,9 @@
using namespace ::com::sun::star;
-VclPtr<SfxTabPage> SfxDocumentFontsPage::Create(TabPageParent pParent, const SfxItemSet* set)
+std::unique_ptr<SfxTabPage> SfxDocumentFontsPage::Create(TabPageParent pParent, const SfxItemSet* set)
{
- return VclPtr<SfxDocumentFontsPage>::Create(pParent, *set);
+ return std::make_unique<SfxDocumentFontsPage>(pParent, *set);
}
SfxDocumentFontsPage::SfxDocumentFontsPage(TabPageParent parent, const SfxItemSet& set)