From e7d3fa58047c44bd3641973c065d1af9c2ac1fa0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Apr 2016 15:41:46 +0200 Subject: loplugin:passstuffbyref in chart2 Change-Id: Id14015b1a02047c4d2e9d4ed4a9edfd0cb409c59 --- chart2/inc/ChartModel.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2/inc') diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx index e3f9997a0535..b3caaad412c4 100644 --- a/chart2/inc/ChartModel.hxx +++ b/chart2/inc/ChartModel.hxx @@ -571,7 +571,7 @@ public: css::uno::Reference< css::util::XNumberFormatsSupplier > getNumberFormatsSupplier(); - css::uno::Reference< css::uno::XInterface > getChartView() { return xChartView;} + const css::uno::Reference< css::uno::XInterface >& getChartView() { return xChartView;} bool isTimeBased() const { return mbTimeBased;} void setTimeBased(bool bTimeBased); -- cgit