summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:58:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commitc6ef03093eb76274851744ecf463a373a814a47e (patch)
tree1d14ef52dbfd0ab2ee6b6cb9cbdb2f56fd93b3d0 /sc/inc
parent2eb5a59a220d4cd2167fb59349ab13ca7663b78d (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I2707d16e6dd7bc5617094963933fced147a496e8
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/nameuno.hxx6
-rw-r--r--sc/inc/xmlwrap.hxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/nameuno.hxx b/sc/inc/nameuno.hxx
index 1e1fceb21a88..ecdedee8adfc 100644
--- a/sc/inc/nameuno.hxx
+++ b/sc/inc/nameuno.hxx
@@ -68,8 +68,8 @@ friend class ScVbaName;
SCTAB GetTab_Impl();
public:
- ScNamedRangeObj( rtl::Reference< ScNamedRangesObj > xParent, ScDocShell* pDocSh, const OUString& rNm,
- css::uno::Reference< css::container::XNamed > xSheet = css::uno::Reference< css::container::XNamed > ());
+ ScNamedRangeObj( rtl::Reference< ScNamedRangesObj > const & xParent, ScDocShell* pDocSh, const OUString& rNm,
+ css::uno::Reference< css::container::XNamed > const & xSheet = css::uno::Reference< css::container::XNamed > ());
virtual ~ScNamedRangeObj();
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
@@ -318,7 +318,7 @@ private:
css::uno::Reference< css::container::XNamed > mxSheet;
public:
- ScLocalNamedRangesObj(ScDocShell* pDocSh, css::uno::Reference< css::container::XNamed > xNamed );
+ ScLocalNamedRangesObj(ScDocShell* pDocSh, css::uno::Reference< css::container::XNamed > const & xNamed );
virtual ~ScLocalNamedRangesObj();
};
diff --git a/sc/inc/xmlwrap.hxx b/sc/inc/xmlwrap.hxx
index d0e88122fb22..7179bd843870 100644
--- a/sc/inc/xmlwrap.hxx
+++ b/sc/inc/xmlwrap.hxx
@@ -91,7 +91,7 @@ public:
class ScXMLChartExportWrapper
{
public:
- ScXMLChartExportWrapper( css::uno::Reference< css::frame::XModel > xModel, SfxMedium& rMed );
+ ScXMLChartExportWrapper( css::uno::Reference< css::frame::XModel > const & xModel, SfxMedium& rMed );
bool Export();
private: