summaryrefslogtreecommitdiff
path: root/comphelper/source/compare
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:56:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commita291c8fbaa7734cc8002c907a36bd286eb4faa1a (patch)
tree19f0ed400e33b0ba2142de4b2812422f45e36947 /comphelper/source/compare
parentd956a5d29e68a9d89d31459bc891cfb260daa0c8 (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I11d6467a35fb9e32cc0608549bd323b1f6683b9f
Diffstat (limited to 'comphelper/source/compare')
-rw-r--r--comphelper/source/compare/AnyCompareFactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/compare/AnyCompareFactory.cxx b/comphelper/source/compare/AnyCompareFactory.cxx
index 9eacb4fac518..4a0bbc3eeb72 100644
--- a/comphelper/source/compare/AnyCompareFactory.cxx
+++ b/comphelper/source/compare/AnyCompareFactory.cxx
@@ -41,7 +41,7 @@ class AnyCompare : public ::cppu::WeakImplHelper< XAnyCompare >
Reference< XCollator > m_xCollator;
public:
- AnyCompare( Reference< XComponentContext > xContext, const Locale& rLocale )
+ AnyCompare( Reference< XComponentContext > const & xContext, const Locale& rLocale )
{
m_xCollator = Collator::create( xContext );
m_xCollator->loadDefaultCollator( rLocale,
@@ -58,7 +58,7 @@ class AnyCompareFactory : public cppu::WeakImplHelper< XAnyCompareFactory, XInit
Locale m_Locale;
public:
- explicit AnyCompareFactory( Reference< XComponentContext > xContext ) : m_xContext( xContext )
+ explicit AnyCompareFactory( Reference< XComponentContext > const & xContext ) : m_xContext( xContext )
{}
// XAnyCompareFactory