summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-06-11 13:38:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-06-11 13:40:34 +0100
commit756e090b7fb618402d2e8d25f13acba5416536d4 (patch)
tree323007d07e7b0b48b7d56de65499cf12282b37d0 /slideshow
parentccd22d24e6271272e1f5acfd207671bd1cc78fb9 (diff)
logging the simple message is sufficient
Change-Id: I84bced2b8dd92082f4777e00261ac87752278527
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/viewappletshape.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/slideshow/source/engine/shapes/viewappletshape.cxx b/slideshow/source/engine/shapes/viewappletshape.cxx
index 8550ed5e2f56..d7a9b8a41644 100644
--- a/slideshow/source/engine/shapes/viewappletshape.cxx
+++ b/slideshow/source/engine/shapes/viewappletshape.cxx
@@ -97,26 +97,23 @@ namespace slideshow
}
}
-
ViewAppletShape::~ViewAppletShape()
{
try
{
endApplet();
}
- catch (uno::Exception &)
+ catch (const uno::Exception &e)
{
- SAL_WARN( "slideshow", comphelper::anyToString( cppu::getCaughtException() ) );
+ SAL_WARN("slideshow", "" << e.Message);
}
}
-
const ViewLayerSharedPtr& ViewAppletShape::getViewLayer() const
{
return mpViewLayer;
}
-
void ViewAppletShape::startApplet( const ::basegfx::B2DRectangle& rBounds )
{
ENSURE_OR_RETURN_VOID( mpViewLayer && mpViewLayer->getCanvas() && mpViewLayer->getCanvas()->getUNOCanvas().is(),