[Libreoffice-commits] core.git: oox/source

Stephan Bergmann sbergman at redhat.com
Thu Feb 19 02:39:41 PST 2015


 oox/source/ppt/timenode.cxx |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit 336dd506c0978faf914279de56c125949920223e
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Feb 19 11:38:35 2015 +0100

    "no matching function for call to 'get_pointer'," use lambda instead
    
    Change-Id: I40ea3b781ec35171706a277acff6eb2eab29c297

diff --git a/oox/source/ppt/timenode.cxx b/oox/source/ppt/timenode.cxx
index 043c2e9..282a3dc 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 )
             {


More information about the Libreoffice-commits mailing list