From 7cd179df80957b7daefab028cf35aebb1083b014 Mon Sep 17 00:00:00 2001 From: Noel Date: Tue, 6 Oct 2020 12:27:39 +0200 Subject: 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 --- sdext/source/presenter/PresenterToolBar.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sdext') 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; } -- cgit