diff options
author | Caolán McNamara <caolanm@redhat.com> | 2023-03-23 15:59:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2023-03-23 20:32:30 +0000 |
commit | 68fe430723368bdb0be91b7eef0bc3e3d294caa5 (patch) | |
tree | 3cddf798e95db8c4d93bdc20c28fe43437a25925 /include/vcl | |
parent | f70314c8d438efe6d26460cfbeb2e7fd955346cd (diff) |
rename mnAnimCount to gAnimationRendererCount
to better distinguish it from nAnimCount
Change-Id: I2fc5912964e8d48a991dfe0d755e5ce27d9e0905
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149458
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/animate/Animation.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/animate/Animation.hxx b/include/vcl/animate/Animation.hxx index 11bb3c894058..cd8c464c0525 100644 --- a/include/vcl/animate/Animation.hxx +++ b/include/vcl/animate/Animation.hxx @@ -90,12 +90,12 @@ public: friend SvStream& WriteAnimation(SvStream& rOStream, const Animation& rAnimation); public: - SAL_DLLPRIVATE static void ImplIncAnimCount() { mnAnimCount++; } - SAL_DLLPRIVATE static void ImplDecAnimCount() { mnAnimCount--; } + SAL_DLLPRIVATE static void ImplIncAnimCount() { gAnimationRendererCount++; } + SAL_DLLPRIVATE static void ImplDecAnimCount() { gAnimationRendererCount--; } SAL_DLLPRIVATE sal_uLong ImplGetCurPos() const { return mnFrameIndex; } private: - SAL_DLLPRIVATE static sal_uLong mnAnimCount; + SAL_DLLPRIVATE static sal_uLong gAnimationRendererCount; std::vector<std::unique_ptr<AnimationFrame>> maFrames; std::vector<std::unique_ptr<AnimationRenderer>> maRenderers; |