From cdcc2f365b6f9b88bd9d5dfd4e7c7131599f62ec Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 14 Jun 2019 09:31:44 +0200 Subject: loplugin:logexceptionnicely in accessibility..basic Change-Id: I6e0b95b40e3d62db36352f3ea916f79f3dbc9084 Reviewed-on: https://gerrit.libreoffice.org/74018 Tested-by: Jenkins Reviewed-by: Noel Grandin --- avmedia/source/viewer/mediawindow_impl.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'avmedia/source/viewer') diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx index dfadbd1a2eb0..a7e053cb911a 100644 --- a/avmedia/source/viewer/mediawindow_impl.cxx +++ b/avmedia/source/viewer/mediawindow_impl.cxx @@ -31,6 +31,7 @@ #include #include +#include #include #include #include @@ -224,9 +225,9 @@ uno::Reference< media::XPlayer > MediaWindowImpl::createPlayer( xPlayer.set( xManager->createPlayer( rURL ), uno::UNO_QUERY ); else SAL_INFO( "avmedia", "failed to create media player service " << rManagerServName ); - } catch ( const uno::Exception &e ) + } catch ( const uno::Exception & ) { - SAL_WARN( "avmedia", "couldn't create media player " << rManagerServName << ", " << e); + TOOLS_WARN_EXCEPTION( "avmedia", "couldn't create media player " << rManagerServName); } return xPlayer; } -- cgit