drawinglayer/source/animation/animationtiming.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 49f8917cd4c10685645128768a2dc63043a7b398 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Sun Mar 26 03:25:58 2017 +0200 fix loplugin:loopvartoosmall Change-Id: I4fa577920565840edd5b37c673e5c8eb42da7ed7 diff --git a/drawinglayer/source/animation/animationtiming.cxx b/drawinglayer/source/animation/animationtiming.cxx index 683c5f5b830c..44210b9567c6 100644 --- a/drawinglayer/source/animation/animationtiming.cxx +++ b/drawinglayer/source/animation/animationtiming.cxx @@ -161,14 +161,14 @@ namespace drawinglayer sal_uInt32 AnimationEntryList::impGetIndexAtTime(double fTime, double &rfAddedTime) const { - sal_uInt32 nIndex(0L); + size_t nIndex(0L); while(nIndex < maEntries.size() && basegfx::fTools::lessOrEqual(rfAddedTime + maEntries[nIndex]->getDuration(), fTime)) { rfAddedTime += maEntries[nIndex++]->getDuration(); } - return nIndex; + return sal_uInt32(nIndex); } AnimationEntryList::AnimationEntryList() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits