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 /xmloff/source/table/XMLTableExport.cxx | |
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 'xmloff/source/table/XMLTableExport.cxx')
-rw-r--r-- | xmloff/source/table/XMLTableExport.cxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx index 596e94149785..449860ed8656 100644 --- a/xmloff/source/table/XMLTableExport.cxx +++ b/xmloff/source/table/XMLTableExport.cxx @@ -591,8 +591,7 @@ void XMLTableExport::exportTableTemplates() } catch(const Exception&) { - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN("xmloff", "XMLTableExport::exportTableTemplates(), export Writer specific attributes, exception caught! " << exceptionToString(ex)); + TOOLS_WARN_EXCEPTION("xmloff", "XMLTableExport::exportTableTemplates(), export Writer specific attributes, exception caught!"); } pElements++; } @@ -649,8 +648,7 @@ void XMLTableExport::exportTableTemplates() } catch(const Exception&) { - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN("xmloff", "XMLTableExport::exportTableTemplates(), export Writer specific styles, exception caught!" << exceptionToString(ex)); + TOOLS_WARN_EXCEPTION("xmloff", "XMLTableExport::exportTableTemplates(), export Writer specific styles, exception caught!"); } pElements++; } @@ -658,14 +656,12 @@ void XMLTableExport::exportTableTemplates() } catch(const Exception&) { - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN("xmloff", "XMLTableExport::exportTableDesigns(), exception caught while exporting a table design! " << exceptionToString(ex)); + TOOLS_WARN_EXCEPTION("xmloff", "XMLTableExport::exportTableDesigns(), exception caught while exporting a table design!"); } } catch(const Exception&) { - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN("xmloff", "XMLTableExport::exportTableDesigns(), exception caught! " << exceptionToString(ex)); + TOOLS_WARN_EXCEPTION("xmloff", "XMLTableExport::exportTableDesigns()"); } } |