diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-20 13:00:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-04-20 15:24:34 +0200 |
commit | 9f958c076a86e80a48fcd7bbca65a834568e94ea (patch) | |
tree | cfa0b4f55a6b6717e5a359357fd20779e9d98b00 /chart2/source/inc/BaseCoordinateSystem.hxx | |
parent | a40558be785756929f606ab0798a026b985e0ffb (diff) |
loplugin:passstuffbyref
Change-Id: I336fd329b577b6fa141265d8bc7ce67784bd7306
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133210
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc/BaseCoordinateSystem.hxx')
-rw-r--r-- | chart2/source/inc/BaseCoordinateSystem.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/inc/BaseCoordinateSystem.hxx b/chart2/source/inc/BaseCoordinateSystem.hxx index afb02c07f1f4..85739dc11a3a 100644 --- a/chart2/source/inc/BaseCoordinateSystem.hxx +++ b/chart2/source/inc/BaseCoordinateSystem.hxx @@ -98,7 +98,7 @@ public: const css::uno::Reference< css::util::XModifyListener >& aListener ) override; void setAxisByDimension( sal_Int32 nDimension, const rtl::Reference< ::chart::Axis >& xAxis, sal_Int32 nIndex ); - rtl::Reference< ::chart::Axis > getAxisByDimension2(sal_Int32 nDimension, sal_Int32 nIndex ) const; + const rtl::Reference< ::chart::Axis > & getAxisByDimension2(sal_Int32 nDimension, sal_Int32 nIndex ) const; void setChartTypes( const std::vector< rtl::Reference< ::chart::ChartType > >& aChartTypes ); const std::vector< rtl::Reference<::chart::ChartType > > & getChartTypes2() const { return m_aChartTypes; } |