summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-14 12:44:47 +0200
committerNoel Grandin <noel@peralex.com>2015-04-15 11:47:12 +0200
commit71b809959bb8f775d83dc52628448bb8b8322b28 (patch)
treef9aa4308050eb7d55611068602c0cf0e3c1b3690 /sd/source/ui/slidesorter/controller/SlsAnimator.cxx
parent135907f2061550624ee1859745d94eee01849070 (diff)
remove unnecessary use of void in function declarations
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsAnimator.cxx')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsAnimator.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
index 99a838866192..e2f909075953 100644
--- a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
@@ -37,7 +37,7 @@ public:
const double nGlobalTime,
const Animator::AnimationId nAnimationId,
const Animator::FinishFunctor& rFinishFunctor);
- ~Animation (void);
+ ~Animation();
/** Run next animation step. If animation has reached its end it is
expired.
*/
@@ -47,8 +47,8 @@ public:
Animator::Disposed(). The finish functor is called and the
animation is marked as expired to prevent another run.
*/
- void Expire (void);
- bool IsExpired (void) { return mbIsExpired;}
+ void Expire();
+ bool IsExpired() { return mbIsExpired;}
Animator::AnimationFunctor maAnimation;
Animator::FinishFunctor maFinishFunctor;
@@ -72,7 +72,7 @@ Animator::Animator (SlideSorter& rSlideSorter)
maIdle.SetIdleHdl(LINK(this,Animator,TimeoutHandler));
}
-Animator::~Animator (void)
+Animator::~Animator()
{
if ( ! mbIsDisposed)
{
@@ -81,7 +81,7 @@ Animator::~Animator (void)
}
}
-void Animator::Dispose (void)
+void Animator::Dispose()
{
mbIsDisposed = true;
@@ -154,7 +154,7 @@ void Animator::RemoveAnimation (const Animator::AnimationId nId)
}
}
-void Animator::RemoveAllAnimations (void)
+void Animator::RemoveAllAnimations()
{
::std::for_each(
maAnimations.begin(),
@@ -188,7 +188,7 @@ bool Animator::ProcessAnimations (const double nTime)
return bExpired;
}
-void Animator::CleanUpAnimationList (void)
+void Animator::CleanUpAnimationList()
{
OSL_ASSERT( ! mbIsDisposed);
if (mbIsDisposed)
@@ -256,7 +256,7 @@ Animator::Animation::Animation (
Run(nGlobalTime);
}
-Animator::Animation::~Animation (void)
+Animator::Animation::~Animation()
{
}
@@ -286,7 +286,7 @@ bool Animator::Animation::Run (const double nGlobalTime)
return mbIsExpired;
}
-void Animator::Animation::Expire (void)
+void Animator::Animation::Expire()
{
if ( ! mbIsExpired)
{