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 | 7b5eac17dd870e89525fea5390c343ffebd5cb47 (patch) | |
tree | f0e13e92eb4eed31a08761c1512eacbae6e16ad7 /ucb | |
parent | 65f58500ce9ad96ace3be8636aba4f803069fc57 (diff) |
Port stuff to our private implementation of SGI extensions
Diffstat (limited to 'ucb')
-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 7d2216a55e..b52d7df268 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()) |