diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-30 09:20:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-30 10:57:04 +0100 |
commit | a4b60b78ea36d55a2abf0e5efccd8530568d2209 (patch) | |
tree | 9468dc489d37b11e14e190502816f3ed55edd0c9 /slideshow/source | |
parent | 034a462475c2878e1eba13f10b2fcaf8c1755c4a (diff) |
loplugin:returnconstant
Change-Id: I5b859de6ccd908eee4356acbe1f12b441ab36df3
Reviewed-on: https://gerrit.libreoffice.org/62539
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source')
-rw-r--r-- | slideshow/source/engine/shapes/viewshape.cxx | 4 | ||||
-rw-r--r-- | slideshow/source/engine/shapes/viewshape.hxx | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/slideshow/source/engine/shapes/viewshape.cxx b/slideshow/source/engine/shapes/viewshape.cxx index e26865accbe8..b10dcda35924 100644 --- a/slideshow/source/engine/shapes/viewshape.cxx +++ b/slideshow/source/engine/shapes/viewshape.cxx @@ -817,12 +817,10 @@ namespace slideshow nYBorder ); } - bool ViewShape::enterAnimationMode() + void ViewShape::enterAnimationMode() { mbForceUpdate = true; mbAnimationMode = true; - - return true; } void ViewShape::leaveAnimationMode() diff --git a/slideshow/source/engine/shapes/viewshape.hxx b/slideshow/source/engine/shapes/viewshape.hxx index 3617dd39b756..b3fc29d27a2d 100644 --- a/slideshow/source/engine/shapes/viewshape.hxx +++ b/slideshow/source/engine/shapes/viewshape.hxx @@ -99,10 +99,8 @@ namespace slideshow This method enters animation mode on the associate target view. The shape can be animated in parallel on different views. - - @return whether the mode change finished successfully. */ - bool enterAnimationMode(); + void enterAnimationMode(); /** Notify the ViewShape that it is no longer animated |