diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2015-05-08 17:29:01 +0900 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-08 15:54:12 +0000 |
commit | 99e60d8d62b69d8b0b22d54e3f55c5151e7a2c2f (patch) | |
tree | 6385680c4ad53010b37982946d19643d7a35ae9a /forms | |
parent | 12bb6a054d697efddee76269605ed2450a2fae9c (diff) |
std::ptr_fun became deprecated since C++11
Change-Id: If93609d032c9864e0251230bf9ed76e6b6741a62
Reviewed-on: https://gerrit.libreoffice.org/15672
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'forms')
-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() ) |