diff options
Diffstat (limited to 'slideshow/source/engine/smilfunctionparser.cxx')
-rw-r--r-- | slideshow/source/engine/smilfunctionparser.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/slideshow/source/engine/smilfunctionparser.cxx b/slideshow/source/engine/smilfunctionparser.cxx index 2ec3d8dc4d3c..a2da99a4f29e 100644 --- a/slideshow/source/engine/smilfunctionparser.cxx +++ b/slideshow/source/engine/smilfunctionparser.cxx @@ -247,10 +247,9 @@ namespace slideshow { // push complex node, that calcs the value on demand rNodeStack.push( - std::shared_ptr<ExpressionNode>( - new UnaryFunctionExpression( + std::make_shared<UnaryFunctionExpression>( maFunctor, - pArg ) ) ); + pArg ) ); } } |