diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-19 10:24:57 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-20 06:12:24 +0000 |
commit | 40fc2c1a0d2ebdf47131651045107c9d5abb850d (patch) | |
tree | 66a2d4c7220dfd47b09984892a8a08a7e5ab5fea /slideshow/source/engine/shapes/drawinglayeranimation.cxx | |
parent | e7324c5705eaa38a2c9aa0636f01a73f033ba4d6 (diff) |
loplugin:expandablemethodds in sfx2..starmath
Change-Id: Ia4c411f5a9a68c2f344188ce6b6bc1815c89f993
Reviewed-on: https://gerrit.libreoffice.org/30055
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source/engine/shapes/drawinglayeranimation.cxx')
-rw-r--r-- | slideshow/source/engine/shapes/drawinglayeranimation.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/slideshow/source/engine/shapes/drawinglayeranimation.cxx b/slideshow/source/engine/shapes/drawinglayeranimation.cxx index 41e30972212b..63d1787474cb 100644 --- a/slideshow/source/engine/shapes/drawinglayeranimation.cxx +++ b/slideshow/source/engine/shapes/drawinglayeranimation.cxx @@ -156,10 +156,6 @@ private: void updateShapeAttributes( double fTime, basegfx::B2DRectangle const& parentBounds ); - // Access to VisibleWhenSTarted flags - bool IsVisibleWhenStarted() const { return mbVisibleWhenStarted; } - bool IsVisibleWhenStopped() const { return mbVisibleWhenStopped; } - // scroll horizontal? if sal_False, scroll is vertical. bool ScrollHorizontal() const { return (drawing::TextAnimationDirection_LEFT == meDirection || @@ -418,7 +414,7 @@ void ActivityImpl::ImpForceScrollTextAnimNodes() fOneRelative = 1.0; } - if(IsVisibleWhenStarted()) + if(mbVisibleWhenStarted) { double fRelativeStartValue, fRelativeEndValue,fRelativeDistance; @@ -496,7 +492,7 @@ void ActivityImpl::ImpForceScrollTextAnimNodes() } } - if(IsVisibleWhenStopped()) + if(mbVisibleWhenStopped) { double fRelativeStartValue, fRelativeEndValue, fRelativeDistance; |