diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-02 08:58:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-03 08:38:50 +0200 |
commit | 4450b2a16677431b1b9dfaa28d0b9af9e51ebdec (patch) | |
tree | 22aa13a8d13f690b8498ec4bdb502d198593fcab /forms/source/component/FormComponent.cxx | |
parent | d76281864b0e83812c0edf7490b1e8271e89fff5 (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 'forms/source/component/FormComponent.cxx')
-rw-r--r-- | forms/source/component/FormComponent.cxx | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index 0f63b890b208..11cfed98d15a 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -261,7 +261,7 @@ void OControl::impl_resetStateGuard_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } m_aWindowStateGuard.attach( xWindow, xModel ); } @@ -460,7 +460,7 @@ void OControlModel::readHelpTextCompatibly(const css::uno::Reference< css::io::X catch(const Exception&) { SAL_WARN("forms.component", "OControlModel::readHelpTextCompatibly: could not forward the property value to the aggregate!"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } @@ -475,7 +475,7 @@ void OControlModel::writeHelpTextCompatibly(const css::uno::Reference< css::io:: catch(const Exception&) { SAL_WARN("forms.component", "OControlModel::writeHelpTextCompatibly: could not retrieve the property value from the aggregate!"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } ::comphelper::operator<<( _rxOutStream, sHelpText); } @@ -516,7 +516,7 @@ OControlModel::OControlModel( catch( const Exception& ) { SAL_WARN("forms.component", "OControlModel::OControlModel: caught an exception!"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } } @@ -804,7 +804,7 @@ void OControlModel::read(const Reference<css::io::XObjectInputStream>& InStream) catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } xMark->jumpToMark(nMark); @@ -1233,7 +1233,7 @@ void OBoundControlModel::clonedFrom( const OControlModel* _pOriginal ) catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } @@ -1806,7 +1806,7 @@ void SAL_CALL OBoundControlModel::propertyChange( const PropertyChangeEvent& evt catch( const Exception& ) { SAL_WARN("forms.component", "OBoundControlModel::propertyChange: could not adjust my binding-controlled property!"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } @@ -1966,7 +1966,7 @@ void OBoundControlModel::connectToField(const Reference<XRowSet>& rForm) catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); resetField(); } @@ -2147,7 +2147,7 @@ void OBoundControlModel::doSetControlValue( const Any& _rValue ) catch( const Exception& ) { SAL_WARN("forms.component", "OBoundControlModel::doSetControlValue: caught an exception!"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } @@ -2168,7 +2168,7 @@ void OBoundControlModel::onConnectedValidator( ) catch( const Exception& ) { SAL_WARN("forms.component", "OBoundControlModel::onConnectedValidator: caught an exception!"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } recheckValidity( false ); @@ -2188,7 +2188,7 @@ void OBoundControlModel::onDisconnectedValidator( ) catch( const Exception& ) { SAL_WARN("forms.component", "OBoundControlModel::onDisconnectedValidator: caught an exception!"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } recheckValidity( false ); @@ -2247,7 +2247,7 @@ void OBoundControlModel::reset() catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } @@ -2266,7 +2266,7 @@ void OBoundControlModel::reset() catch( const SQLException& ) { SAL_WARN("forms.component", "OBoundControlModel::reset: caught an SQL exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } // #i24495# - don't count the insert row as "invalid" @@ -2311,7 +2311,7 @@ void OBoundControlModel::reset() catch(const Exception&) { SAL_WARN("forms.component", "OBoundControlModel::reset: this should have succeeded in all cases!"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } bool bNeedValueTransfer = true; @@ -2419,7 +2419,7 @@ void OBoundControlModel::connectExternalValueBinding( catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } // propagate our new value @@ -2437,7 +2437,7 @@ void OBoundControlModel::connectExternalValueBinding( catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } @@ -2462,7 +2462,7 @@ void OBoundControlModel::disconnectExternalValueBinding( ) catch( const Exception& ) { SAL_WARN("forms.component", "OBoundControlModel::disconnectExternalValueBinding: caught an exception!"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } // if the binding also acts as our validator, disconnect the validator, too @@ -2532,7 +2532,7 @@ void OBoundControlModel::transferDbValueToControl( ) catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } @@ -2550,7 +2550,7 @@ void OBoundControlModel::transferExternalValueToControl( ControlModelLock& _rIns catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } // < UNSAFE _rInstanceLock.acquire(); @@ -2574,7 +2574,7 @@ void OBoundControlModel::transferControlValueToExternal( ControlModelLock& _rIns catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } // < UNSAFE @@ -2791,7 +2791,7 @@ void OBoundControlModel::recheckValidity( bool _bForceNotification ) catch( const Exception& ) { SAL_WARN("forms.component", "OBoundControlModel::recheckValidity: caught an exception!"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } |