diff options
author | Felix Zhang <fezhang@suse.com> | 2011-10-21 17:51:50 +0800 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-10-21 16:56:52 +0200 |
commit | 48e2a853b9106033094d2fd917dbf14ada5abdc0 (patch) | |
tree | f1ce8c1c053965ae21727f1aa2876c4678d3936c /sd/source/ui/slidesorter/controller/SlsAnimator.cxx | |
parent | cbfaa4dd71b39d393524afa7438c6da4e1e68df4 (diff) |
remove unused methods from sd::slidesorter
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsAnimator.cxx')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsAnimator.cxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx index 6a634b15c9db..887d962c6af4 100644 --- a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx +++ b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx @@ -153,36 +153,6 @@ Animator::AnimationId Animator::AddAnimation ( -Animator::AnimationId Animator::AddInfiniteAnimation ( - const AnimationFunctor& rAnimation, - const double nDelta) -{ - (void)nDelta; - - // When the animator is already disposed then ignore this call - // silently (well, we show an assertion, but do not throw an exception.) - OSL_ASSERT( ! mbIsDisposed); - if (mbIsDisposed) - return -1; - - boost::shared_ptr<Animation> pAnimation ( - new Animation( - rAnimation, - 0, - -1, - maElapsedTime.getElapsedTime(), - mnNextAnimationId++, - FinishFunctor())); - maAnimations.push_back(pAnimation); - - RequestNextFrame(); - - return pAnimation->mnAnimationId; -} - - - - void Animator::RemoveAnimation (const Animator::AnimationId nId) { OSL_ASSERT( ! mbIsDisposed); |