summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/animationnodes/animationbasenode.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2006-11-21 16:27:43 +0000
committerVladimir Glazounov <vg@openoffice.org>2006-11-21 16:27:43 +0000
commitd6fb120e26bf455662681cd4d9ef5c97ef3d0fda (patch)
treea84072a7a55d90ae8ee51a623773bf3f4da9b09c /slideshow/source/engine/animationnodes/animationbasenode.cxx
parent7602ae1c5d42b9dc35f599aa1b411bf15d50483b (diff)
INTEGRATION: CWS pj65 (1.11.6); FILE MERGED
2006/10/31 13:16:30 pjanik 1.11.6.1: #i71027#: prevent warnings on Mac OS X with gcc 4.0.1.
Diffstat (limited to 'slideshow/source/engine/animationnodes/animationbasenode.cxx')
-rw-r--r--slideshow/source/engine/animationnodes/animationbasenode.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/slideshow/source/engine/animationnodes/animationbasenode.cxx b/slideshow/source/engine/animationnodes/animationbasenode.cxx
index 064b40fcf2b9..01dc84f0af1b 100644
--- a/slideshow/source/engine/animationnodes/animationbasenode.cxx
+++ b/slideshow/source/engine/animationnodes/animationbasenode.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: animationbasenode.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 13:58:45 $
+ * last change: $Author: vg $ $Date: 2006-11-21 17:27:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -404,7 +404,7 @@ AnimationBaseNode::fillCommonParameters() const
const bool bAutoReverse( mxAnimateNode->getAutoReverse() );
boost::optional<double> aRepeats;
- double nRepeats;
+ double nRepeats = 0;
if( (mxAnimateNode->getRepeatCount() >>= nRepeats) ) {
aRepeats.reset( nRepeats );
}