summaryrefslogtreecommitdiffstats
path: root/slideshow/source/engine/shapes/externalshapebase.cxx
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-04-15 13:46:46 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-04-15 21:36:35 +0200
commit0ae0301d1cd6e690473f932411ca880c20f45e13 (patch)
tree40062bb70f050a64c14835c2a52e36ae97ac3985 /slideshow/source/engine/shapes/externalshapebase.cxx
parentSlideshow: Remove unneded ExternalMediaShape (diff)
downloadcore-0ae0301d1cd6e690473f932411ca880c20f45e13.tar.gz
core-0ae0301d1cd6e690473f932411ca880c20f45e13.zip
Slideshow: remove unneded function duplicates
Change-Id: I682ae771f13e42dd1a4e1cf6a1ee062a5eca640f
Diffstat (limited to 'slideshow/source/engine/shapes/externalshapebase.cxx')
-rw-r--r--slideshow/source/engine/shapes/externalshapebase.cxx43
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();