summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-07 15:59:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-07 18:59:55 +0200
commitd127fb02b1dfe4c173df955473d73e4767ef3638 (patch)
tree7ae26667a7b5586b16b696a69a7bb14e6ee10df4 /stoc
parent2bcafc519e25965b5658e80d6af2ec24fe2deb8e (diff)
loplugin:passstuffbyref also for {css::uno,rtl}::Reference
Change-Id: I5ef89d0f0f97dace7dc15dc07b3328177aab462b
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/inspect/introspection.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 102fc93ecce4..2a59f2455b7b 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -229,7 +229,7 @@ class IntrospectionAccessStatic_Impl: public salhelper::SimpleReferenceObject
sal_Int32 iNextIndex );
public:
- explicit IntrospectionAccessStatic_Impl( Reference< XIdlReflection > xCoreReflection_ );
+ explicit IntrospectionAccessStatic_Impl( Reference< XIdlReflection > const & xCoreReflection_ );
virtual ~IntrospectionAccessStatic_Impl()
{
delete[] mpOrgPropertyHandleArray;
@@ -254,7 +254,7 @@ public:
// Ctor
-IntrospectionAccessStatic_Impl::IntrospectionAccessStatic_Impl( Reference< XIdlReflection > xCoreReflection_ )
+IntrospectionAccessStatic_Impl::IntrospectionAccessStatic_Impl( Reference< XIdlReflection > const & xCoreReflection_ )
: mxCoreReflection( xCoreReflection_ )
{
aInterfaceSeq1.resize( ARRAY_SIZE_STEP );