slideshow/source/engine/shapes/viewappletshape.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
New commits: commit 756e090b7fb618402d2e8d25f13acba5416536d4 Author: Caolán McNamara <caol...@redhat.com> Date: Sun Jun 11 13:38:04 2017 +0100 logging the simple message is sufficient Change-Id: I84bced2b8dd92082f4777e00261ac87752278527 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(),
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits