diff options
-rw-r--r-- | slideshow/source/engine/shapes/drawinglayeranimation.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/slideshow/source/engine/shapes/drawinglayeranimation.cxx b/slideshow/source/engine/shapes/drawinglayeranimation.cxx index e82072d6559b..0f8f1b174645 100644 --- a/slideshow/source/engine/shapes/drawinglayeranimation.cxx +++ b/slideshow/source/engine/shapes/drawinglayeranimation.cxx @@ -530,9 +530,8 @@ ScrollTextAnimNode* ActivityImpl::ImpGetScrollTextAnimNode( { rRelativeTime = nTime; - for(sal_uInt32 a(0L); !pRetval && a < maVector.size(); a++) + for(ScrollTextAnimNode & rNode: maVector) { - ScrollTextAnimNode & rNode = maVector[a]; if(!rNode.GetRepeat()) { // endless loop, use it |