diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-06 15:49:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-06 17:08:55 +0000 |
commit | 567f51192483059ec57c16a6045141746d4b01f9 (patch) | |
tree | e3f998a5fc8466ab30a2e11aa7ea1d16c2523fa5 /forms/source | |
parent | ef6f2490a697e7c23fea40c567f751db05f1bbbf (diff) |
V801: Decreased performance
Change-Id: I97c7977fdfea57b5d1c45ce0c5902b74cc719db9
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 919ff0d89639..0adca84e056e 100644 --- a/forms/source/xforms/binding.cxx +++ b/forms/source/xforms/binding.cxx @@ -661,7 +661,7 @@ void Binding::bind( bool bForceRebind ) // helper for Binding::valueModified static void lcl_modified( const Binding::XModifyListener_t xListener, - const Reference<XInterface> xSource ) + const Reference<XInterface>& xSource ) { OSL_ENSURE( xListener.is(), "no listener?" ); xListener->modified( EventObject( xSource ) ); @@ -669,7 +669,7 @@ static void lcl_modified( const Binding::XModifyListener_t xListener, // helper for Binding::valueModified static void lcl_listentry( const Binding::XListEntryListener_t xListener, - const Reference<XInterface> xSource ) + const Reference<XInterface>& xSource ) { OSL_ENSURE( xListener.is(), "no listener?" ); // TODO: send fine granular events @@ -678,7 +678,7 @@ static void lcl_listentry( const Binding::XListEntryListener_t xListener, // helper for Binding::valueModified static void lcl_validate( const Binding::XValidityConstraintListener_t xListener, - const Reference<XInterface> xSource ) + const Reference<XInterface>& xSource ) { OSL_ENSURE( xListener.is(), "no listener?" ); xListener->validityConstraintChanged( EventObject( xSource ) ); |