summaryrefslogtreecommitdiff
path: root/reportdesign/source/core
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-02 08:58:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-03 08:38:50 +0200
commit4450b2a16677431b1b9dfaa28d0b9af9e51ebdec (patch)
tree22aa13a8d13f690b8498ec4bdb502d198593fcab /reportdesign/source/core
parentd76281864b0e83812c0edf7490b1e8271e89fff5 (diff)
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign/source/core')
-rw-r--r--reportdesign/source/core/api/ReportDefinition.cxx4
-rw-r--r--reportdesign/source/core/api/Shape.cxx2
-rw-r--r--reportdesign/source/core/misc/conditionupdater.cxx2
-rw-r--r--reportdesign/source/core/sdr/PropertyForward.cxx2
-rw-r--r--reportdesign/source/core/sdr/ReportDrawPage.cxx2
-rw-r--r--reportdesign/source/core/sdr/RptObject.cxx6
-rw-r--r--reportdesign/source/core/sdr/UndoActions.cxx2
-rw-r--r--reportdesign/source/core/sdr/UndoEnv.cxx12
-rw-r--r--reportdesign/source/core/sdr/formatnormalizer.cxx6
9 files changed, 19 insertions, 19 deletions
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx
index 09d9f2105a71..641b88d95e12 100644
--- a/reportdesign/source/core/api/ReportDefinition.cxx
+++ b/reportdesign/source/core/api/ReportDefinition.cxx
@@ -610,7 +610,7 @@ void OReportDefinition::init()
}
catch (const uno::Exception&)
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
}
@@ -2665,7 +2665,7 @@ uno::Any SAL_CALL OReportDefinition::getTransferData( const datatransfer::DataFl
}
catch (const uno::Exception &)
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
diff --git a/reportdesign/source/core/api/Shape.cxx b/reportdesign/source/core/api/Shape.cxx
index c6cfed2460ab..671bccaa2f32 100644
--- a/reportdesign/source/core/api/Shape.cxx
+++ b/reportdesign/source/core/api/Shape.cxx
@@ -323,7 +323,7 @@ uno::Reference< util::XCloneable > SAL_CALL OShape::createClone( )
}
catch(const uno::Exception&)
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
return xSet.get();
}
diff --git a/reportdesign/source/core/misc/conditionupdater.cxx b/reportdesign/source/core/misc/conditionupdater.cxx
index 66afe169c2f0..ded43a57cdc0 100644
--- a/reportdesign/source/core/misc/conditionupdater.cxx
+++ b/reportdesign/source/core/misc/conditionupdater.cxx
@@ -112,7 +112,7 @@ namespace rptui
}
catch( const Exception& )
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
}
diff --git a/reportdesign/source/core/sdr/PropertyForward.cxx b/reportdesign/source/core/sdr/PropertyForward.cxx
index 48ad24533135..a2a94ccd6fff 100644
--- a/reportdesign/source/core/sdr/PropertyForward.cxx
+++ b/reportdesign/source/core/sdr/PropertyForward.cxx
@@ -78,7 +78,7 @@ OPropertyMediator::OPropertyMediator(const Reference< XPropertySet>& _xSource
}
catch(Exception&)
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
}
osl_atomic_decrement(&m_refCount);
diff --git a/reportdesign/source/core/sdr/ReportDrawPage.cxx b/reportdesign/source/core/sdr/ReportDrawPage.cxx
index 619c699ad57b..e67f7a91626d 100644
--- a/reportdesign/source/core/sdr/ReportDrawPage.cxx
+++ b/reportdesign/source/core/sdr/ReportDrawPage.cxx
@@ -136,7 +136,7 @@ uno::Reference< drawing::XShape > OReportDrawPage::CreateShape( SdrObject *pObj
}
catch( const uno::Exception& )
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
}
diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx
index 4b5a377386a5..208c07c97f99 100644
--- a/reportdesign/source/core/sdr/RptObject.cxx
+++ b/reportdesign/source/core/sdr/RptObject.cxx
@@ -151,7 +151,7 @@ SdrObject* OObjectBase::createObject(const uno::Reference< report::XReportCompon
}
catch(const uno::Exception&)
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
break;
case OBJ_DLG_SUBREPORT:
@@ -617,7 +617,7 @@ void OUnoObject::impl_initializeModel_nothrow()
}
catch( const Exception& )
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
}
@@ -746,7 +746,7 @@ bool OUnoObject::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
}
catch(const uno::Exception&)
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
impl_initializeModel_nothrow();
diff --git a/reportdesign/source/core/sdr/UndoActions.cxx b/reportdesign/source/core/sdr/UndoActions.cxx
index 825fd7b8f574..4ec5c57dc647 100644
--- a/reportdesign/source/core/sdr/UndoActions.cxx
+++ b/reportdesign/source/core/sdr/UndoActions.cxx
@@ -140,7 +140,7 @@ OUndoContainerAction::~OUndoContainerAction()
}
catch ( const uno::Exception& )
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
}
}
diff --git a/reportdesign/source/core/sdr/UndoEnv.cxx b/reportdesign/source/core/sdr/UndoEnv.cxx
index 430a8bd57b50..cb42c8d086fb 100644
--- a/reportdesign/source/core/sdr/UndoEnv.cxx
+++ b/reportdesign/source/core/sdr/UndoEnv.cxx
@@ -278,7 +278,7 @@ void SAL_CALL OXUndoEnvironment::propertyChange( const PropertyChangeEvent& _rEv
}
catch( const Exception& )
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
const bool bTransReadOnly =
( ( nPropertyAttributes & PropertyAttribute::READONLY ) != 0 )
@@ -325,7 +325,7 @@ void SAL_CALL OXUndoEnvironment::propertyChange( const PropertyChangeEvent& _rEv
}
catch(const Exception&)
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
if ( pUndo == nullptr )
@@ -380,7 +380,7 @@ void SAL_CALL OXUndoEnvironment::elementInserted(const ContainerEvent& evt)
}
catch(uno::Exception&)
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
}
@@ -449,7 +449,7 @@ void SAL_CALL OXUndoEnvironment::elementRemoved(const ContainerEvent& evt)
}
catch(const uno::Exception&)
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
}
else
@@ -488,7 +488,7 @@ void OXUndoEnvironment::AddSection(const Reference< report::XSection > & _xSecti
}
catch(const uno::Exception&)
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
}
@@ -540,7 +540,7 @@ void OXUndoEnvironment::switchListening( const Reference< XIndexAccess >& _rxCon
}
catch( const Exception& )
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
}
diff --git a/reportdesign/source/core/sdr/formatnormalizer.cxx b/reportdesign/source/core/sdr/formatnormalizer.cxx
index 8b6276c20dda..b1c132bd9ed5 100644
--- a/reportdesign/source/core/sdr/formatnormalizer.cxx
+++ b/reportdesign/source/core/sdr/formatnormalizer.cxx
@@ -149,7 +149,7 @@ namespace rptui
}
catch( const Exception& )
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
}
}
@@ -195,7 +195,7 @@ namespace rptui
}
catch( const Exception& )
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
m_bFieldListDirty = false;
@@ -249,7 +249,7 @@ namespace rptui
}
catch( const Exception& )
{
- DBG_UNHANDLED_EXCEPTION();
+ DBG_UNHANDLED_EXCEPTION("reportdesign");
}
}