summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/controller/SlsAnimator.cxx
diff options
context:
space:
mode:
authorFelix Zhang <fezhang@suse.com>2011-10-21 17:51:50 +0800
committerJan Holesovsky <kendy@suse.cz>2011-10-21 16:56:52 +0200
commit48e2a853b9106033094d2fd917dbf14ada5abdc0 (patch)
treef1ce8c1c053965ae21727f1aa2876c4678d3936c /sd/source/ui/slidesorter/controller/SlsAnimator.cxx
parentcbfaa4dd71b39d393524afa7438c6da4e1e68df4 (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.cxx30
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);