diff options
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 b7312cbd44e1..96487e3d030e 100644 --- a/forms/source/xforms/binding.cxx +++ b/forms/source/xforms/binding.cxx @@ -712,13 +712,13 @@ void Binding::valueModified() Reference<XInterface> xSource = static_cast<XPropertySet*>( this ); ::std::for_each( maModifyListeners.begin(), maModifyListeners.end(), - ::std::bind2nd( ::std::ptr_fun( lcl_modified ), xSource ) ); + ::std::bind( lcl_modified, std::placeholders::_1, xSource ) ); ::std::for_each( maListEntryListeners.begin(), maListEntryListeners.end(), - ::std::bind2nd( ::std::ptr_fun( lcl_listentry ), xSource ) ); + ::std::bind( lcl_listentry, std::placeholders::_1, xSource ) ); ::std::for_each( maValidityListeners.begin(), maValidityListeners.end(), - ::std::bind2nd( ::std::ptr_fun( lcl_validate ), xSource ) ); + ::std::bind( lcl_validate, std::placeholders::_1, xSource ) ); // now distribute MIPs to children if( xNode.is() ) |