summaryrefslogtreecommitdiff
path: root/chart2/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 15:41:46 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:41 +0200
commite7d3fa58047c44bd3641973c065d1af9c2ac1fa0 (patch)
tree232ce3646e31dcd3fc9c18ccb372160b29e67676 /chart2/inc
parent29a4b74caca601d10c15d58aa5df5166ec3e517c (diff)
loplugin:passstuffbyref in chart2
Change-Id: Id14015b1a02047c4d2e9d4ed4a9edfd0cb409c59
Diffstat (limited to 'chart2/inc')
-rw-r--r--chart2/inc/ChartModel.hxx2
1 files changed, 1 insertions, 1 deletions
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);