diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-20 09:49:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-20 14:37:10 +0100 |
commit | b39bdb65b39e86996c704cdfe14360ad317f3a1f (patch) | |
tree | 448bf1b6083f159a5c5002289e4406480ee2f8ce /chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx | |
parent | WASM re-activate and fix the Chart build (diff) | |
download | core-b39bdb65b39e86996c704cdfe14360ad317f3a1f.tar.gz core-b39bdb65b39e86996c704cdfe14360ad317f3a1f.zip |
use more concrete types in chart2, ChartModel
Change-Id: Ie38d941f855978b04995162040d8871a2577255c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128641
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx')
-rw-r--r-- | chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx b/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx index b31231633a21..f06a3e7ec589 100644 --- a/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx +++ b/chart2/source/controller/dialogs/tp_Wizard_TitlesAndObjects.hxx @@ -22,6 +22,7 @@ #include <TimerTriggeredControllerLock.hxx> #include <vcl/wizardmachine.hxx> +#include <rtl/ref.hxx> #include <memory> @@ -32,12 +33,13 @@ namespace com::sun::star::uno { class XComponentContext; } namespace chart { +class ChartModel; class TitlesAndObjectsTabPage final : public vcl::OWizardPage { public: TitlesAndObjectsTabPage(weld::Container* pPage, weld::DialogController* pController, - const css::uno::Reference< css::chart2::XChartDocument >& xChartModel, + const rtl::Reference<::chart::ChartModel>& xChartModel, const css::uno::Reference< css::uno::XComponentContext >& xContext); virtual ~TitlesAndObjectsTabPage() override; @@ -54,7 +56,7 @@ private: std::unique_ptr< TitleResources > m_xTitleResources; std::unique_ptr< LegendPositionResources > m_xLegendPositionResources; - css::uno::Reference< css::chart2::XChartDocument > m_xChartModel; + rtl::Reference<::chart::ChartModel> m_xChartModel; css::uno::Reference< css::uno::XComponentContext> m_xCC; bool m_bCommitToModel; |