diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-29 10:33:14 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-29 11:52:55 +0000 |
commit | 225ca94608243a4fa1feeba92153dd348f4da017 (patch) | |
tree | db0707ad086623885ba00ab0e65cdd9d817f96a9 /include/drawinglayer | |
parent | 1672b25eb4466cac5f31481dac1140bcf07d65c4 (diff) |
Propagate proper integer type out of AnimationEntryList::impGetIndexAtTime
...after 49f8917cd4c10685645128768a2dc63043a7b398 "fix loplugin:loopvartoosmall"
Change-Id: I8ec284711afa2f8323462a87d30fdf4c27941b6c
Reviewed-on: https://gerrit.libreoffice.org/35830
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/drawinglayer')
-rw-r--r-- | include/drawinglayer/animation/animationtiming.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/drawinglayer/animation/animationtiming.hxx b/include/drawinglayer/animation/animationtiming.hxx index 67d13eeede0b..f98136d1621a 100644 --- a/include/drawinglayer/animation/animationtiming.hxx +++ b/include/drawinglayer/animation/animationtiming.hxx @@ -91,11 +91,13 @@ namespace drawinglayer class DRAWINGLAYER_DLLPUBLIC AnimationEntryList : public AnimationEntry { protected: + using Entries = std::vector<std::unique_ptr<AnimationEntry>>; + double mfDuration; - ::std::vector< std::unique_ptr<AnimationEntry> > maEntries; + Entries maEntries; // helpers - sal_uInt32 impGetIndexAtTime(double fTime, double &rfAddedTime) const; + Entries::size_type impGetIndexAtTime(double fTime, double &rfAddedTime) const; public: AnimationEntryList(); |