diff options
Diffstat (limited to 'slideshow/source/engine/shapes/externalshapebase.cxx')
-rw-r--r-- | slideshow/source/engine/shapes/externalshapebase.cxx | 43 |
1 files changed, 4 insertions, 39 deletions
diff --git a/slideshow/source/engine/shapes/externalshapebase.cxx b/slideshow/source/engine/shapes/externalshapebase.cxx index 00c0766df8a5..05ad628bc9f5 100644 --- a/slideshow/source/engine/shapes/externalshapebase.cxx +++ b/slideshow/source/engine/shapes/externalshapebase.cxx @@ -73,11 +73,13 @@ namespace slideshow virtual bool enableAnimations() SAL_OVERRIDE { - return mrBase.implStartIntrinsicAnimation(); + mrBase.play(); + return true; } virtual bool disableAnimations() SAL_OVERRIDE { - return mrBase.implEndIntrinsicAnimation(); + mrBase.stop(); + return true; } ExternalShapeBase& mrBase; @@ -126,43 +128,6 @@ namespace slideshow return mxShape; } - - - void ExternalShapeBase::play() - { - implStartIntrinsicAnimation(); - } - - - - void ExternalShapeBase::stop() - { - implEndIntrinsicAnimation(); - } - - - - void ExternalShapeBase::pause() - { - implPauseIntrinsicAnimation(); - } - - - - bool ExternalShapeBase::isPlaying() const - { - return implIsIntrinsicAnimationPlaying(); - } - - - - void ExternalShapeBase::setMediaTime(double fTime) - { - implSetIntrinsicAnimationTime(fTime); - } - - - bool ExternalShapeBase::update() const { return render(); |