diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-08 17:39:27 +0100 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-08 17:41:57 +0100 |
commit | 4d94306389349a57b50523a692f261de7e2489d4 (patch) | |
tree | 0a7a8ab9dda4ee3cfe51473d45fbeb85af0ff462 /ucb/source/ucp/odma/odma_provider.cxx | |
parent | c3f695ed034e09014fee0604b749d7da2fb11045 (diff) |
Port stuff to our private implementation of SGI extensions
Diffstat (limited to 'ucb/source/ucp/odma/odma_provider.cxx')
-rw-r--r-- | ucb/source/ucp/odma/odma_provider.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ucb/source/ucp/odma/odma_provider.cxx b/ucb/source/ucp/odma/odma_provider.cxx index a5fb562a796e..e59fa2093ff3 100644 --- a/ucb/source/ucp/odma/odma_provider.cxx +++ b/ucb/source/ucp/odma/odma_provider.cxx @@ -44,6 +44,8 @@ #include <algorithm> #include <osl/file.hxx> +#include <o3tl/compat_functional.hxx> + using namespace com::sun::star; using namespace odma; @@ -505,9 +507,9 @@ void ContentProvider::append(const ::rtl::Reference<ContentProperties>& _rProp) ::rtl::Reference<ContentProperties> aReturn; ContentsMap::const_iterator aFind = ::std::find_if( m_aContents.begin(), m_aContents.end(), - ::std::compose1( + ::o3tl::compose1( ::std::bind2nd(_aFunctor,_sName), - ::std::select2nd<ContentsMap::value_type>() + ::o3tl::select2nd<ContentsMap::value_type>() ) ); if(aFind != m_aContents.end()) |