summaryrefslogtreecommitdiff
path: root/chart2/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-06-13 13:13:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-06-13 16:04:27 +0200
commitb7c260aee331474d993bf96a72bf31f5af350ef3 (patch)
treedd054c07c69e2f711ecea8ebea3e7c78db34917d /chart2/inc
parent24d15ba86c00178238f3f8ef6c548a0d19338aa4 (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/inc')
-rw-r--r--chart2/inc/ChartModel.hxx2
-rw-r--r--chart2/inc/ChartTypeManager.hxx2
-rw-r--r--chart2/inc/ChartView.hxx2
3 files changed, 3 insertions, 3 deletions
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;