diff options
-rw-r--r-- | sal/inc/pch/precompiled_sal.hxx | 1 | ||||
-rw-r--r-- | sal/osl/all/debugbase.cxx | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/sal/inc/pch/precompiled_sal.hxx b/sal/inc/pch/precompiled_sal.hxx index ab1c7d2602d8..13cf7bbb3333 100644 --- a/sal/inc/pch/precompiled_sal.hxx +++ b/sal/inc/pch/precompiled_sal.hxx @@ -32,7 +32,6 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <boost/bind.hpp> #include <boost/noncopyable.hpp> #include <osl/diagnose.h> #include <osl/diagnose.hxx> diff --git a/sal/osl/all/debugbase.cxx b/sal/osl/all/debugbase.cxx index c0f0a63c0ccf..c82dde90a495 100644 --- a/sal/osl/all/debugbase.cxx +++ b/sal/osl/all/debugbase.cxx @@ -23,7 +23,7 @@ #include "osl/process.h" #include "osl/diagnose.hxx" #include "sal/log.hxx" -#include "boost/bind.hpp" + #include <algorithm> #include <vector> @@ -95,7 +95,7 @@ bool SAL_CALL osl_detail_ObjectRegistry_storeAddresses( char const* pName ) return true; OStringVec::const_iterator const iEnd( rVec.end() ); return std::find_if( rVec.begin(), iEnd, - boost::bind( &isSubStr, pName, _1 ) ) != iEnd; + [pName] (OString const& it) { return isSubStr(pName, it); }) != iEnd; } bool SAL_CALL osl_detail_ObjectRegistry_checkObjectCount( |