update dev300-m58
[ooovba.git] / applied_patches / 0531-unoxml-boost-workaround.diff
blob2cfd16e2600e95e1264c093bcec6850584a3ff0a
1 --- unoxml/source/rdf/librdf_repository.cxx 1 Jul 2008 16:11:24 -0000 1.2
2 +++ unoxml/source/rdf/librdf_repository.cxx 18 Jul 2008 13:15:12 -0000
3 @@ -1037,10 +1037,13 @@ throw (uno::RuntimeException, rdf::Repos
5 ::osl::MutexGuard g(m_aMutex);
6 ::comphelper::SequenceAsVector< uno::Reference<rdf::XURI> > ret;
7 - std::transform(m_NamedGraphs.begin(), m_NamedGraphs.end(),
8 - std::back_inserter(ret),
9 - boost::bind(&rdf::XNamedGraph::getName,
10 - boost::bind(&NamedGraphMap_t::value_type::second, _1)));
11 + NamedGraphMap_t::const_iterator aCurr(m_NamedGraphs.begin());
12 + NamedGraphMap_t::const_iterator const aEnd(m_NamedGraphs.end());
13 + while( aCurr != aEnd )
14 + {
15 + ret.push_back(aCurr->second->getName());
16 + ++aCurr;
17 + }
18 return ret.getAsConstList();