summaryrefslogtreecommitdiff
path: root/unotools/source/misc/mediadescriptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/misc/mediadescriptor.cxx')
-rw-r--r--unotools/source/misc/mediadescriptor.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx
index 5bb5660afcf8..21f3ab959a98 100644
--- a/unotools/source/misc/mediadescriptor.cxx
+++ b/unotools/source/misc/mediadescriptor.cxx
@@ -51,6 +51,7 @@
#include <comphelper/processfactory.hxx>
#include <tools/urlobj.hxx>
#include <osl/diagnose.h>
+#include <tools/diagnose_ex.h>
namespace utl {
@@ -519,9 +520,9 @@ bool MediaDescriptor::impl_addInputStream( bool bLockFile )
return impl_openStreamWithURL( removeFragment(sURL), bLockFile );
}
- catch(const css::uno::Exception& ex)
+ catch(const css::uno::Exception&)
{
- SAL_WARN("unotools.misc", "invalid MediaDescriptor detected: " << ex);
+ DBG_UNHANDLED_EXCEPTION("unotools.misc", "invalid MediaDescriptor detected");
return false;
}
}