summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/dlg_ChartType.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_ChartType.cxx')
-rw-r--r--chart2/source/controller/dialogs/dlg_ChartType.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/dlg_ChartType.cxx b/chart2/source/controller/dialogs/dlg_ChartType.cxx
index cde483390e73..d1c2acc3c14d 100644
--- a/chart2/source/controller/dialogs/dlg_ChartType.cxx
+++ b/chart2/source/controller/dialogs/dlg_ChartType.cxx
@@ -33,9 +33,8 @@ ChartTypeDialog::ChartTypeDialog(weld::Window* pParent,
, m_xChartModel(xChartModel)
, m_xContentArea(m_xDialog->weld_content_area())
{
- TabPageParent aParent(m_xContentArea.get(), this);
m_xChartTypeTabPage = std::make_unique<ChartTypeTabPage>(
- aParent,
+ m_xContentArea.get(), this,
uno::Reference<XChartDocument>::query(m_xChartModel),
false/*don't show title description*/);