logging the simple message is sufficient

Change-Id: I84bced2b8dd92082f4777e00261ac87752278527
This commit is contained in:
Caolán McNamara
2017-06-11 13:38:04 +01:00
parent ccd22d24e6
commit 756e090b7f

View File

@@ -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(),