cppcheck: passedByValue

Change-Id: I444c40340bcfd64f88dac34da6cc858f66996fe6
This commit is contained in:
Caolán McNamara
2015-06-14 21:02:27 +01:00
parent 8066c73940
commit 8d8f264f57

View File

@@ -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?" );