diff options
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/ppt/timenode.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/oox/source/ppt/timenode.cxx b/oox/source/ppt/timenode.cxx index 043c2e94c2ba..282a3dc1d983 100644 --- a/oox/source/ppt/timenode.cxx +++ b/oox/source/ppt/timenode.cxx @@ -534,9 +534,11 @@ namespace oox { namespace ppt { maTransitionFilter.setTransitionFilterProperties( xFilter ); } - std::for_each( maChildren.begin(), maChildren.end(), - boost::bind(&TimeNode::addNode, _1, boost::cref(rFilter), boost::ref(xNode), - boost::ref(pSlide) ) ); + std::for_each( + maChildren.begin(), maChildren.end(), + [&rFilter, &xNode, &pSlide] (TimeNodePtr const & child) { + child->addNode(rFilter, xNode, pSlide); + } ); switch( mnNodeType ) { |