summaryrefslogtreecommitdiff
path: root/jvmfwk/source/framework.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'jvmfwk/source/framework.cxx')
-rw-r--r--jvmfwk/source/framework.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/jvmfwk/source/framework.cxx b/jvmfwk/source/framework.cxx
index ddfc4bfbea55..7035bba85dc1 100644
--- a/jvmfwk/source/framework.cxx
+++ b/jvmfwk/source/framework.cxx
@@ -136,7 +136,7 @@ javaFrameworkError SAL_CALL jfw_findAllJREs(JavaInfo ***pparInfo, sal_Int32 *pSi
//the same JRE
it_info it_duplicate =
std::find_if(vecInfoManual.begin(), vecInfoManual.end(),
- std::bind2nd(std::ptr_fun(areEqualJavaInfo), aInfo));
+ std::bind(areEqualJavaInfo, std::placeholders::_1, aInfo));
if (it_duplicate == vecInfoManual.end())
vecInfoManual.push_back(aInfo);
}
@@ -165,7 +165,7 @@ javaFrameworkError SAL_CALL jfw_findAllJREs(JavaInfo ***pparInfo, sal_Int32 *pSi
{
it_info it_duplicate =
std::find_if(vecInfoManual2.begin(), vecInfoManual2.end(),
- std::bind2nd(std::ptr_fun(areEqualJavaInfo), *j));
+ std::bind(areEqualJavaInfo, std::placeholders::_1, *j));
if (it_duplicate != vecInfoManual2.end())
vecInfoManual2.erase(it_duplicate);
}