diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-06 12:27:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-06 15:30:42 +0200 |
commit | 7cd179df80957b7daefab028cf35aebb1083b014 (patch) | |
tree | f76056c2eaf044088cd1dc8159136bac774500f0 /sdext | |
parent | e1482daecff877e3b0e22f1fc864e614376cb6b1 (diff) |
loplugin:const& make some params and methods const
Change-Id: I2973128a9c6c53187e1da400d1a5df763d515596
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104020
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/presenter/PresenterToolBar.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterToolBar.cxx b/sdext/source/presenter/PresenterToolBar.cxx index 14f0f31d5e92..b83f7cac7ab7 100644 --- a/sdext/source/presenter/PresenterToolBar.cxx +++ b/sdext/source/presenter/PresenterToolBar.cxx @@ -305,7 +305,7 @@ namespace { virtual void restart() override; virtual bool isPaused() override; virtual void setPauseStatus(const bool pauseStatus) override; - TimeValue getPauseTimeValue(); + TimeValue getPauseTimeValue() const; void setPauseTimeValue(const TimeValue pauseTime); private: TimeValue maStartTimeValue; @@ -1840,7 +1840,7 @@ void PresentationTimeLabel::setPauseStatus(const bool pauseStatus) paused = pauseStatus; } -TimeValue PresentationTimeLabel::getPauseTimeValue() +TimeValue PresentationTimeLabel::getPauseTimeValue() const { return pauseTimeValue; } |