summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/dlg_InsertLegend.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_InsertLegend.cxx')
-rw-r--r--chart2/source/controller/dialogs/dlg_InsertLegend.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/chart2/source/controller/dialogs/dlg_InsertLegend.cxx b/chart2/source/controller/dialogs/dlg_InsertLegend.cxx
index f718366d7c8b..919a99ba1ffc 100644
--- a/chart2/source/controller/dialogs/dlg_InsertLegend.cxx
+++ b/chart2/source/controller/dialogs/dlg_InsertLegend.cxx
@@ -25,17 +25,18 @@ namespace chart
using namespace ::com::sun::star;
SchLegendDlg::SchLegendDlg(weld::Window* pWindow, const uno::Reference<uno::XComponentContext>& xCC)
- : GenericDialogController(pWindow, "modules/schart/ui/dlg_InsertLegend.ui", "dlg_InsertLegend")
+ : GenericDialogController(pWindow, u"modules/schart/ui/dlg_InsertLegend.ui"_ustr,
+ u"dlg_InsertLegend"_ustr)
, m_xLegendPositionResources(new LegendPositionResources(*m_xBuilder, xCC))
{
}
-void SchLegendDlg::init(const uno::Reference<frame::XModel>& xChartModel)
+void SchLegendDlg::init(const rtl::Reference<::chart::ChartModel>& xChartModel)
{
m_xLegendPositionResources->writeToResources(xChartModel);
}
-void SchLegendDlg::writeToModel(const uno::Reference<frame::XModel>& xChartModel) const
+void SchLegendDlg::writeToModel(const rtl::Reference<::chart::ChartModel>& xChartModel) const
{
m_xLegendPositionResources->writeToModel(xChartModel);
}