summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow/slideshow.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-28 14:21:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-29 08:25:32 +0200
commit1902f1e4c787293559378f3d8cb9c10c369f8ae4 (patch)
tree4af1591b4b1e86d1e23bba2bc3bd82b3ddcb82a7 /sd/source/ui/slideshow/slideshow.cxx
parentd744838991594eebe27acc4c7d9fb4579d654853 (diff)
loplugin:constmethod in sd
Change-Id: I063194abe47d8c1d3d9202bbe4b01d79c36ceda3 Reviewed-on: https://gerrit.libreoffice.org/79790 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/slideshow/slideshow.cxx')
-rw-r--r--sd/source/ui/slideshow/slideshow.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/slideshow/slideshow.cxx b/sd/source/ui/slideshow/slideshow.cxx
index 59aa218d1c6c..1076cb88ac07 100644
--- a/sd/source/ui/slideshow/slideshow.cxx
+++ b/sd/source/ui/slideshow/slideshow.cxx
@@ -908,7 +908,7 @@ OutputDevice* SlideShow::getShowWindow()
return mxController.is() ? mxController->mpShowWindow.get() : nullptr;
}
-int SlideShow::getAnimationMode()
+int SlideShow::getAnimationMode() const
{
return mxController.is() ? mxController->meAnimationMode : ANIMATIONMODE_SHOW;
}
@@ -925,7 +925,7 @@ void SlideShow::jumpToPageNumber( sal_Int32 nPageNumber )
mxController->displaySlideNumber( nPageNumber );
}
-sal_Int32 SlideShow::getCurrentPageNumber()
+sal_Int32 SlideShow::getCurrentPageNumber() const
{
return mxController.is() ? mxController->getCurrentSlideNumber() : 0;
}
@@ -936,7 +936,7 @@ void SlideShow::jumpToBookmark( const OUString& sBookmark )
mxController->jumpToBookmark( sBookmark );
}
-bool SlideShow::isFullScreen()
+bool SlideShow::isFullScreen() const
{
return mxController.is() && mxController->maPresSettings.mbFullScreen;
}