diff options
author | udareechk <udareeck@gmail.com> | 2017-09-21 01:30:46 +0530 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-10-23 16:51:09 +0200 |
commit | 022b1b2a40fcaf8d201081dead44c1d3346d1972 (patch) | |
tree | ceb0671118004125c35c157978080adbd93edcaf /slideshow | |
parent | f68c1a0f03b974839b02cbff400f1a2785489c87 (diff) |
tdf#96505 Get rid of cargo cult long integer literals
Removed 0L, 1L and 2L
Change-Id: Icb38de1cdd8e1215a86118b0c8af993025fd790e
Reviewed-on: https://gerrit.libreoffice.org/42567
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/shapes/drawinglayeranimation.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/slideshow/source/engine/shapes/drawinglayeranimation.cxx b/slideshow/source/engine/shapes/drawinglayeranimation.cxx index bff671de8804..63006b5af07a 100644 --- a/slideshow/source/engine/shapes/drawinglayeranimation.cxx +++ b/slideshow/source/engine/shapes/drawinglayeranimation.cxx @@ -435,7 +435,7 @@ void ActivityImpl::ImpForceScrollTextAnimNodes() // init loop ScrollTextAnimNode aInitNode( - nLoopTime, 1L, + nLoopTime, 1, fRelativeStartValue, fRelativeEndValue, mnFrequency, false); maVector.push_back(aInitNode); @@ -468,7 +468,7 @@ void ActivityImpl::ImpForceScrollTextAnimNodes() { // endless main loop ScrollTextAnimNode aMainNode( - nLoopTime, 0L, + nLoopTime, 0, fRelativeStartValue, fRelativeEndValue, mnFrequency, DoAlternate()); maVector.push_back(aMainNode); @@ -513,7 +513,7 @@ void ActivityImpl::ImpForceScrollTextAnimNodes() // exit loop ScrollTextAnimNode aExitNode( - nLoopTime, 1L, + nLoopTime, 1, fRelativeStartValue, fRelativeEndValue, mnFrequency, false); maVector.push_back(aExitNode); } @@ -816,7 +816,7 @@ ActivityImpl::ActivityImpl( mnFrequency = (nDelay ? nDelay : // default: meAnimKind == drawing::TextAnimationKind_BLINK - ? 250L : 50L ); + ? 250 : 50 ); // adopted from in AInfoScrollText::ImplInit(): |