diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-17 08:21:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-18 09:27:59 +0200 |
commit | e1eb7cb04a4c30cec238ab0f54d41a6cdc3299c1 (patch) | |
tree | 1c54b75238c4607a2b86f160c69b0287e350e573 /starmath | |
parent | e080acf2211af3f2b55cf59f04272a9a43188abe (diff) |
loplugin:logexceptionnicely in starmath..svgio
Change-Id: I356e574e28338f6fddc6932b4e41a461d851406d
Reviewed-on: https://gerrit.libreoffice.org/74141
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/smdetect.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/starmath/source/smdetect.cxx b/starmath/source/smdetect.cxx index 90d601157a3e..24e6f2df7bf5 100644 --- a/starmath/source/smdetect.cxx +++ b/starmath/source/smdetect.cxx @@ -26,6 +26,7 @@ #include <unotools/mediadescriptor.hxx> #include <sal/log.hxx> #include <sot/storage.hxx> +#include <tools/diagnose_ex.h> #include "eqnolefilehdr.hxx" @@ -83,9 +84,9 @@ OUString SAL_CALL SmFilterDetect::detect( Sequence< PropertyValue >& lDescriptor } } } - catch (const css::ucb::ContentCreationException &e) + catch (const css::ucb::ContentCreationException &) { - SAL_WARN("starmath", "SmFilterDetect::detect caught " << e); + TOOLS_WARN_EXCEPTION("starmath", "SmFilterDetect::detect caught" ); } if (!bStorageOk) |