summaryrefslogtreecommitdiff
path: root/reportdesign/inc/RptObject.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 14:47:14 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:40 +0200
commit492f2ff0053a11aa6e49a18a9a8caf87edb68436 (patch)
treef72775a479cee7d6731f1a7c3834eb4f59a6dc37 /reportdesign/inc/RptObject.hxx
parent029a6abf615acdf5d386fc4e56fe35ae1c5403b9 (diff)
loplugin:passstuffbyref in reportdesign
Change-Id: I6e024c3043e1fa9f618e96088581ade3c3a00c3c
Diffstat (limited to 'reportdesign/inc/RptObject.hxx')
-rw-r--r--reportdesign/inc/RptObject.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx
index f2ddca7fcced..6552ac81169f 100644
--- a/reportdesign/inc/RptObject.hxx
+++ b/reportdesign/inc/RptObject.hxx
@@ -109,10 +109,10 @@ public:
bool supportsService( const OUString& _sServiceName ) const;
- css::uno::Reference< css::report::XReportComponent> getReportComponent() const { return m_xReportComponent;}
+ const css::uno::Reference< css::report::XReportComponent>& getReportComponent() const { return m_xReportComponent;}
virtual css::uno::Reference< css::beans::XPropertySet> getAwtComponent();
css::uno::Reference< css::report::XSection> getSection() const;
- inline const OUString getServiceName() const { return m_sComponentName; }
+ const OUString& getServiceName() const { return m_sComponentName; }
/** releases the reference to our UNO shape (m_xKeepShapeAlive)
*/