diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-14 21:02:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-15 11:11:43 +0100 |
commit | 8d8f264f57517823a7073eff73f8a8b9c2610ed1 (patch) | |
tree | 850058edd38352a4936578f9c49f22b16d1a6435 /forms/source | |
parent | 8066c73940a30e97d8634655ea39d73fa8cf3c20 (diff) |
cppcheck: passedByValue
Change-Id: I444c40340bcfd64f88dac34da6cc858f66996fe6
Diffstat (limited to 'forms/source')
-rw-r--r-- | forms/source/xforms/binding.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/xforms/binding.cxx b/forms/source/xforms/binding.cxx index 96487e3d030e..face92b23c89 100644 --- a/forms/source/xforms/binding.cxx +++ b/forms/source/xforms/binding.cxx @@ -660,7 +660,7 @@ void Binding::bind( bool bForceRebind ) // helper for Binding::valueModified -static void lcl_modified( const Binding::XModifyListener_t xListener, +static void lcl_modified( const Binding::XModifyListener_t& xListener, const Reference<XInterface>& xSource ) { OSL_ENSURE( xListener.is(), "no listener?" ); @@ -668,7 +668,7 @@ static void lcl_modified( const Binding::XModifyListener_t xListener, } // helper for Binding::valueModified -static void lcl_listentry( const Binding::XListEntryListener_t xListener, +static void lcl_listentry( const Binding::XListEntryListener_t& xListener, const Reference<XInterface>& xSource ) { OSL_ENSURE( xListener.is(), "no listener?" ); @@ -677,7 +677,7 @@ static void lcl_listentry( const Binding::XListEntryListener_t xListener, } // helper for Binding::valueModified -static void lcl_validate( const Binding::XValidityConstraintListener_t xListener, +static void lcl_validate( const Binding::XValidityConstraintListener_t& xListener, const Reference<XInterface>& xSource ) { OSL_ENSURE( xListener.is(), "no listener?" ); |