diff options
Diffstat (limited to 'dbaccess/source/ui/browser')
-rw-r--r-- | dbaccess/source/ui/browser/brwctrlr.cxx | 26 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/dataview.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/dbloader.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/dsbrowserDnD.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/exsrcbrw.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/genericcontroller.cxx | 6 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/sbagrid.cxx | 6 | ||||
-rw-r--r-- | dbaccess/source/ui/browser/unodatbr.cxx | 48 |
8 files changed, 48 insertions, 48 deletions
diff --git a/dbaccess/source/ui/browser/brwctrlr.cxx b/dbaccess/source/ui/browser/brwctrlr.cxx index ea4f6d098364..86e65d809187 100644 --- a/dbaccess/source/ui/browser/brwctrlr.cxx +++ b/dbaccess/source/ui/browser/brwctrlr.cxx @@ -120,7 +120,7 @@ using namespace ::svt; } \ catch(Exception&) \ { \ - DBG_UNHANDLED_EXCEPTION(); \ + DBG_UNHANDLED_EXCEPTION("dbaccess"); \ } \ #define DO_SAFE( action, message ) try { action; } catch(Exception&) { SAL_WARN("dbaccess.ui",message); } ; @@ -608,7 +608,7 @@ void SbaXDataBrowserController::onStartLoading( const Reference< XLoadable >& _r } catch(const SQLException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -676,7 +676,7 @@ bool SbaXDataBrowserController::reloadForm( const Reference< XLoadable >& _rxLoa } catch(const SQLException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1212,7 +1212,7 @@ void SbaXDataBrowserController::disposing() } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_xParser.clear(); // don't dispose, just reset - it's owned by the RowSet @@ -1352,7 +1352,7 @@ sal_Bool SbaXDataBrowserController::approveParameter(const css::form::DatabasePa } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return true; @@ -1427,7 +1427,7 @@ FeatureState SbaXDataBrowserController::GetState(sal_uInt16 nId) const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } aReturn.bEnabled = bInsertPrivilege && bAllowInsertions; } @@ -1448,7 +1448,7 @@ FeatureState SbaXDataBrowserController::GetState(sal_uInt16 nId) const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } aReturn.bEnabled = bDeletePrivilege && bAllowDeletions && ( nRowCount != 0 ) && !bInsertionRow; } @@ -1598,7 +1598,7 @@ FeatureState SbaXDataBrowserController::GetState(sal_uInt16 nId) const } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return aReturn; @@ -1730,7 +1730,7 @@ Reference< XSingleSelectQueryComposer > SbaXDataBrowserController::createParser_ } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xComposer; } @@ -2386,7 +2386,7 @@ IMPL_LINK(SbaXDataBrowserController, OnCanceledNotFound, FmFoundRecordInformatio } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } try @@ -2400,7 +2400,7 @@ IMPL_LINK(SbaXDataBrowserController, OnCanceledNotFound, FmFoundRecordInformatio } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2432,7 +2432,7 @@ void SbaXDataBrowserController::LoadFinished(bool /*bWasSynch*/) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // switch the control to alive mode @@ -2462,7 +2462,7 @@ void SbaXDataBrowserController::initializeParser() const } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); m_xParser = nullptr; // no further handling, we ignore the error } diff --git a/dbaccess/source/ui/browser/dataview.cxx b/dbaccess/source/ui/browser/dataview.cxx index 37c4f8e879cc..18241bf19778 100644 --- a/dbaccess/source/ui/browser/dataview.cxx +++ b/dbaccess/source/ui/browser/dataview.cxx @@ -157,7 +157,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/browser/dbloader.cxx b/dbaccess/source/ui/browser/dbloader.cxx index 0ac7cf20f331..97c56ae88f92 100644 --- a/dbaccess/source/ui/browser/dbloader.cxx +++ b/dbaccess/source/ui/browser/dbloader.cxx @@ -197,7 +197,7 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -278,7 +278,7 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/browser/dsbrowserDnD.cxx b/dbaccess/source/ui/browser/dsbrowserDnD.cxx index a507065e80ef..67cc08b3e712 100644 --- a/dbaccess/source/ui/browser/dsbrowserDnD.cxx +++ b/dbaccess/source/ui/browser/dsbrowserDnD.cxx @@ -88,7 +88,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return nullptr; } diff --git a/dbaccess/source/ui/browser/exsrcbrw.cxx b/dbaccess/source/ui/browser/exsrcbrw.cxx index a3aca9051c72..bbd2a7e0cb6d 100644 --- a/dbaccess/source/ui/browser/exsrcbrw.cxx +++ b/dbaccess/source/ui/browser/exsrcbrw.cxx @@ -352,7 +352,7 @@ void SbaExternalSourceBrowser::Attach(const Reference< XRowSet > & xMaster) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } onStartLoading( Reference< XLoadable >( xMaster, UNO_QUERY ) ); diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx index 1155b1ff93c9..25688f5145c4 100644 --- a/dbaccess/source/ui/browser/genericcontroller.cxx +++ b/dbaccess/source/ui/browser/genericcontroller.cxx @@ -126,7 +126,7 @@ void UserDefinedFeatures::execute( const URL& _rFeatureURL, const Sequence< Prop } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -172,7 +172,7 @@ OGenericUnoController::OGenericUnoController(const Reference< XComponentContext } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -988,7 +988,7 @@ IMPL_LINK_NOARG(OGenericUnoController, OnAsyncCloseTask, void*, void) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx index 878b00ebe7f5..2acfbe8bc341 100644 --- a/dbaccess/source/ui/browser/sbagrid.cxx +++ b/dbaccess/source/ui/browser/sbagrid.cxx @@ -880,7 +880,7 @@ void SbaGridControl::SetBrowserAttrs() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1305,7 +1305,7 @@ sal_Int8 SbaGridControl::AcceptDrop( const BrowserAcceptDropEvent& rEvt ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } while (false); @@ -1439,7 +1439,7 @@ IMPL_LINK_NOARG(SbaGridControl, AsynchDropEvent, void*, void) if (m_pMasterListener) m_pMasterListener->AfterDrop(); Show(); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( !bCountFinal ) setDataSource(Reference< XRowSet >(xDataSource,UNO_QUERY)); 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(), |