diff options
Diffstat (limited to 'chart2/source/controller/dialogs/tp_PointGeometry.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/tp_PointGeometry.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/chart2/source/controller/dialogs/tp_PointGeometry.cxx b/chart2/source/controller/dialogs/tp_PointGeometry.cxx index 2cbfe653e576..6e667b9c89b8 100644 --- a/chart2/source/controller/dialogs/tp_PointGeometry.cxx +++ b/chart2/source/controller/dialogs/tp_PointGeometry.cxx @@ -36,18 +36,12 @@ SchLayoutTabPage::SchLayoutTabPage(TabPageParent pParent, const SfxItemSet& rInA SchLayoutTabPage::~SchLayoutTabPage() { - disposeOnce(); -} - -void SchLayoutTabPage::dispose() -{ m_pGeometryResources.reset(); - SfxTabPage::dispose(); } -VclPtr<SfxTabPage> SchLayoutTabPage::Create(TabPageParent pParent, const SfxItemSet* rOutAttrs) +std::unique_ptr<SfxTabPage> SchLayoutTabPage::Create(TabPageParent pParent, const SfxItemSet* rOutAttrs) { - return VclPtr<SchLayoutTabPage>::Create(pParent, *rOutAttrs); + return std::make_unique<SchLayoutTabPage>(pParent, *rOutAttrs); } bool SchLayoutTabPage::FillItemSet(SfxItemSet* rOutAttrs) |