From 868444c803a3ba197068d487d3507089cc1e9afa Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 Apr 2016 14:42:54 +0200 Subject: loplugin:passstuffbyref in xmloff Change-Id: I5995510c5c0686e5e69e8853d81dcba83ae96211 --- xmloff/source/chart/SchXMLExport.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff/source/chart') 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 GetPropertySetMapper() const; + const rtl::Reference& 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; } -- cgit