From b7c260aee331474d993bf96a72bf31f5af350ef3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 13 Jun 2022 13:13:05 +0200 Subject: clang-tidy modernize-pass-by-value in chart2 Change-Id: I73ae444487571fb61a02a2c813c060d269d52a02 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135723 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/inc/ChartModel.hxx | 2 +- chart2/inc/ChartTypeManager.hxx | 2 +- chart2/inc/ChartView.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'chart2/inc') diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx index b575a856da8c..c8dc4b55e969 100644 --- a/chart2/inc/ChartModel.hxx +++ b/chart2/inc/ChartModel.hxx @@ -215,7 +215,7 @@ private: public: ChartModel() = delete; - ChartModel(css::uno::Reference< css::uno::XComponentContext > const & xContext); + ChartModel(css::uno::Reference< css::uno::XComponentContext > xContext); explicit ChartModel( const ChartModel & rOther ); virtual ~ChartModel() override; diff --git a/chart2/inc/ChartTypeManager.hxx b/chart2/inc/ChartTypeManager.hxx index 0ed5b3ef4812..71fbf471e66c 100644 --- a/chart2/inc/ChartTypeManager.hxx +++ b/chart2/inc/ChartTypeManager.hxx @@ -39,7 +39,7 @@ class OOO_DLLPUBLIC_CHARTTOOLS ChartTypeManager final : { public: explicit ChartTypeManager( - css::uno::Reference< css::uno::XComponentContext > const & xContext ); + css::uno::Reference< css::uno::XComponentContext > xContext ); virtual ~ChartTypeManager() override; virtual OUString SAL_CALL diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx index 62a8d6744f0a..3fe2fedcf7e8 100644 --- a/chart2/inc/ChartView.hxx +++ b/chart2/inc/ChartView.hxx @@ -104,7 +104,7 @@ private: public: ChartView() = delete; - ChartView(css::uno::Reference< css::uno::XComponentContext > const & xContext, + ChartView(css::uno::Reference< css::uno::XComponentContext > xContext, ChartModel& rModel); virtual ~ChartView() override; -- cgit