summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/animationnodes
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-29 10:40:50 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-01 06:05:58 +0000
commit069d71b72566a0b8f234304d3bd4511ee86b6c60 (patch)
treea345f45ff5e987b81fa89a16103a9420a137a238 /slideshow/source/engine/animationnodes
parent4475c191de479e7a5ddb20d14bc3aa32b0ab84d3 (diff)
loplugin:countusersofdefaultparams in shell..starmath
Change-Id: I553d1b031b8d261a1caa8b77a8d687af21a6f8d6 Reviewed-on: https://gerrit.libreoffice.org/27672 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'slideshow/source/engine/animationnodes')
-rw-r--r--slideshow/source/engine/animationnodes/animationpathmotionnode.cxx2
-rw-r--r--slideshow/source/engine/animationnodes/animationtransformnode.cxx2
-rw-r--r--slideshow/source/engine/animationnodes/basecontainernode.cxx2
-rw-r--r--slideshow/source/engine/animationnodes/basecontainernode.hxx2
-rw-r--r--slideshow/source/engine/animationnodes/propertyanimationnode.cxx6
5 files changed, 7 insertions, 7 deletions
diff --git a/slideshow/source/engine/animationnodes/animationpathmotionnode.cxx b/slideshow/source/engine/animationnodes/animationpathmotionnode.cxx
index 5831fb2ed640..3f830428c6a8 100644
--- a/slideshow/source/engine/animationnodes/animationpathmotionnode.cxx
+++ b/slideshow/source/engine/animationnodes/animationpathmotionnode.cxx
@@ -44,7 +44,7 @@ AnimationActivitySharedPtr AnimationPathMotionNode::createActivity() const
mxPathMotionNode->getAdditive(),
getShape(),
getContext().mpSubsettableShapeManager,
- getSlideSize() ),
+ getSlideSize(), 0 ),
true );
}
diff --git a/slideshow/source/engine/animationnodes/animationtransformnode.cxx b/slideshow/source/engine/animationnodes/animationtransformnode.cxx
index ee451ea2cb89..bc9c86462336 100644
--- a/slideshow/source/engine/animationnodes/animationtransformnode.cxx
+++ b/slideshow/source/engine/animationnodes/animationtransformnode.cxx
@@ -59,7 +59,7 @@ AnimationActivitySharedPtr AnimationTransformNode::createActivity() const
rShape,
getContext().mpSubsettableShapeManager,
getSlideSize(),
- nTransformType ),
+ nTransformType, 0 ),
getXAnimateNode() );
case animations::AnimationTransformType::ROTATE:
diff --git a/slideshow/source/engine/animationnodes/basecontainernode.cxx b/slideshow/source/engine/animationnodes/basecontainernode.cxx
index 229e26dd5c7b..83f72a96b457 100644
--- a/slideshow/source/engine/animationnodes/basecontainernode.cxx
+++ b/slideshow/source/engine/animationnodes/basecontainernode.cxx
@@ -47,7 +47,7 @@ BaseContainerNode::BaseContainerNode(
void BaseContainerNode::dispose()
{
- forEachChildNode( std::mem_fn(&Disposable::dispose) );
+ forEachChildNode( std::mem_fn(&Disposable::dispose), -1 );
maChildren.clear();
BaseNode::dispose();
}
diff --git a/slideshow/source/engine/animationnodes/basecontainernode.hxx b/slideshow/source/engine/animationnodes/basecontainernode.hxx
index cc65be6fdb85..b36f7f5aba03 100644
--- a/slideshow/source/engine/animationnodes/basecontainernode.hxx
+++ b/slideshow/source/engine/animationnodes/basecontainernode.hxx
@@ -70,7 +70,7 @@ protected:
template <typename FuncT>
inline void forEachChildNode( FuncT func,
- int nodeStateMask = -1 ) const
+ int nodeStateMask ) const
{
VectorOfNodes::const_iterator iPos( maChildren.begin() );
VectorOfNodes::const_iterator const iEnd( maChildren.end() );
diff --git a/slideshow/source/engine/animationnodes/propertyanimationnode.cxx b/slideshow/source/engine/animationnodes/propertyanimationnode.cxx
index 68bf6497df9c..e768572ad7aa 100644
--- a/slideshow/source/engine/animationnodes/propertyanimationnode.cxx
+++ b/slideshow/source/engine/animationnodes/propertyanimationnode.cxx
@@ -59,7 +59,7 @@ AnimationActivitySharedPtr PropertyAnimationNode::createActivity() const
attrName,
pShape,
getContext().mpSubsettableShapeManager,
- getSlideSize() ),
+ getSlideSize(), 0 ),
xAnimateNode );
case AnimationFactory::CLASS_COLOR_PROPERTY:
@@ -79,7 +79,7 @@ AnimationActivitySharedPtr PropertyAnimationNode::createActivity() const
attrName,
pShape,
getContext().mpSubsettableShapeManager,
- getSlideSize() ),
+ getSlideSize(), 0 ),
xAnimateNode );
case AnimationFactory::CLASS_BOOL_PROPERTY:
@@ -89,7 +89,7 @@ AnimationActivitySharedPtr PropertyAnimationNode::createActivity() const
attrName,
pShape,
getContext().mpSubsettableShapeManager,
- getSlideSize() ),
+ getSlideSize(), 0 ),
xAnimateNode );
}