summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-06-10 15:11:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-06-10 16:18:06 +0100
commit595740608f3a405667e5b47d82d8ed69728564b1 (patch)
tree45b9cd14c93d70c234f2b401ed1b9d73fb9ecb00 /slideshow
parent7ceb90d059e62a832f4f8db10c05a5e175ebaee8 (diff)
logging the simple message is sufficient
Change-Id: I04ad6cb063af53f79245f923c022f3f9cd3abebd
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/viewmediashape.cxx11
1 files changed, 2 insertions, 9 deletions
diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx
index 0ff36b81f6dc..833f5b3e5edd 100644
--- a/slideshow/source/engine/shapes/viewmediashape.cxx
+++ b/slideshow/source/engine/shapes/viewmediashape.cxx
@@ -96,26 +96,23 @@ namespace slideshow
}
}
-
ViewMediaShape::~ViewMediaShape()
{
try
{
endMedia();
}
- catch (uno::Exception &)
+ catch (const uno::Exception &e)
{
- SAL_WARN( "slideshow", comphelper::anyToString( cppu::getCaughtException() ) );
+ SAL_WARN("slideshow", "" << e.Message);
}
}
-
const ViewLayerSharedPtr& ViewMediaShape::getViewLayer() const
{
return mpViewLayer;
}
-
void ViewMediaShape::startMedia()
{
if( !mxPlayer.is() )
@@ -125,7 +122,6 @@ namespace slideshow
mxPlayer->start();
}
-
void ViewMediaShape::endMedia()
{
// shutdown player window
@@ -156,21 +152,18 @@ namespace slideshow
}
}
-
void ViewMediaShape::pauseMedia()
{
if (mxPlayer.is())
mxPlayer->stop();
}
-
void ViewMediaShape::setMediaTime(double fTime)
{
if (mxPlayer.is())
mxPlayer->setMediaTime(fTime);
}
-
bool ViewMediaShape::render( const ::basegfx::B2DRectangle& rBounds ) const
{
#if !HAVE_FEATURE_AVMEDIA