From 4450b2a16677431b1b9dfaa28d0b9af9e51ebdec Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 2 Apr 2018 08:58:19 +0200 Subject: pass area param to DBG_UNHANDLED_EXCEPTION and update sallogareas plugin to enforce this Change-Id: Id0782c8a1f619372e10d931aec3c6a4743a4c86a Reviewed-on: https://gerrit.libreoffice.org/52249 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/draw/shapeexport.cxx | 12 ++++++------ xmloff/source/draw/ximpshap.cxx | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'xmloff/source/draw') diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index fd2ad7ca647c..313461bccc3d 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -780,7 +780,7 @@ void XMLShapeExport::exportShape(const uno::Reference< drawing::XShape >& xShape } catch(const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.draw"); } } @@ -4880,7 +4880,7 @@ void XMLShapeExport::ImpExportTableShape( const uno::Reference< drawing::XShape } catch( uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.draw"); } } } @@ -4961,9 +4961,9 @@ void XMLShapeExport::ImpExportTableShape( const uno::Reference< drawing::XShape aBase64Exp.exportOfficeBinaryDataElement( uno::Reference < io::XInputStream >( xPictureStream, uno::UNO_QUERY_THROW ) ); } } - catch( uno::Exception& ) + catch( uno::Exception const & ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.draw"); } } @@ -4971,9 +4971,9 @@ void XMLShapeExport::ImpExportTableShape( const uno::Reference< drawing::XShape ImpExportGluePoints( xShape ); ImpExportDescription( xShape ); // #i68101# } - catch( uno::Exception& ) + catch( uno::Exception const & ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.draw"); } } diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index edcbcf4af1bc..3d74d57f0853 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -3921,7 +3921,7 @@ void SdXMLTableShapeContext::StartElement( const css::uno::Reference< css::xml:: } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.draw"); } const XMLPropertyMapEntry* pEntry = &aXMLTableShapeAttributes[0]; @@ -3934,7 +3934,7 @@ void SdXMLTableShapeContext::StartElement( const css::uno::Reference< css::xml:: } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.draw"); } } } -- cgit