summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-19 11:38:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-19 11:38:35 +0100
commit336dd506c0978faf914279de56c125949920223e (patch)
tree8248ba90385df83dda6b3f55ae0165271b0e3cf6 /oox
parent61ed1cb9305cf9675535e52817cfbd84b47f7344 (diff)
"no matching function for call to 'get_pointer'," use lambda instead
Change-Id: I40ea3b781ec35171706a277acff6eb2eab29c297
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ppt/timenode.cxx8
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 )
{