summaryrefslogtreecommitdiff
path: root/avmedia/source/viewer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 09:31:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 11:29:43 +0200
commitcdcc2f365b6f9b88bd9d5dfd4e7c7131599f62ec (patch)
treec619bbd6a0b17049799cee247d682941ecd898e3 /avmedia/source/viewer
parent48b9951779630da115086ce1fe8f4ffb5b0b4530 (diff)
loplugin:logexceptionnicely in accessibility..basic
Change-Id: I6e0b95b40e3d62db36352f3ea916f79f3dbc9084 Reviewed-on: https://gerrit.libreoffice.org/74018 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'avmedia/source/viewer')
-rw-r--r--avmedia/source/viewer/mediawindow_impl.cxx5
1 files changed, 3 insertions, 2 deletions
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 <sal/log.hxx>
#include <comphelper/processfactory.hxx>
+#include <tools/diagnose_ex.h>
#include <tools/urlobj.hxx>
#include <unotools/securityoptions.hxx>
#include <vcl/svapp.hxx>
@@ -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;
}