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 /dbaccess/source/ui/browser/unodatbr.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 'dbaccess/source/ui/browser/unodatbr.cxx')
-rw-r--r-- | dbaccess/source/ui/browser/unodatbr.cxx | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx index bae7b9fe57d5..32e2488b672f 100644 --- a/dbaccess/source/ui/browser/unodatbr.cxx +++ b/dbaccess/source/ui/browser/unodatbr.cxx @@ -309,7 +309,7 @@ void SAL_CALL SbaTableQueryBrowser::disposing() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // check out from all the objects we are listening @@ -503,7 +503,7 @@ void SbaTableQueryBrowser::impl_sanitizeRowSetClauses_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -551,7 +551,7 @@ bool SbaTableQueryBrowser::InitializeForm( const Reference< XPropertySet > & i_f } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); return false; } @@ -795,7 +795,7 @@ void SbaTableQueryBrowser::InitializeGridModel(const Reference< css::form::XForm } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -882,7 +882,7 @@ void SbaTableQueryBrowser::propertyChange(const PropertyChangeEvent& evt) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -930,7 +930,7 @@ void SbaTableQueryBrowser::propertyChange(const PropertyChangeEvent& evt) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1289,7 +1289,7 @@ void SbaTableQueryBrowser::connectExternalDispatches() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1446,7 +1446,7 @@ Any SAL_CALL SbaTableQueryBrowser::getSelection( ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return aReturn; @@ -1497,7 +1497,7 @@ void SbaTableQueryBrowser::attachFrame(const Reference< css::frame::XFrame > & _ } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1742,7 +1742,7 @@ FeatureState SbaTableQueryBrowser::GetState(sal_uInt16 nId) const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } break; @@ -1800,7 +1800,7 @@ FeatureState SbaTableQueryBrowser::GetState(sal_uInt16 nId) const } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return aReturn; @@ -1965,7 +1965,7 @@ void SbaTableQueryBrowser::Execute(sal_uInt16 nId, const Sequence< PropertyValue } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -2201,7 +2201,7 @@ IMPL_LINK(SbaTableQueryBrowser, OnExpandEntry, SvTreeListEntry*, _pParent, bool) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if (aInfo.isValid()) showError(aInfo); @@ -2263,7 +2263,7 @@ bool SbaTableQueryBrowser::ensureEntryObject( SvTreeListEntry* _pEntry ) } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } bSuccess = pEntryData->xContainer.is(); @@ -2291,7 +2291,7 @@ bool SbaTableQueryBrowser::ensureEntryObject( SvTreeListEntry* _pEntry ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -2391,12 +2391,12 @@ bool SbaTableQueryBrowser::implLoadAnything(const OUString& _rDataSourceName, co showError( SQLExceptionInfo( e.TargetException ) ); else { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } InvalidateAll(); @@ -2636,7 +2636,7 @@ bool SbaTableQueryBrowser::implSelect( SvTreeListEntry* _pEntry ) } catch (Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -2893,7 +2893,7 @@ void SbaTableQueryBrowser::impl_releaseConnection( SharedConnection& _rxConnecti } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // clear @@ -3029,7 +3029,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xDataSource.get(); } @@ -3114,7 +3114,7 @@ void SbaTableQueryBrowser::impl_initialize() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -3424,7 +3424,7 @@ void SbaTableQueryBrowser::implAdministrate( SvTreeListEntry* _pApplyTo ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -3541,7 +3541,7 @@ bool SbaTableQueryBrowser::implGetQuerySignature( OUString& _rCommand, bool& _bE } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return false; @@ -3668,7 +3668,7 @@ Reference< XEmbeddedScripts > SAL_CALL SbaTableQueryBrowser::getScriptContainer( } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } Reference< XEmbeddedScripts > xScripts( xDocument, UNO_QUERY ); OSL_ENSURE( xScripts.is() || !xDocument.is(), |