diff options
Diffstat (limited to 'chart2/source/controller/dialogs/tp_DataLabel.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/tp_DataLabel.cxx | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/chart2/source/controller/dialogs/tp_DataLabel.cxx b/chart2/source/controller/dialogs/tp_DataLabel.cxx index 30d35707789b..7d189fad49ca 100644 --- a/chart2/source/controller/dialogs/tp_DataLabel.cxx +++ b/chart2/source/controller/dialogs/tp_DataLabel.cxx @@ -24,18 +24,15 @@ namespace chart { -DataLabelsTabPage::DataLabelsTabPage(vcl::Window* pWindow, const SfxItemSet& rInAttrs) - : SfxTabPage(pWindow - , "tp_DataLabel" - , "modules/schart/ui/tp_DataLabel.ui" - , &rInAttrs) - , m_aDataLabelResources(this, GetFrameWeld(), rInAttrs) +DataLabelsTabPage::DataLabelsTabPage(TabPageParent pWindow, const SfxItemSet& rInAttrs) + : SfxTabPage(pWindow , "modules/schart/ui/tp_DataLabel.ui", "tp_DataLabel", &rInAttrs) + , m_aDataLabelResources(m_xBuilder.get(), pWindow.GetFrameWeld(), rInAttrs) { } -VclPtr<SfxTabPage> DataLabelsTabPage::Create(TabPageParent pWindow, const SfxItemSet* rOutAttrs) +VclPtr<SfxTabPage> DataLabelsTabPage::Create(TabPageParent pParent, const SfxItemSet* rOutAttrs) { - return VclPtr<DataLabelsTabPage>::Create(pWindow.pParent, *rOutAttrs); + return VclPtr<DataLabelsTabPage>::Create(pParent, *rOutAttrs); } bool DataLabelsTabPage::FillItemSet(SfxItemSet* rOutAttrs) |