summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/shapeexport.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 13:49:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-02 08:58:08 +0200
commite075ee967d0c030a22b7699ee54b5cbd49c07c17 (patch)
tree0f4dc5636aec2e8e77e84839d1ec433f11854811 /xmloff/source/draw/shapeexport.cxx
parent5092305fa80f1900d7229df75a30204ecb53daf0 (diff)
give DBG_UNHANDLED_EXCEPTION_WHEN an area parameter
and rename it to DBG_UNHANDLED_EXCEPTION, to make it more like the SAL_WARN-type macros. Use some macro magic to deal with different numbers of arguments. Update the sallogareas plugin to check the area parameter of DBG_UNHANDLED_EXCEPTION. Change-Id: Ie790223244c3484f41acb3679c043fb9b438e7c4 Reviewed-on: https://gerrit.libreoffice.org/52073 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/draw/shapeexport.cxx')
-rw-r--r--xmloff/source/draw/shapeexport.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index b0422e8fde8b..fd2ad7ca647c 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -554,7 +554,7 @@ void XMLShapeExport::collectShapeAutoStyles(const uno::Reference< drawing::XShap
}
catch(const uno::Exception&)
{
- DBG_UNHANDLED_EXCEPTION_WHEN( "collecting auto styles for a table" );
+ DBG_UNHANDLED_EXCEPTION( "xmloff", "collecting auto styles for a table" );
}
break;
}
@@ -746,7 +746,7 @@ void XMLShapeExport::exportShape(const uno::Reference< drawing::XShape >& xShape
}
catch(const uno::Exception&)
{
- DBG_UNHANDLED_EXCEPTION_WHEN( "exporting layer name for shape" );
+ DBG_UNHANDLED_EXCEPTION( "xmloff", "exporting layer name for shape" );
}
}
}
@@ -1867,7 +1867,7 @@ void XMLShapeExport::ImpExportDescription( const uno::Reference< drawing::XShape
}
catch( uno::Exception& )
{
- DBG_UNHANDLED_EXCEPTION_WHEN( "exporting Title and/or Description for shape" );
+ DBG_UNHANDLED_EXCEPTION( "xmloff", "exporting Title and/or Description for shape" );
}
}