diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-03-26 03:25:58 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-03-26 03:25:58 +0200 |
commit | 49f8917cd4c10685645128768a2dc63043a7b398 (patch) | |
tree | c2e346a0b9bc809cc3f3e3bb2c787a4c787e0eb0 /drawinglayer | |
parent | 83c1a3235d8d803872e1d57a292d3cdc48dae928 (diff) |
fix loplugin:loopvartoosmall
Change-Id: I4fa577920565840edd5b37c673e5c8eb42da7ed7
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/animation/animationtiming.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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() |