From 6125be0aa10113d840a1fdbe33cf3174d5896fcb Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sat, 25 Jun 2022 10:04:14 +1000 Subject: vcl: extract variable and rename Animation::mnPos to mnFrameIndex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I889a33718da0984bd9230a9b93fe90403272888b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/76415 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- include/vcl/animate/Animation.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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; -- cgit