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/view | |
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/view')
-rw-r--r-- | chart2/source/view/inc/VDataSeries.hxx | 2 | ||||
-rw-r--r-- | chart2/source/view/main/VDataSeries.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/inc/VDataSeries.hxx b/chart2/source/view/inc/VDataSeries.hxx index bfe85435cc02..089c4a1ae887 100644 --- a/chart2/source/view/inc/VDataSeries.hxx +++ b/chart2/source/view/inc/VDataSeries.hxx @@ -117,7 +117,7 @@ public: css::uno::Reference<css::beans::XPropertySet> getPropertiesOfPoint( sal_Int32 index ) const; - css::uno::Reference<css::beans::XPropertySet> getPropertiesOfSeries() const; + const css::uno::Reference<css::beans::XPropertySet> & getPropertiesOfSeries() const; css::chart2::Symbol* getSymbolProperties( sal_Int32 index ) const; diff --git a/chart2/source/view/main/VDataSeries.cxx b/chart2/source/view/main/VDataSeries.cxx index 9054899485f4..81b3758293fa 100644 --- a/chart2/source/view/main/VDataSeries.cxx +++ b/chart2/source/view/main/VDataSeries.cxx @@ -910,7 +910,7 @@ uno::Reference< beans::XPropertySet > VDataSeries::getPropertiesOfPoint( sal_Int return getPropertiesOfSeries(); } -uno::Reference<beans::XPropertySet> VDataSeries::getPropertiesOfSeries() const +const uno::Reference<beans::XPropertySet> & VDataSeries::getPropertiesOfSeries() const { return m_xDataSeriesProps; } |