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 /toolkit/source/controls | |
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 'toolkit/source/controls')
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 12 | ||||
-rw-r--r-- | toolkit/source/controls/formattedcontrol.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/controls/grid/defaultgridcolumnmodel.cxx | 8 | ||||
-rw-r--r-- | toolkit/source/controls/grid/gridcontrol.cxx | 8 | ||||
-rw-r--r-- | toolkit/source/controls/grid/sortablegriddatamodel.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/spinningprogress.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/tabpagecontainer.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrol.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrolmodel.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrols.cxx | 4 |
10 files changed, 24 insertions, 24 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index b5c71b78e0ae..8f6cf1783f29 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -641,7 +641,7 @@ void ControlModelContainerBase::removeByName( const OUString& aName ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } } @@ -1354,7 +1354,7 @@ void ControlContainerBase::ImplRemoveControl( Reference< XControlModel > const & } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } } } @@ -1553,7 +1553,7 @@ void ControlContainerBase::elementInserted( const ContainerEvent& Event ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } } @@ -1574,7 +1574,7 @@ void ControlContainerBase::elementRemoved( const ContainerEvent& Event ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } } @@ -1596,7 +1596,7 @@ void ControlContainerBase::elementReplaced( const ContainerEvent& Event ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } OUString aName; @@ -1613,7 +1613,7 @@ void ControlContainerBase::elementReplaced( const ContainerEvent& Event ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } } diff --git a/toolkit/source/controls/formattedcontrol.cxx b/toolkit/source/controls/formattedcontrol.cxx index fcacdf3178f0..7c763703a2b2 100644 --- a/toolkit/source/controls/formattedcontrol.cxx +++ b/toolkit/source/controls/formattedcontrol.cxx @@ -222,7 +222,7 @@ namespace toolkit } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } } @@ -248,7 +248,7 @@ namespace toolkit } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } } diff --git a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx index 4fb3025032d9..f8eb9121f2a2 100644 --- a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx +++ b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx @@ -127,7 +127,7 @@ private: } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } if ( aColumns.size() == i_copySource.m_aColumns.size() ) m_aColumns.swap( aColumns ); @@ -215,7 +215,7 @@ private: } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } } @@ -316,7 +316,7 @@ private: } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } } } @@ -373,7 +373,7 @@ private: } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } m_aColumns.erase( m_aColumns.begin() ); diff --git a/toolkit/source/controls/grid/gridcontrol.cxx b/toolkit/source/controls/grid/gridcontrol.cxx index acbbf5ed4ab6..02a619b5b857 100644 --- a/toolkit/source/controls/grid/gridcontrol.cxx +++ b/toolkit/source/controls/grid/gridcontrol.cxx @@ -127,7 +127,7 @@ UnoGridModel::UnoGridModel( const UnoGridModel& rModel ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } if ( !xDataModel.is() ) xDataModel = lcl_getDefaultDataModel_throw( m_xContext ); @@ -146,7 +146,7 @@ UnoGridModel::UnoGridModel( const UnoGridModel& rModel ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } if ( !xColumnModel.is() ) xColumnModel = lcl_getDefaultColumnModel_throw( m_xContext ); @@ -174,7 +174,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } } } @@ -342,7 +342,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } } } diff --git a/toolkit/source/controls/grid/sortablegriddatamodel.cxx b/toolkit/source/controls/grid/sortablegriddatamodel.cxx index f81aefd734fd..c8a5acdd8ae9 100644 --- a/toolkit/source/controls/grid/sortablegriddatamodel.cxx +++ b/toolkit/source/controls/grid/sortablegriddatamodel.cxx @@ -560,7 +560,7 @@ void lcl_clear( STLCONTAINER& i_container ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); return false; } diff --git a/toolkit/source/controls/spinningprogress.cxx b/toolkit/source/controls/spinningprogress.cxx index 41c746b48205..4d9ec002eabd 100644 --- a/toolkit/source/controls/spinningprogress.cxx +++ b/toolkit/source/controls/spinningprogress.cxx @@ -71,7 +71,7 @@ protected: } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } } osl_atomic_decrement( &m_refCount ); diff --git a/toolkit/source/controls/tabpagecontainer.cxx b/toolkit/source/controls/tabpagecontainer.cxx index 59b20b6c71ea..fd276a1020d8 100644 --- a/toolkit/source/controls/tabpagecontainer.cxx +++ b/toolkit/source/controls/tabpagecontainer.cxx @@ -123,7 +123,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } return nullptr; } diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx index 49bf00d15f73..ec3f2efe074f 100644 --- a/toolkit/source/controls/unocontrol.cxx +++ b/toolkit/source/controls/unocontrol.cxx @@ -238,7 +238,7 @@ bool UnoControl::ImplCheckLocalize( OUString& _rPossiblyLocalizable ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } return false; } @@ -1353,7 +1353,7 @@ sal_Bool UnoControl::setModel( const Reference< XControlModel >& rxModel ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); mxModel.clear(); } } diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index 2e8327b98f0a..2c53f1563921 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -1007,7 +1007,7 @@ void UnoControlModel::read( const css::uno::Reference< css::io::XObjectInputStre } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } if ( pFD ) diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index ea98a4d4512d..f41ade704374 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -96,7 +96,7 @@ ImageHelper::getGraphicFromURL_nothrow( const OUString& _rURL ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); } return xGraphic; @@ -674,8 +674,8 @@ void SAL_CALL GraphicControlModel::setFastPropertyValue_NoBroadcast( sal_Int32 n } catch( const css::uno::Exception& ) { + DBG_UNHANDLED_EXCEPTION("toolkit.controls"); OSL_FAIL( "GraphicControlModel::setFastPropertyValue_NoBroadcast: caught an exception while aligning the ImagePosition/ImageAlign properties!" ); - DBG_UNHANDLED_EXCEPTION(); mbAdjustingImagePosition = false; } } |