diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2022-06-25 10:04:14 +1000 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-10-17 10:28:02 +0200 |
commit | 6125be0aa10113d840a1fdbe33cf3174d5896fcb (patch) | |
tree | c13e67ec3ff93e8c0e76b884314e4b857956365d /include | |
parent | 12ebfc4f6d7b77cd77ac9028dddf0554df05c91e (diff) |
vcl: extract variable and rename Animation::mnPos to mnFrameIndex
Change-Id: I889a33718da0984bd9230a9b93fe90403272888b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/76415
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/animate/Animation.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/animate/Animation.hxx b/include/vcl/animate/Animation.hxx index 249159a36179..b9d9d69e401f 100644 --- a/include/vcl/animate/Animation.hxx +++ b/include/vcl/animate/Animation.hxx @@ -92,7 +92,7 @@ public: public: SAL_DLLPRIVATE static void ImplIncAnimCount() { mnAnimCount++; } SAL_DLLPRIVATE static void ImplDecAnimCount() { mnAnimCount--; } - SAL_DLLPRIVATE sal_uLong ImplGetCurPos() const { return mnPos; } + SAL_DLLPRIVATE sal_uLong ImplGetCurPos() const { return mnFrameIndex; } private: SAL_DLLPRIVATE static sal_uLong mnAnimCount; @@ -106,7 +106,7 @@ private: Size maGlobalSize; sal_uInt32 mnLoopCount; sal_uInt32 mnLoops; - size_t mnPos; + size_t mnFrameIndex; bool mbIsInAnimation; bool mbLoopTerminated; |