summaryrefslogtreecommitdiff
path: root/vcl/source/animate
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-06 11:17:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-06 12:57:25 +0200
commit22d94ce0abef7cdd5e344a28e1b1ee4caf6cd8f8 (patch)
tree0e54d0721723336daf26493f85e7be8f07431286 /vcl/source/animate
parentd34e969c888219bd3739fc4a8ef330c77f7e7adf (diff)
loplugin:const* make some params and methods const
Change-Id: If7fbb25037343e18081a8ee7064840d75e9a45a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104010 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/animate')
-rw-r--r--vcl/source/animate/Animation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/animate/Animation.cxx b/vcl/source/animate/Animation.cxx
index 2b799dabf3af..f788c7be123f 100644
--- a/vcl/source/animate/Animation.cxx
+++ b/vcl/source/animate/Animation.cxx
@@ -215,7 +215,7 @@ bool Animation::Start(OutputDevice* pOut, const Point& rDestPt, const Size& rDes
return bRet;
}
-void Animation::Stop(OutputDevice* pOut, long nExtraData)
+void Animation::Stop(const OutputDevice* pOut, long nExtraData)
{
maViewList.erase(std::remove_if(maViewList.begin(), maViewList.end(),
[=](const std::unique_ptr<ImplAnimView>& pAnimView) -> bool {