diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 15:56:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-16 13:31:26 +0200 |
commit | 889dc7bffa02236bf2ad56b382997771f0fcf3c6 (patch) | |
tree | e7fc2c8748972bb1ed4acb98fd92ff08a8670f7b /filter | |
parent | 9a97a26511584f41c3753fa9536e1c4a8dce637a (diff) |
use more TOOLS_WARN_EXCEPTION
Change-Id: Ic21ea11ff106e0732bb8fa600ef39a549d7bda86
Reviewed-on: https://gerrit.libreoffice.org/77569
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/graphicfilter/icgm/cgm.cxx | 3 | ||||
-rw-r--r-- | filter/source/odfflatxml/OdfFlatXml.cxx | 3 | ||||
-rw-r--r-- | filter/source/xsltfilter/XSLTFilter.cxx | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/filter/source/graphicfilter/icgm/cgm.cxx b/filter/source/graphicfilter/icgm/cgm.cxx index 3004d346522e..22240779768d 100644 --- a/filter/source/graphicfilter/icgm/cgm.cxx +++ b/filter/source/graphicfilter/icgm/cgm.cxx @@ -733,8 +733,7 @@ ImportCGM(SvStream& rIn, uno::Reference< frame::XModel > const & rXModel, css::u } catch (const css::uno::Exception&) { - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN("filter.icgm", exceptionToString(ex)); + TOOLS_WARN_EXCEPTION("filter.icgm", ""); nStatus = 0; } } diff --git a/filter/source/odfflatxml/OdfFlatXml.cxx b/filter/source/odfflatxml/OdfFlatXml.cxx index a0ab8c6318ab..29882d0d4029 100644 --- a/filter/source/odfflatxml/OdfFlatXml.cxx +++ b/filter/source/odfflatxml/OdfFlatXml.cxx @@ -155,8 +155,7 @@ OdfFlatXml::importer( } catch (const Exception &) { - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN("filter.odfflatxml", exceptionToString(ex)); + TOOLS_WARN_EXCEPTION("filter.odfflatxml", ""); return false; } catch (const std::exception &exc) diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx index df74b8aa4814..354124c0a10d 100644 --- a/filter/source/xsltfilter/XSLTFilter.cxx +++ b/filter/source/xsltfilter/XSLTFilter.cxx @@ -395,9 +395,8 @@ namespace XSLT } catch( const Exception& ) { - css::uno::Any ex( cppu::getCaughtException() ); // something went wrong - SAL_WARN("filter.xslt", exceptionToString(ex)); + TOOLS_WARN_EXCEPTION("filter.xslt", ""); return false; } } |