[Libreoffice-commits] core.git: slideshow/source

Caolán McNamara caolanm at redhat.com
Sun Jun 11 12:41:01 UTC 2017


 slideshow/source/engine/shapes/viewappletshape.cxx |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

New commits:
commit 756e090b7fb618402d2e8d25f13acba5416536d4
Author: Caolán McNamara <caolanm at 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(),


More information about the Libreoffice-commits mailing list