From 889dc7bffa02236bf2ad56b382997771f0fcf3c6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 15 Aug 2019 15:56:55 +0200 Subject: use more TOOLS_WARN_EXCEPTION Change-Id: Ic21ea11ff106e0732bb8fa600ef39a549d7bda86 Reviewed-on: https://gerrit.libreoffice.org/77569 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/draw/shapeexport.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xmloff/source/draw/shapeexport.cxx') diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 92d8f2358716..4de9defd61be 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -621,8 +621,7 @@ void XMLShapeExport::exportShape(const uno::Reference< drawing::XShape >& xShape } catch(const uno::Exception&) { - css::uno::Any ex( cppu::getCaughtException() ); - SAL_WARN("xmloff", "XMLShapeExport::exportShape(): exception during hyperlink export " << exceptionToString(ex)); + TOOLS_WARN_EXCEPTION("xmloff", "XMLShapeExport::exportShape(): exception during hyperlink export"); } if( xSet.is() ) -- cgit