diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-29 14:15:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-29 18:19:37 +0100 |
commit | 4b030651a0ad5e0eedd6d08b6cd1459ca514d818 (patch) | |
tree | 5a02580a42d8593c3afc9f39816128562a9cfc6b /oox/source/drawingml/chart/converterbase.cxx | |
parent | d460842616d467dfaf7b51ac2db94adb1ff5cbb0 (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/source/drawingml/chart/converterbase.cxx')
-rw-r--r-- | oox/source/drawingml/chart/converterbase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/drawingml/chart/converterbase.cxx b/oox/source/drawingml/chart/converterbase.cxx index cf2bd687053c..35ed591936f5 100644 --- a/oox/source/drawingml/chart/converterbase.cxx +++ b/oox/source/drawingml/chart/converterbase.cxx @@ -229,7 +229,7 @@ Reference< XInterface > ConverterRoot::createInstance( const OUString& rServiceN return xInt; } -Reference< XComponentContext > ConverterRoot::getComponentContext() const +Reference< XComponentContext > const & ConverterRoot::getComponentContext() const { return mxData->mrFilter.getComponentContext(); } @@ -244,7 +244,7 @@ ChartConverter& ConverterRoot::getChartConverter() const return mxData->mrConverter; } -Reference< XChartDocument > ConverterRoot::getChartDocument() const +Reference< XChartDocument > const & ConverterRoot::getChartDocument() const { return mxData->mxDoc; } |