diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-08 10:56:36 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-08 10:57:07 +0100 |
commit | 823956aa8fa73e6699cbfd1eea237c1997f94fec (patch) | |
tree | 9da1575807e659327b998c2d7be2fea2ecab6041 /slideshow | |
parent | 1f2fc6e71788432f3ce29fac1678bcd39533f59e (diff) |
loplugin:loopvartoosmall
Change-Id: Ib8737f1690c738016fcdc1f365b744fcb567ce57
Diffstat (limited to 'slideshow')
-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 |