diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-13 14:42:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-14 09:21:39 +0200 |
commit | 868444c803a3ba197068d487d3507089cc1e9afa (patch) | |
tree | 1510bdac1c102d152b444ea582c4870708dc2b45 /xmloff/source/chart | |
parent | f34cc90df9e6e7bc7d58a4ed4be71a63f0ec5ae4 (diff) |
loplugin:passstuffbyref in xmloff
Change-Id: I5995510c5c0686e5e69e8853d81dcba83ae96211
Diffstat (limited to 'xmloff/source/chart')
-rw-r--r-- | xmloff/source/chart/SchXMLExport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx index c64ef59e6488..a45784ff2fcf 100644 --- a/xmloff/source/chart/SchXMLExport.cxx +++ b/xmloff/source/chart/SchXMLExport.cxx @@ -155,7 +155,7 @@ public: void exportChart( css::uno::Reference< css::chart::XChartDocument > rChartDoc, bool bIncludeTable ); - rtl::Reference<XMLPropertySetMapper> GetPropertySetMapper() const; + const rtl::Reference<XMLPropertySetMapper>& GetPropertySetMapper() const; void SetChartRangeAddress( const OUString& rAddress ) { msChartAddress = rAddress; } @@ -993,7 +993,7 @@ void SchXMLExportHelper::SetDestinationShellID( const OUString& rShellID ) m_pImpl->maDestShellID = rShellID; } -rtl::Reference< XMLPropertySetMapper > SchXMLExportHelper_Impl::GetPropertySetMapper() const +const rtl::Reference< XMLPropertySetMapper >& SchXMLExportHelper_Impl::GetPropertySetMapper() const { return mxPropertySetMapper; } |