summaryrefslogtreecommitdiff
path: root/oox/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-29 14:15:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-29 18:19:37 +0100
commit4b030651a0ad5e0eedd6d08b6cd1459ca514d818 (patch)
tree5a02580a42d8593c3afc9f39816128562a9cfc6b /oox/inc
parentd460842616d467dfaf7b51ac2db94adb1ff5cbb0 (diff)
loplugin:passstuffbyref improved return in various
Change-Id: I0a8282d8e0d9575b055243073fc89a7d6b67b560 Reviewed-on: https://gerrit.libreoffice.org/47173 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/inc')
-rw-r--r--oox/inc/drawingml/chart/converterbase.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/inc/drawingml/chart/converterbase.hxx b/oox/inc/drawingml/chart/converterbase.hxx
index 42f763b86405..11e14ebaf596 100644
--- a/oox/inc/drawingml/chart/converterbase.hxx
+++ b/oox/inc/drawingml/chart/converterbase.hxx
@@ -67,7 +67,7 @@ public:
/** Creates an instance for the passed service name, using the process service factory. */
css::uno::Reference< css::uno::XInterface >
createInstance( const OUString& rServiceName ) const;
- css::uno::Reference< css::uno::XComponentContext >
+ css::uno::Reference< css::uno::XComponentContext > const &
getComponentContext() const;
protected:
@@ -76,7 +76,7 @@ protected:
/** Returns the chart converter. */
ChartConverter& getChartConverter() const;
/** Returns the API chart document model. */
- css::uno::Reference< css::chart2::XChartDocument >
+ css::uno::Reference< css::chart2::XChartDocument > const &
getChartDocument() const;
/** Returns the position and size of the chart shape in 1/100 mm. */
const css::awt::Size& getChartSize() const;