diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-06 15:32:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-06 18:36:28 +0200 |
commit | 9bf762769826a872e196051a9ec0540a598973de (patch) | |
tree | 95021dd9a95eb9099127fb5d77558d9776303e5d /sw/source/core/inc | |
parent | 2ac309188820036b1b99f983e8b793445e9b2ab2 (diff) |
loplugin:const* make some params and methods const
Change-Id: I3c8ca72b2b41a4f82ee20cbe025b41425f32e715
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104028
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/inc')
-rw-r--r-- | sw/source/core/inc/notxtfrm.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/inc/txtfrm.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/inc/notxtfrm.hxx b/sw/source/core/inc/notxtfrm.hxx index c958da594e27..d36f359eaba6 100644 --- a/sw/source/core/inc/notxtfrm.hxx +++ b/sw/source/core/inc/notxtfrm.hxx @@ -82,7 +82,7 @@ public: bool IsTransparent() const; - void StopAnimation( OutputDevice* = nullptr ) const; + void StopAnimation( const OutputDevice* = nullptr ) const; bool HasAnimation() const; // RotateFlyFrame3 - Support for Transformations diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx index 0f96e6676291..577fa8deea26 100644 --- a/sw/source/core/inc/txtfrm.hxx +++ b/sw/source/core/inc/txtfrm.hxx @@ -660,7 +660,7 @@ public: void RecalcAllLines(); /// Stops the animations within numberings - void StopAnimation( OutputDevice *pOut ); + void StopAnimation( const OutputDevice *pOut ); /// Visit all portions for Accessibility void VisitPortions( SwPortionHandler& rPH ) const; |