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 | |
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>
328 files changed, 1036 insertions, 1041 deletions
diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx index 4ea41cba9036..f43d141bb55a 100644 --- a/basctl/source/basicide/baside3.cxx +++ b/basctl/source/basicide/baside3.cxx @@ -1187,7 +1187,7 @@ void DialogWindow::StoreData() } catch (const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } MarkDocumentModified( GetDocument() ); m_pEditor->ClearModifyFlag(); diff --git a/basctl/source/basicide/basides3.cxx b/basctl/source/basicide/basides3.cxx index c12fb56c2f2c..b55e273fdca8 100644 --- a/basctl/source/basicide/basides3.cxx +++ b/basctl/source/basicide/basides3.cxx @@ -84,7 +84,7 @@ VclPtr<DialogWindow> Shell::CreateDlgWin( const ScriptDocument& rDocument, const } catch (const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } else diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index db948900610a..b0b7a3769110 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -692,7 +692,7 @@ void Shell::UpdateWindows() } catch (const container::NoSuchElementException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } @@ -723,7 +723,7 @@ void Shell::UpdateWindows() } catch (const container::NoSuchElementException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } } diff --git a/basctl/source/basicide/bastype2.cxx b/basctl/source/basicide/bastype2.cxx index beb4be4b54cc..5d3071bd7e5f 100644 --- a/basctl/source/basicide/bastype2.cxx +++ b/basctl/source/basicide/bastype2.cxx @@ -339,7 +339,7 @@ void TreeListBox::ImpCreateLibSubEntries( SvTreeListEntry* pLibRootEntry, const } catch ( const container::NoSuchElementException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } } @@ -374,7 +374,7 @@ void TreeListBox::ImpCreateLibSubEntries( SvTreeListEntry* pLibRootEntry, const } catch (const container::NoSuchElementException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } } @@ -493,7 +493,7 @@ void TreeListBox::ImpCreateLibSubSubEntriesInVBAMode( SvTreeListEntry* pLibSubRo } catch ( const container::NoSuchElementException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } @@ -761,7 +761,7 @@ void TreeListBox::GetRootEntryBitmaps( const ScriptDocument& rDocument, Image& r } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } if ( !sFactoryURL.isEmpty() ) diff --git a/basctl/source/basicide/doceventnotifier.cxx b/basctl/source/basicide/doceventnotifier.cxx index d713c8f97a7d..b309fbd00a1b 100644 --- a/basctl/source/basicide/doceventnotifier.cxx +++ b/basctl/source/basicide/doceventnotifier.cxx @@ -209,7 +209,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } diff --git a/basctl/source/basicide/documentenumeration.cxx b/basctl/source/basicide/documentenumeration.cxx index 70894659b6c5..4140bca4c906 100644 --- a/basctl/source/basicide/documentenumeration.cxx +++ b/basctl/source/basicide/documentenumeration.cxx @@ -97,7 +97,7 @@ namespace basctl { namespace docs { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } @@ -143,7 +143,7 @@ namespace basctl { namespace docs { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } } @@ -163,7 +163,7 @@ namespace basctl { namespace docs { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } diff --git a/basctl/source/basicide/moduldl2.cxx b/basctl/source/basicide/moduldl2.cxx index 2722a2dfd187..aa9269714ad4 100644 --- a/basctl/source/basicide/moduldl2.cxx +++ b/basctl/source/basicide/moduldl2.cxx @@ -337,7 +337,7 @@ bool CheckBox::EditedEntry( SvTreeListEntry* pEntry, const OUString& rNewName ) } catch (const container::NoSuchElementException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); return false; } } @@ -1567,7 +1567,7 @@ void createLibImpl(weld::Window* pWin, const ScriptDocument& rDocument, } catch (const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } } diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index 68c4b1b7526a..7e28a20ddd17 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -399,7 +399,7 @@ TriState ExtTreeListBox::NotifyCopyingMoving( SvTreeListEntry* pTarget, SvTreeLi } catch (const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } else // copy @@ -434,7 +434,7 @@ TriState ExtTreeListBox::NotifyCopyingMoving( SvTreeListEntry* pTarget, SvTreeLi } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } @@ -913,7 +913,7 @@ void ObjectPage::DeleteCurrent() } catch (const container::NoSuchElementException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } } @@ -1049,7 +1049,7 @@ SbModule* createModImpl(weld::Window* pWin, const ScriptDocument& rDocument, } catch (const container::NoSuchElementException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } return pModule; diff --git a/basctl/source/basicide/scriptdocument.cxx b/basctl/source/basicide/scriptdocument.cxx index 593ebdd3e9c9..559f4f82a301 100644 --- a/basctl/source/basicide/scriptdocument.cxx +++ b/basctl/source/basicide/scriptdocument.cxx @@ -144,7 +144,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return false; } @@ -319,7 +319,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); m_bValid = false; } @@ -352,7 +352,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return xContainer; } @@ -373,7 +373,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } return bIsReadOnly; @@ -449,7 +449,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return xContainer; @@ -466,7 +466,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return bHas; } @@ -488,7 +488,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return xLibrary; } @@ -504,7 +504,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } @@ -528,7 +528,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } return false; @@ -549,7 +549,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return false; } @@ -573,7 +573,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return false; } @@ -646,7 +646,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return false; } @@ -679,7 +679,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); return false; } @@ -700,7 +700,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return false; } @@ -718,7 +718,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return false; } @@ -755,7 +755,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return _out_rDialogProvider.is(); @@ -773,7 +773,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } } @@ -791,7 +791,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } return bIsModified; @@ -829,7 +829,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } @@ -860,7 +860,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } return sURL; @@ -879,7 +879,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } } return bAllow; @@ -901,7 +901,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return _out_rxFrame.is(); @@ -957,7 +957,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return bIsShared; @@ -1141,7 +1141,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } // sort document list by doc title? @@ -1225,7 +1225,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } // sort @@ -1505,7 +1505,7 @@ namespace basctl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl.basicide"); } return bIsActive; } diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx index 411cd288d899..65bc60515fbf 100644 --- a/basctl/source/dlged/propbrw.cxx +++ b/basctl/source/dlged/propbrw.cxx @@ -219,7 +219,7 @@ void PropBrw::ImplDestroyController() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl"); } m_xBrowserController.clear(); @@ -515,7 +515,7 @@ void PropBrw::ImplUpdate( const Reference< XModel >& _rxContextDocument, SdrView catch ( const PropertyVetoException& ) { /* silence */ } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basctl"); } } diff --git a/basic/source/basmgr/basicmanagerrepository.cxx b/basic/source/basmgr/basicmanagerrepository.cxx index fc0d29855968..41da1b1fa94f 100644 --- a/basic/source/basmgr/basicmanagerrepository.cxx +++ b/basic/source/basmgr/basicmanagerrepository.cxx @@ -402,7 +402,7 @@ namespace basic } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basic"); } } @@ -513,7 +513,7 @@ namespace basic } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basic"); return false; } return true; @@ -533,7 +533,7 @@ namespace basic } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basic"); } return _out_rxBasicLibraries.is() && _out_rxDialogLibraries.is(); } diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx index 20751a1202c0..b068db8c63d9 100644 --- a/basic/source/basmgr/basmgr.cxx +++ b/basic/source/basmgr/basmgr.cxx @@ -1460,7 +1460,7 @@ bool BasicManager::LegacyPsswdBinaryLimitExceeded( std::vector< OUString >& _out } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basic"); } return false; } diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index de80d937711b..becadd064099 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -1826,7 +1826,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basic"); return; } @@ -1841,7 +1841,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basic"); return; } } @@ -1917,7 +1917,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basic"); // TODO: error handling? } } @@ -1972,7 +1972,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto } catch(const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basic"); // TODO: error handling throw; } @@ -2032,7 +2032,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const uno::Reference< embed::XSto } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basic"); throw; } } @@ -3096,7 +3096,7 @@ void SfxLibrary::impl_removeWithoutChecks( const OUString& _rElementName ) } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("basic"); } } } diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index da8d9db101e9..139f17279b40 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -1446,7 +1446,7 @@ IMPL_LINK( ChartController, NotifyUndoActionHdl, SdrUndoAction*, pUndoAction, vo } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("chart2"); } } } diff --git a/chart2/source/controller/main/ChartModelClone.cxx b/chart2/source/controller/main/ChartModelClone.cxx index 9dd43ceb2834..7f8d09bd5faf 100644 --- a/chart2/source/controller/main/ChartModelClone.cxx +++ b/chart2/source/controller/main/ChartModelClone.cxx @@ -68,7 +68,7 @@ namespace chart } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("chart2"); } return xResult; } @@ -99,7 +99,7 @@ namespace chart } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("chart2"); } } @@ -121,7 +121,7 @@ namespace chart } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("chart2"); } m_xModelClone.clear(); m_xDataClone.clear(); @@ -150,7 +150,7 @@ namespace chart } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("chart2"); } } } @@ -238,7 +238,7 @@ namespace chart } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("chart2"); } } diff --git a/chart2/source/controller/main/UndoCommandDispatch.cxx b/chart2/source/controller/main/UndoCommandDispatch.cxx index 97a11c444813..8b69ec0edf78 100644 --- a/chart2/source/controller/main/UndoCommandDispatch.cxx +++ b/chart2/source/controller/main/UndoCommandDispatch.cxx @@ -100,7 +100,7 @@ void SAL_CALL UndoCommandDispatch::dispatch( } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("chart2"); } // \-- } diff --git a/chart2/source/controller/main/UndoGuard.cxx b/chart2/source/controller/main/UndoGuard.cxx index 4d7a85e8ad3a..2bb5008dde09 100644 --- a/chart2/source/controller/main/UndoGuard.cxx +++ b/chart2/source/controller/main/UndoGuard.cxx @@ -61,7 +61,7 @@ void UndoGuard::commit() } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("chart2"); } } m_bActionPosted = true; @@ -126,7 +126,7 @@ HiddenUndoContext::HiddenUndoContext( const Reference< document::XUndoManager > } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("chart2"); m_xUndoManager.clear(); // prevents the leaveUndoContext in the dtor } @@ -141,7 +141,7 @@ HiddenUndoContext::~HiddenUndoContext() } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("chart2"); } } diff --git a/compilerplugins/clang/sallogareas.cxx b/compilerplugins/clang/sallogareas.cxx index 1095302d9ada..e31754493523 100644 --- a/compilerplugins/clang/sallogareas.cxx +++ b/compilerplugins/clang/sallogareas.cxx @@ -93,8 +93,6 @@ bool SalLogAreas::VisitCallExpr( const CallExpr* call ) area->getLocStart()); return true; } - if( kind == LogCallKind::DbgUnhandledException ) // below checks don't apply - return true; if( loplugin::DeclCheck(inFunction).Function("log").Namespace("detail").Namespace("sal").GlobalNamespace() || loplugin::DeclCheck(inFunction).Function("sal_detail_logFormat").GlobalNamespace() ) return true; // These functions only forward to sal_detail_log, so ok. diff --git a/compilerplugins/clang/test/sallogareas.cxx b/compilerplugins/clang/test/sallogareas.cxx index 6a9035a05f30..eb3f1a70fa2f 100644 --- a/compilerplugins/clang/test/sallogareas.cxx +++ b/compilerplugins/clang/test/sallogareas.cxx @@ -51,7 +51,7 @@ int main() } catch (std::exception const&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION(); // expected-error {{missing log area [loplugin:sallogareas]}} } } diff --git a/connectivity/source/commontools/DateConversion.cxx b/connectivity/source/commontools/DateConversion.cxx index 3ba09ee62430..4fa1c8c1deb7 100644 --- a/connectivity/source/commontools/DateConversion.cxx +++ b/connectivity/source/commontools/DateConversion.cxx @@ -409,7 +409,7 @@ double DBTypeConversion::getValue( const Reference< XColumn >& i_column, const D } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); return 0.0; } } @@ -479,7 +479,7 @@ OUString DBTypeConversion::getFormattedValue(const Reference<XColumn>& xVariant, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } // get a value which represents the given date, relative to the null date of the formatter fValue -= toDays( rNullDate, aFormatterNullDate ); diff --git a/connectivity/source/commontools/dbmetadata.cxx b/connectivity/source/commontools/dbmetadata.cxx index e40cde6c4bcd..afd77484c3ab 100644 --- a/connectivity/source/commontools/dbmetadata.cxx +++ b/connectivity/source/commontools/dbmetadata.cxx @@ -147,7 +147,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } return false; } @@ -164,7 +164,7 @@ namespace dbtools { _cachedSetting.reset( (_metaData.xConnectionMetaData.get()->*_getter)() ); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } } return *_cachedSetting; } @@ -231,7 +231,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } return bSupportsSubQueries; } @@ -253,7 +253,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } return bDoesSupportPrimaryKeys; } @@ -338,7 +338,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } try { @@ -350,7 +350,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } return bSupport; } @@ -389,7 +389,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } return isSupported; } @@ -411,7 +411,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } #endif return doDisplay; @@ -428,7 +428,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } return bSupported; } diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 26fcb70bf8ec..603d003754f1 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -252,7 +252,7 @@ Reference< XDataSource > getDataSource( } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } return xDS; @@ -1239,7 +1239,7 @@ Reference< XSingleSelectQueryComposer > getComposedRowSetStatement( const Refere } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } return xComposer; diff --git a/connectivity/source/commontools/dbtools2.cxx b/connectivity/source/commontools/dbtools2.cxx index efff523d800d..1b9d480f8198 100644 --- a/connectivity/source/commontools/dbtools2.cxx +++ b/connectivity/source/commontools/dbtools2.cxx @@ -591,7 +591,7 @@ bool getBooleanDataSourceSetting( const Reference< XConnection >& _rxConnection, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } return bValue; } @@ -648,7 +648,7 @@ bool isDataSourcePropertyEnabled(const Reference<XInterface>& _xProp, const OUSt } catch(SQLException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } return bEnabled; } @@ -672,7 +672,7 @@ Reference< XTablesSupplier> getDataDefinitionByURLAndConnection( } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } return xTablesSup; } @@ -825,7 +825,7 @@ void collectColumnInformation(const Reference< XConnection>& _xConnection, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } } diff --git a/connectivity/source/commontools/filtermanager.cxx b/connectivity/source/commontools/filtermanager.cxx index cb534c01ad5b..152c4a4a2258 100644 --- a/connectivity/source/commontools/filtermanager.cxx +++ b/connectivity/source/commontools/filtermanager.cxx @@ -123,7 +123,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } } @@ -148,7 +148,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } } diff --git a/connectivity/source/commontools/formattedcolumnvalue.cxx b/connectivity/source/commontools/formattedcolumnvalue.cxx index bd582dbc82e4..3e3c5e316762 100644 --- a/connectivity/source/commontools/formattedcolumnvalue.cxx +++ b/connectivity/source/commontools/formattedcolumnvalue.cxx @@ -172,7 +172,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } } @@ -197,7 +197,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } lcl_initColumnDataValue_nothrow( i_rData, xNumberFormatter, i_rColumn ); diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx index 4fc69a8018d3..41d28a2bdf54 100644 --- a/connectivity/source/commontools/parameters.cxx +++ b/connectivity/source/commontools/parameters.cxx @@ -626,7 +626,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); SAL_WARN( "connectivity.commontools", "ParameterManager::fillLinkedParameters: master-detail parameter number " << sal_Int32( aPosition + 1 ) << " could not be filled!" ); } @@ -635,7 +635,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } } diff --git a/connectivity/source/commontools/paramwrapper.cxx b/connectivity/source/commontools/paramwrapper.cxx index d644eb661e5a..38dbf9075333 100644 --- a/connectivity/source/commontools/paramwrapper.cxx +++ b/connectivity/source/commontools/paramwrapper.cxx @@ -167,7 +167,7 @@ namespace param } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } m_pInfoHelper.reset( new ::cppu::OPropertyArrayHelper( aProperties, false ) ); diff --git a/connectivity/source/commontools/statementcomposer.cxx b/connectivity/source/commontools/statementcomposer.cxx index 499e7f167e39..3f5714435689 100644 --- a/connectivity/source/commontools/statementcomposer.cxx +++ b/connectivity/source/commontools/statementcomposer.cxx @@ -93,7 +93,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } } _rData.xComposer.clear(); @@ -222,7 +222,7 @@ namespace dbtools } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.commontools"); } return _rData.xComposer.is(); diff --git a/connectivity/source/drivers/hsqldb/HConnection.cxx b/connectivity/source/drivers/hsqldb/HConnection.cxx index 1929c705fce0..cf4cafbe347c 100644 --- a/connectivity/source/drivers/hsqldb/HConnection.cxx +++ b/connectivity/source/drivers/hsqldb/HConnection.cxx @@ -151,7 +151,7 @@ namespace connectivity { namespace hsqldb } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.hsqldb"); } } @@ -160,7 +160,7 @@ namespace connectivity { namespace hsqldb } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.hsqldb"); } } @@ -255,7 +255,7 @@ namespace connectivity { namespace hsqldb { // that's a serious error in impl_getTableContainer_throw, or hasByName, however, we're only // allowed to throw an IllegalArgumentException ourself - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.hsqldb"); } if ( !bDoesExist ) @@ -300,7 +300,7 @@ namespace connectivity { namespace hsqldb } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.hsqldb"); } return bIsTextTable; @@ -335,7 +335,7 @@ namespace connectivity { namespace hsqldb } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.hsqldb"); } return xGraphic; } diff --git a/connectivity/source/drivers/hsqldb/HDriver.cxx b/connectivity/source/drivers/hsqldb/HDriver.cxx index 69261b2dd53f..9facdd3660b6 100644 --- a/connectivity/source/drivers/hsqldb/HDriver.cxx +++ b/connectivity/source/drivers/hsqldb/HDriver.cxx @@ -616,7 +616,7 @@ namespace connectivity } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.hsqldb"); } } } diff --git a/connectivity/source/drivers/hsqldb/HTable.cxx b/connectivity/source/drivers/hsqldb/HTable.cxx index 561d15893832..618b00930655 100644 --- a/connectivity/source/drivers/hsqldb/HTable.cxx +++ b/connectivity/source/drivers/hsqldb/HTable.cxx @@ -264,7 +264,7 @@ void OHSQLTable::alterColumnType(sal_Int32 nNewType,const OUString& _rColName, c } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.hsqldb"); } #else (void)_rColName; diff --git a/connectivity/source/drivers/hsqldb/HView.cxx b/connectivity/source/drivers/hsqldb/HView.cxx index 3a5fcb0cf394..10ec3ed7a2e4 100644 --- a/connectivity/source/drivers/hsqldb/HView.cxx +++ b/connectivity/source/drivers/hsqldb/HView.cxx @@ -132,7 +132,7 @@ namespace connectivity { namespace hsqldb { if ( bDropSucceeded ) xStatement->execute( sRestoreCommand ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.hsqldb"); } } @@ -186,7 +186,7 @@ namespace connectivity { namespace hsqldb } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.hsqldb"); } return sCommand; @@ -210,7 +210,7 @@ namespace connectivity { namespace hsqldb } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.hsqldb"); } return sCommand; diff --git a/connectivity/source/drivers/jdbc/JStatement.cxx b/connectivity/source/drivers/jdbc/JStatement.cxx index fbbb0c9a36c9..f6ad7f1d279b 100644 --- a/connectivity/source/drivers/jdbc/JStatement.cxx +++ b/connectivity/source/drivers/jdbc/JStatement.cxx @@ -650,7 +650,7 @@ sal_Bool java_sql_Statement_Base::convertFastPropertyValue( } catch(const css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.jdbc"); } return false; } diff --git a/connectivity/source/drivers/mork/MResultSetMetaData.cxx b/connectivity/source/drivers/mork/MResultSetMetaData.cxx index 80b53817d1af..8b8e4c96e810 100644 --- a/connectivity/source/drivers/mork/MResultSetMetaData.cxx +++ b/connectivity/source/drivers/mork/MResultSetMetaData.cxx @@ -89,7 +89,7 @@ OUString SAL_CALL OResultSetMetaData::getColumnName( sal_Int32 column ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.mork"); } return sColumnName; } diff --git a/connectivity/source/manager/mdrivermanager.cxx b/connectivity/source/manager/mdrivermanager.cxx index ca3a8ffd9759..e9fdf9f8ad09 100644 --- a/connectivity/source/manager/mdrivermanager.cxx +++ b/connectivity/source/manager/mdrivermanager.cxx @@ -205,7 +205,7 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.manager"); } return _rPrecedence.getLength(); diff --git a/connectivity/source/parse/sqliterator.cxx b/connectivity/source/parse/sqliterator.cxx index 331616568dff..49fa68d587d3 100644 --- a/connectivity/source/parse/sqliterator.cxx +++ b/connectivity/source/parse/sqliterator.cxx @@ -318,7 +318,7 @@ void OSQLParseTreeIterator::impl_getQueryParameterColumns( const OSQLTable& _rQu } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.parse"); } // parse the sub query @@ -738,7 +738,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.parse"); } } } @@ -1998,7 +1998,7 @@ Reference< XPropertySet > OSQLParseTreeIterator::findSelectColumn( const OUStrin } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.parse"); } } return nullptr; diff --git a/connectivity/source/parse/sqlnode.cxx b/connectivity/source/parse/sqlnode.cxx index e5349c7feded..eb4a02ca36e9 100644 --- a/connectivity/source/parse/sqlnode.cxx +++ b/connectivity/source/parse/sqlnode.cxx @@ -700,7 +700,7 @@ bool OSQLParseNode::impl_parseTableNameNodeToString_throw( OUStringBuffer& rStri } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("connectivity.parse"); } return false; } diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 5495a1c8dbfc..8b7a2b814bed 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -1349,7 +1349,7 @@ void SvxConfigPage::Reset( const SfxItemSet* ) } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("cui.customize"); } for ( sal_Int32 i = 0; i < aFrameList.getLength(); ++i ) @@ -1467,7 +1467,7 @@ OUString SvxConfigPage::GetFrameWithDefaultAndIdentify( uno::Reference< frame::X } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("cui.customize"); } return sModuleID; diff --git a/cui/source/customize/eventdlg.cxx b/cui/source/customize/eventdlg.cxx index f8145eb1deaf..f50d85685201 100644 --- a/cui/source/customize/eventdlg.cxx +++ b/cui/source/customize/eventdlg.cxx @@ -158,7 +158,7 @@ void SvxEventConfigPage::ImplInitDocument() } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("cui.customize"); } } diff --git a/cui/source/customize/macropg.cxx b/cui/source/customize/macropg.cxx index 9dc247da8ab2..40ac11c6c2ac 100644 --- a/cui/source/customize/macropg.cxx +++ b/cui/source/customize/macropg.cxx @@ -335,7 +335,7 @@ bool SvxMacroTabPage_::FillItemSet( SfxItemSet* /*rSet*/ ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("cui.customize"); } } } @@ -350,7 +350,7 @@ bool SvxMacroTabPage_::FillItemSet( SfxItemSet* /*rSet*/ ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("cui.customize"); } } // if we have a valid XModifiable (in the case of doc events) diff --git a/cui/source/options/dbregisterednamesconfig.cxx b/cui/source/options/dbregisterednamesconfig.cxx index 1a0e7786dae8..764559249e2d 100644 --- a/cui/source/options/dbregisterednamesconfig.cxx +++ b/cui/source/options/dbregisterednamesconfig.cxx @@ -63,7 +63,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("cui.options"); } _rFillItems.Put( DatabaseMapItem( SID_SB_DB_REGISTER, aSettings ) ); diff --git a/dbaccess/source/core/api/FilteredContainer.cxx b/dbaccess/source/core/api/FilteredContainer.cxx index 9f5fe4c824b8..5cb93dd40bf9 100644 --- a/dbaccess/source/core/api/FilteredContainer.cxx +++ b/dbaccess/source/core/api/FilteredContainer.cxx @@ -156,7 +156,7 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, std::vector< } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } _io_tableInfo.sType = OptionalString( sTypeName ); } @@ -253,7 +253,7 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, std::vector< } catch(SQLException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_xMasterContainer = _rxMasterContainer; @@ -359,7 +359,7 @@ sal_Int32 createWildCardVector(Sequence< OUString >& _rTableFilter, std::vector< } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); disposing(); return; } diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx index 19667868b8d2..77abccbaf3e1 100644 --- a/dbaccess/source/core/api/RowSet.cxx +++ b/dbaccess/source/core/api/RowSet.cxx @@ -572,7 +572,7 @@ void ORowSet::freeResources( bool _bComplete ) try { ::comphelper::disposeComponent( m_xComposer ); } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); m_xComposer = nullptr; } @@ -1519,7 +1519,7 @@ Reference< XIndexAccess > SAL_CALL ORowSet::getParameters( ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1552,7 +1552,7 @@ void ORowSet::approveExecution() catch ( const RowSetVetoException& ) { throw; } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1681,7 +1681,7 @@ void ORowSet::impl_ensureStatement_throw() OUString sInfo(DBA_RES_PARAM( RID_STR_COMMAND_LEADING_TO_ERROR, "$command$", sCommandToExecute ) ); aError.append( SQLExceptionInfo::TYPE::SQLContext, sInfo ); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } // propagate aError.doThrow(); @@ -1765,7 +1765,7 @@ void ORowSet::impl_initializeColumnSettings_nothrow( const Reference< XPropertyS } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); return; } @@ -1809,7 +1809,7 @@ void ORowSet::impl_initializeColumnSettings_nothrow( const Reference< XPropertyS } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2261,7 +2261,7 @@ Reference< XNameAccess > ORowSet::impl_getTables_throw() } catch(SQLException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pTables = new OTableContainer(*this,m_aMutex,m_xActiveConnection,bCase,nullptr,nullptr,m_nInAppend); @@ -2284,7 +2284,7 @@ void ORowSet::impl_resetTables_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } DELETEZ( m_pTables ); diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx index f55d8c3e48d4..46f59d6d2c08 100644 --- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx +++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx @@ -347,7 +347,7 @@ void SAL_CALL OSingleSelectQueryComposer::setCommand( const OUString& Command,sa } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } sSQL.append(dbtools::composeTableNameForSelect(m_xConnection,xTable)); @@ -606,7 +606,7 @@ void SAL_CALL OSingleSelectQueryComposer::setElementaryQuery( const OUString& _r catch( const Exception& ) { SAL_WARN("dbaccess", "OSingleSelectQueryComposer::setElementaryQuery: there should be no error anymore for the additive statement!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); // every part of the additive statement should have passed other tests already, and should not // be able to cause any errors ... me thinks } @@ -796,7 +796,7 @@ Reference< XNameAccess > SAL_CALL OSingleSelectQueryComposer::getColumns( ) xStatement.reset( Reference< XStatement >( m_xConnection->createStatement(), UNO_QUERY_THROW ) ); Reference< XPropertySet > xStatementProps( xStatement, UNO_QUERY_THROW ); try { xStatementProps->setPropertyValue( PROPERTY_ESCAPE_PROCESSING, makeAny( false ) ); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } xResMetaDataSup.set( xStatement->executeQuery( sSQL ), UNO_QUERY_THROW ); xResultSetMeta.set( xResMetaDataSup->getMetaData(), UNO_QUERY_THROW ); } diff --git a/dbaccess/source/core/api/View.cxx b/dbaccess/source/core/api/View.cxx index e70f95d8e9ba..3207dd5a1188 100644 --- a/dbaccess/source/core/api/View.cxx +++ b/dbaccess/source/core/api/View.cxx @@ -61,7 +61,7 @@ namespace dbaccess } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/api/columnsettings.cxx b/dbaccess/source/core/api/columnsettings.cxx index 1f2c5cadfecc..6abe2abcc7cd 100644 --- a/dbaccess/source/core/api/columnsettings.cxx +++ b/dbaccess/source/core/api/columnsettings.cxx @@ -142,7 +142,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return true; } diff --git a/dbaccess/source/core/api/definitioncolumn.cxx b/dbaccess/source/core/api/definitioncolumn.cxx index b99b7b199b81..cce34d3227db 100644 --- a/dbaccess/source/core/api/definitioncolumn.cxx +++ b/dbaccess/source/core/api/definitioncolumn.cxx @@ -257,7 +257,7 @@ Reference< XPropertySet > OQueryColumn::impl_determineOriginalTableColumn( const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xOriginalTableColumn; } @@ -307,7 +307,7 @@ void SAL_CALL OQueryColumn::getFastPropertyValue( Any& _rValue, sal_Int32 _nHand } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -559,7 +559,7 @@ OTableColumnWrapper::OTableColumnWrapper( const Reference< XPropertySet >& rCol, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } osl_atomic_decrement( &m_refCount ); diff --git a/dbaccess/source/core/api/preparedstatement.cxx b/dbaccess/source/core/api/preparedstatement.cxx index 10fb3e4cc065..7080fe32b087 100644 --- a/dbaccess/source/core/api/preparedstatement.cxx +++ b/dbaccess/source/core/api/preparedstatement.cxx @@ -163,7 +163,7 @@ Reference< css::container::XNameAccess > OPreparedStatement::getColumns() } catch (const SQLException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pColumns->setInitialized(); } diff --git a/dbaccess/source/core/api/query.cxx b/dbaccess/source/core/api/query.cxx index f05569d9ba75..de12b938c00e 100644 --- a/dbaccess/source/core/api/query.cxx +++ b/dbaccess/source/core/api/query.cxx @@ -206,7 +206,7 @@ void OQuery::rebuildColumns() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/api/resultcolumn.cxx b/dbaccess/source/core/api/resultcolumn.cxx index b517d97d0846..d0c3b979a533 100644 --- a/dbaccess/source/core/api/resultcolumn.cxx +++ b/dbaccess/source/core/api/resultcolumn.cxx @@ -93,7 +93,7 @@ void OResultColumn::impl_determineIsRowVersion_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/api/resultset.cxx b/dbaccess/source/core/api/resultset.cxx index 6b87e69c55a1..e7ed9e24daf8 100644 --- a/dbaccess/source/core/api/resultset.cxx +++ b/dbaccess/source/core/api/resultset.cxx @@ -309,7 +309,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xDBMetaData; } @@ -351,7 +351,7 @@ Reference< css::container::XNameAccess > OResultSet::getColumns() } catch ( const SQLException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pColumns->setInitialized(); @@ -375,7 +375,7 @@ Reference< css::container::XNameAccess > OResultSet::getColumns() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } #endif } diff --git a/dbaccess/source/core/api/statement.cxx b/dbaccess/source/core/api/statement.cxx index 54f412fcf065..1a63e8b7f99a 100644 --- a/dbaccess/source/core/api/statement.cxx +++ b/dbaccess/source/core/api/statement.cxx @@ -561,7 +561,7 @@ OUString OStatement::impl_doEscapeProcessing_nothrow( const OUString& _rSQL ) co } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return _rSQL; @@ -580,7 +580,7 @@ bool OStatement::impl_ensureComposer_nothrow() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return m_xComposer.is(); diff --git a/dbaccess/source/core/api/tablecontainer.cxx b/dbaccess/source/core/api/tablecontainer.cxx index 499720524008..61b182bc25ac 100644 --- a/dbaccess/source/core/api/tablecontainer.cxx +++ b/dbaccess/source/core/api/tablecontainer.cxx @@ -121,7 +121,7 @@ void OTableContainer::removeMasterContainerListener() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -442,7 +442,7 @@ void OTableContainer::addMasterContainerListener() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/dataaccess/ModelImpl.cxx b/dbaccess/source/core/dataaccess/ModelImpl.cxx index 68439e8b71fb..d7e47ad61b05 100644 --- a/dbaccess/source/core/dataaccess/ModelImpl.cxx +++ b/dbaccess/source/core/dataaccess/ModelImpl.cxx @@ -169,7 +169,7 @@ void DocumentStorageAccess::dispose() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -204,7 +204,7 @@ Reference< XStorage > DocumentStorageAccess::impl_openSubStorage_nothrow( const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xStorage; @@ -222,7 +222,7 @@ void DocumentStorageAccess::disposeStorages() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } m_aExposedStorages.clear(); @@ -260,7 +260,7 @@ bool DocumentStorageAccess::commitEmbeddedStorage( bool _bPreventRootCommits ) } catch( Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( _bPreventRootCommits ) @@ -466,7 +466,7 @@ void ODatabaseModelImpl::impl_construct_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_rDBContext.appendAtTerminateListener(*this); } @@ -536,7 +536,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); // be on the safe side: If we can't reliably determine whether there are macros, // assume there actually are. Better this way, than the other way round. bSomeDocHasMacros = true; @@ -563,7 +563,7 @@ bool ODatabaseModelImpl::objectHasMacros( const Reference< XStorage >& _rxContai } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bHasMacros; } @@ -629,7 +629,7 @@ void ODatabaseModelImpl::clearConnections() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -651,7 +651,7 @@ void ODatabaseModelImpl::dispose() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_xDataSource = WeakReference<XDataSource>(); m_xModel = WeakReference< XModel >(); @@ -680,7 +680,7 @@ void ODatabaseModelImpl::dispose() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( m_pStorageAccess.is() ) @@ -803,7 +803,7 @@ Reference< XStorage > const & ODatabaseModelImpl::getOrCreateRootStorage() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -855,7 +855,7 @@ bool ODatabaseModelImpl::commitStorageIfWriteable_ignoreErrors( const Reference< } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bSuccess; } @@ -875,7 +875,7 @@ void ODatabaseModelImpl::setModified( bool _bModified ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -913,7 +913,7 @@ Reference< XModel > ODatabaseModelImpl::createNewModel_deliverOwnership() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( bHadModelBefore ) @@ -1227,7 +1227,7 @@ sal_Int16 ODatabaseModelImpl::getCurrentMacroExecMode() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return nCurrentMode; } diff --git a/dbaccess/source/core/dataaccess/connection.cxx b/dbaccess/source/core/dataaccess/connection.cxx index c56b2e027b0a..95999104e9f8 100644 --- a/dbaccess/source/core/dataaccess/connection.cxx +++ b/dbaccess/source/core/dataaccess/connection.cxx @@ -291,7 +291,7 @@ OConnection::OConnection(ODatabaseSource& _rDB } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_xTableUIProvider.set(m_xMasterConnection, css::uno::UNO_QUERY); @@ -352,7 +352,7 @@ OConnection::OConnection(ODatabaseSource& _rDB } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } osl_atomic_decrement( &m_refCount ); } @@ -778,7 +778,7 @@ void OConnection::impl_checkTableQueryNames_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/dataaccess/databasecontext.cxx b/dbaccess/source/core/dataaccess/databasecontext.cxx index 784bfe896537..1b55e47b4bd8 100644 --- a/dbaccess/source/core/dataaccess/databasecontext.cxx +++ b/dbaccess/source/core/dataaccess/databasecontext.cxx @@ -132,7 +132,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -415,7 +415,7 @@ void ODatabaseContext::setTransientProperties(const OUString& _sURL, ODatabaseMo } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -475,7 +475,7 @@ void ODatabaseContext::storeTransientProperties( ODatabaseModelImpl& _rModelImpl } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // additionally, remember the "failed password", which is not available as property diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx index 27a2114ae9fb..43b3c4d41d3f 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.cxx +++ b/dbaccess/source/core/dataaccess/databasedocument.cxx @@ -275,7 +275,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } _rGuard.reset(); // note that |reset| can throw a DisposedException @@ -309,7 +309,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -433,7 +433,7 @@ void ODatabaseDocument::impl_reset_nothrow() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pImpl->m_bDocumentReadOnly = false; } @@ -623,7 +623,7 @@ sal_Bool SAL_CALL ODatabaseDocument::wasModifiedSinceLastSave() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return false; @@ -917,7 +917,7 @@ void SAL_CALL ODatabaseDocument::setCurrentController( const Reference< XControl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1442,7 +1442,7 @@ void ODatabaseDocument::impl_closeControllerFrames_nolck_throw( bool _bDeliverOw catch( const CloseVetoException& ) { throw; } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1463,7 +1463,7 @@ void ODatabaseDocument::impl_disposeControllerFrames_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1687,7 +1687,7 @@ void ODatabaseDocument::impl_writeStorage_throw( const Reference< XStorage >& _r } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } m_pImpl->storeLibraryContainersTo( _rxTargetStorage ); diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx index 3a4d317b54e7..93e498288fb2 100644 --- a/dbaccess/source/core/dataaccess/datasource.cxx +++ b/dbaccess/source/core/dataaccess/datasource.cxx @@ -881,7 +881,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -988,7 +988,7 @@ void ODatabaseSource::getFastPropertyValue( Any& rValue, sal_Int32 nHandle ) con } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } break; @@ -1095,7 +1095,7 @@ Reference< XConnection > ODatabaseSource::connectWithCompletion( const Reference } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if (!pAuthenticate->wasSelected()) @@ -1252,7 +1252,7 @@ void SAL_CALL ODatabaseSource::flush( ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/dataaccess/definitioncontainer.cxx b/dbaccess/source/core/dataaccess/definitioncontainer.cxx index 7faf8186989f..c173226b9945 100644 --- a/dbaccess/source/core/dataaccess/definitioncontainer.cxx +++ b/dbaccess/source/core/dataaccess/definitioncontainer.cxx @@ -622,7 +622,7 @@ void SAL_CALL ODefinitionContainer::propertyChange( const PropertyChangeEvent& e } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); throw RuntimeException(); } m_bInPropertyChange = false; diff --git a/dbaccess/source/core/dataaccess/documentdefinition.cxx b/dbaccess/source/core/dataaccess/documentdefinition.cxx index 67397008486d..b48f27ba0144 100644 --- a/dbaccess/source/core/dataaccess/documentdefinition.cxx +++ b/dbaccess/source/core/dataaccess/documentdefinition.cxx @@ -151,7 +151,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sContentType; } @@ -390,7 +390,7 @@ OUString ODocumentDefinition::GetDocumentServiceFromMediaType( const OUString& _ } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sResult; } @@ -602,7 +602,7 @@ void ODocumentDefinition::impl_onActivateEmbeddedObject_nothrow( const bool i_bR } catch( const RuntimeException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -724,7 +724,7 @@ void ODocumentDefinition::impl_initFormEditView( const Reference< XController >& } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1109,7 +1109,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // if the element is a container itself, step down the component hierarchy @@ -1134,7 +1134,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1358,7 +1358,7 @@ void ODocumentDefinition::saveAs() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } Reference<XEmbedPersist> xPersist(m_xEmbeddedObject,UNO_QUERY); @@ -1662,7 +1662,7 @@ void ODocumentDefinition::loadEmbeddedObject( const Reference< XConnection >& i_ } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1681,7 +1681,7 @@ void ODocumentDefinition::loadEmbeddedObject( const Reference< XConnection >& i_ } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1732,7 +1732,7 @@ void ODocumentDefinition::onCommandGetDocumentProperties( Any& _rProps ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1996,7 +1996,7 @@ bool ODocumentDefinition::prepareClose() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return true; @@ -2019,7 +2019,7 @@ void ODocumentDefinition::fillReportData( const Reference< XComponentContext >& } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/dataaccess/documenteventexecutor.cxx b/dbaccess/source/core/dataaccess/documenteventexecutor.cxx index 2a4bce63bf8d..2519137a0dae 100644 --- a/dbaccess/source/core/dataaccess/documenteventexecutor.cxx +++ b/dbaccess/source/core/dataaccess/documenteventexecutor.cxx @@ -129,7 +129,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -185,7 +185,7 @@ namespace dbaccess catch( const RuntimeException& ) { throw; } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/dataaccess/documenteventnotifier.cxx b/dbaccess/source/core/dataaccess/documenteventnotifier.cxx index e188c4f9b2c8..16b46ad6ddf8 100644 --- a/dbaccess/source/core/dataaccess/documenteventnotifier.cxx +++ b/dbaccess/source/core/dataaccess/documenteventnotifier.cxx @@ -189,7 +189,7 @@ namespace dbaccess } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } try { @@ -197,7 +197,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/dataaccess/intercept.cxx b/dbaccess/source/core/dataaccess/intercept.cxx index 6a0bc7b18485..c54dc9ee95a1 100644 --- a/dbaccess/source/core/dataaccess/intercept.cxx +++ b/dbaccess/source/core/dataaccess/intercept.cxx @@ -189,7 +189,7 @@ IMPL_LINK( OInterceptor, OnDispatch, void*, _pDispatcher, void ) } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/misc/ContainerMediator.cxx b/dbaccess/source/core/misc/ContainerMediator.cxx index 84532b7ab9a1..7566a935f101 100644 --- a/dbaccess/source/core/misc/ContainerMediator.cxx +++ b/dbaccess/source/core/misc/ContainerMediator.cxx @@ -91,7 +91,7 @@ void OContainerMediator::impl_cleanup_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -128,7 +128,7 @@ void SAL_CALL OContainerMediator::elementRemoved( const ContainerEvent& _rEvent } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -157,7 +157,7 @@ void SAL_CALL OContainerMediator::elementReplaced( const ContainerEvent& _rEvent } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } aFind->second->setName(sNewName); @@ -184,7 +184,7 @@ void OContainerMediator::impl_initSettings_nothrow( const OUString& _rName, cons } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -223,7 +223,7 @@ void OContainerMediator::notifyElementCreated( const OUString& _sName, const Ref } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } ::rtl::Reference< OPropertyForward > pForward( new OPropertyForward( _xDest, m_xSettings, _sName, aPropertyList ) ); diff --git a/dbaccess/source/core/misc/DatabaseDataProvider.cxx b/dbaccess/source/core/misc/DatabaseDataProvider.cxx index 50bc73bb52f4..b3d151c73cfd 100644 --- a/dbaccess/source/core/misc/DatabaseDataProvider.cxx +++ b/dbaccess/source/core/misc/DatabaseDataProvider.cxx @@ -202,7 +202,7 @@ uno::Reference< chart2::data::XDataSource > SAL_CALL DatabaseDataProvider::creat } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } ::comphelper::NamedValueCollection aArgs( _aArguments ); diff --git a/dbaccess/source/core/misc/PropertyForward.cxx b/dbaccess/source/core/misc/PropertyForward.cxx index 6d3527685981..137528fb7b71 100644 --- a/dbaccess/source/core/misc/PropertyForward.cxx +++ b/dbaccess/source/core/misc/PropertyForward.cxx @@ -59,7 +59,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } osl_atomic_decrement( &m_refCount ); } @@ -106,7 +106,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -139,7 +139,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/misc/sdbcoretools.cxx b/dbaccess/source/core/misc/sdbcoretools.cxx index 96570276f6f9..8ab5c1f12017 100644 --- a/dbaccess/source/core/misc/sdbcoretools.cxx +++ b/dbaccess/source/core/misc/sdbcoretools.cxx @@ -90,7 +90,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( sDisplayMessage.isEmpty() ) @@ -124,7 +124,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return ( nMode & ElementModes::WRITE ) != 0; } diff --git a/dbaccess/source/core/recovery/dbdocrecovery.cxx b/dbaccess/source/core/recovery/dbdocrecovery.cxx index 8e91ddeea5ef..f58e284d7b3f 100644 --- a/dbaccess/source/core/recovery/dbdocrecovery.cxx +++ b/dbaccess/source/core/recovery/dbdocrecovery.cxx @@ -341,7 +341,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/core/recovery/subcomponentloader.cxx b/dbaccess/source/core/recovery/subcomponentloader.cxx index 2a6ee1cf9495..b48521862d51 100644 --- a/dbaccess/source/core/recovery/subcomponentloader.cxx +++ b/dbaccess/source/core/recovery/subcomponentloader.cxx @@ -107,7 +107,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } mxAppComponentWindow->removeWindowListener( this ); } diff --git a/dbaccess/source/core/recovery/subcomponentrecovery.cxx b/dbaccess/source/core/recovery/subcomponentrecovery.cxx index 3e8dbea7a63a..2c78afa25447 100644 --- a/dbaccess/source/core/recovery/subcomponentrecovery.cxx +++ b/dbaccess/source/core/recovery/subcomponentrecovery.cxx @@ -155,7 +155,7 @@ namespace dbaccess } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xCommandProcessor; } diff --git a/dbaccess/source/ext/macromigration/macromigrationdialog.cxx b/dbaccess/source/ext/macromigration/macromigrationdialog.cxx index 4edd380f1a63..1ba8a0f850be 100644 --- a/dbaccess/source/ext/macromigration/macromigrationdialog.cxx +++ b/dbaccess/source/ext/macromigration/macromigrationdialog.cxx @@ -331,7 +331,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); bSuccess = false; } @@ -363,7 +363,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bEqual; } @@ -530,7 +530,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // close all frames from aViews - the respective controllers have been closed, but @@ -544,7 +544,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } aViews.clear(); diff --git a/dbaccess/source/ext/macromigration/macromigrationpages.cxx b/dbaccess/source/ext/macromigration/macromigrationpages.cxx index 143ee0a142a5..e0caf2c19e1d 100644 --- a/dbaccess/source/ext/macromigration/macromigrationpages.cxx +++ b/dbaccess/source/ext/macromigration/macromigrationpages.cxx @@ -134,7 +134,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ext/macromigration/migrationengine.cxx b/dbaccess/source/ext/macromigration/migrationengine.cxx index 75741516a5de..1c4c26f435cd 100644 --- a/dbaccess/source/ext/macromigration/migrationengine.cxx +++ b/dbaccess/source/ext/macromigration/migrationengine.cxx @@ -238,7 +238,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sMimeType; } @@ -406,7 +406,7 @@ namespace dbmm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); return false; } return true; diff --git a/dbaccess/source/filter/xml/dbloader2.cxx b/dbaccess/source/filter/xml/dbloader2.cxx index 801680548972..410c3cfa501e 100644 --- a/dbaccess/source/filter/xml/dbloader2.cxx +++ b/dbaccess/source/filter/xml/dbloader2.cxx @@ -169,7 +169,7 @@ OUString SAL_CALL DBTypeDetection::detect( css::uno::Sequence< css::beans::Prope } catch( Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -479,7 +479,7 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); bSuccess = false; } } @@ -501,7 +501,7 @@ void SAL_CALL DBContentLoader::load(const Reference< XFrame > & rFrame, const OU } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); bSuccess = false; } } diff --git a/dbaccess/source/filter/xml/xmlComponent.cxx b/dbaccess/source/filter/xml/xmlComponent.cxx index 430e05ec9bea..7f928ab12877 100644 --- a/dbaccess/source/filter/xml/xmlComponent.cxx +++ b/dbaccess/source/filter/xml/xmlComponent.cxx @@ -97,7 +97,7 @@ OXMLComponent::OXMLComponent( ODBFilter& rImport } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/filter/xml/xmlConnectionResource.cxx b/dbaccess/source/filter/xml/xmlConnectionResource.cxx index 1a27be23d25a..b1e7e36b6dd8 100644 --- a/dbaccess/source/filter/xml/xmlConnectionResource.cxx +++ b/dbaccess/source/filter/xml/xmlConnectionResource.cxx @@ -67,7 +67,7 @@ OXMLConnectionResource::OXMLConnectionResource( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } break; case XML_TOK_TYPE: diff --git a/dbaccess/source/filter/xml/xmlDataSource.cxx b/dbaccess/source/filter/xml/xmlDataSource.cxx index f6877bb103e7..6d67763b4b20 100644 --- a/dbaccess/source/filter/xml/xmlDataSource.cxx +++ b/dbaccess/source/filter/xml/xmlDataSource.cxx @@ -78,7 +78,7 @@ OXMLDataSource::OXMLDataSource( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } break; case XML_TOK_SUPPRESS_VERSION_COLUMNS: @@ -89,7 +89,7 @@ OXMLDataSource::OXMLDataSource( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } break; case XML_TOK_JAVA_DRIVER_CLASS: @@ -193,7 +193,7 @@ OXMLDataSource::OXMLDataSource( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/filter/xml/xmlExport.cxx b/dbaccess/source/filter/xml/xmlExport.cxx index 29ecde32b0ce..394e01ecb96e 100644 --- a/dbaccess/source/filter/xml/xmlExport.cxx +++ b/dbaccess/source/filter/xml/xmlExport.cxx @@ -480,7 +480,7 @@ void ODBExport::exportDataSource() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -622,7 +622,7 @@ void ODBExport::exportConnectionData() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } SvXMLElementExport aServerDB(*this,XML_NAMESPACE_DB, XML_SERVER_DATABASE, true, true); @@ -1022,7 +1022,7 @@ void ODBExport::exportColumns(const Reference<XColumnsSupplier>& _xColSup) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1161,7 +1161,7 @@ void ODBExport::exportAutoStyle(XPropertySet* _xProp) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_aCurrentPropertyStates.clear(); } diff --git a/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx b/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx index af2b7061106f..8afd0c9190bd 100644 --- a/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx +++ b/dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx @@ -106,7 +106,7 @@ OXMLFileBasedDatabase::OXMLFileBasedDatabase( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/filter/xml/xmlLogin.cxx b/dbaccess/source/filter/xml/xmlLogin.cxx index 1fc9b41e0c7b..d747ef801f55 100644 --- a/dbaccess/source/filter/xml/xmlLogin.cxx +++ b/dbaccess/source/filter/xml/xmlLogin.cxx @@ -72,7 +72,7 @@ OXMLLogin::OXMLLogin( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } break; @@ -83,7 +83,7 @@ OXMLLogin::OXMLLogin( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } break; case XML_TOK_USE_SYSTEM_USER: @@ -103,14 +103,14 @@ OXMLLogin::OXMLLogin( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } break; } } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/filter/xml/xmlServerDatabase.cxx b/dbaccess/source/filter/xml/xmlServerDatabase.cxx index 9e2dc236e8f8..7ce8a7e3ff9a 100644 --- a/dbaccess/source/filter/xml/xmlServerDatabase.cxx +++ b/dbaccess/source/filter/xml/xmlServerDatabase.cxx @@ -130,7 +130,7 @@ OXMLServerDatabase::OXMLServerDatabase( ODBFilter& rImport, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx index 2fcbb3dc365c..2be57bf4343a 100644 --- a/dbaccess/source/filter/xml/xmlfilter.cxx +++ b/dbaccess/source/filter/xml/xmlfilter.cxx @@ -128,7 +128,7 @@ ErrCode ReadThroughComponent( } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // success! @@ -924,7 +924,7 @@ void ODBFilter::setPropertyInfo() } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/sdbtools/connection/tablename.cxx b/dbaccess/source/sdbtools/connection/tablename.cxx index 9cb85bdc9760..c3ceb906b052 100644 --- a/dbaccess/source/sdbtools/connection/tablename.cxx +++ b/dbaccess/source/sdbtools/connection/tablename.cxx @@ -133,7 +133,7 @@ namespace sdbtools catch( const NoSuchElementException& ) { throw; } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); throw NoSuchElementException(); } diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index 8dcdc3d876f2..e07cf2aea470 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -311,7 +311,7 @@ void OApplicationController::disconnect() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_xDataSourceConnection.clear(); @@ -402,7 +402,7 @@ void SAL_CALL OApplicationController::disposing() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } clearView(); @@ -927,7 +927,7 @@ FeatureState OApplicationController::GetState(sal_uInt16 _nId) const } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return aReturn; } @@ -953,7 +953,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } bHandled = pApprove->wasSelected(); @@ -1376,7 +1376,7 @@ void OApplicationController::Execute(sal_uInt16 _nId, const Sequence< PropertyVa } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } InvalidateFeature(_nId); } @@ -1607,7 +1607,7 @@ void SAL_CALL OApplicationController::elementReplaced( const ContainerEvent& _rE } catch( Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1727,7 +1727,7 @@ bool OApplicationController::onEntryDoubleClick( SvTreeListBox const & _rTree ) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } return false; // not handled @@ -1753,7 +1753,7 @@ bool OApplicationController::impl_isAlterableView_nothrow( const OUString& _rTab } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bIsAlterableView; } @@ -1996,7 +1996,7 @@ void OApplicationController::addContainerListener(const Reference<XNameAccess>& } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2137,7 +2137,7 @@ void OApplicationController::renameEntry() } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } else @@ -2148,7 +2148,7 @@ void OApplicationController::renameEntry() } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2215,7 +2215,7 @@ void OApplicationController::showPreviewFor(const ElementType _eType,const OUStr } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2311,7 +2311,7 @@ bool OApplicationController::requestDrag( sal_Int8 /*_nAction*/, const Point& /* } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2483,7 +2483,7 @@ void OApplicationController::onAttachedFrame() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( nConnectedControllers > 1 ) @@ -2536,7 +2536,7 @@ void OApplicationController::OnFirstControllerConnected() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2590,7 +2590,7 @@ sal_Bool SAL_CALL OApplicationController::attachModel(const Reference< XModel > } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_xModel = _rxModel; @@ -2613,7 +2613,7 @@ sal_Bool SAL_CALL OApplicationController::attachModel(const Reference< XModel > } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // initial preview mode @@ -2633,7 +2633,7 @@ sal_Bool SAL_CALL OApplicationController::attachModel(const Reference< XModel > } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2652,7 +2652,7 @@ void OApplicationController::containerFound( const Reference< XContainer >& _xCo } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -2671,7 +2671,7 @@ OUString OApplicationController::getCurrentlySelectedName(sal_Int32& _rnCommandT } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } return sName; @@ -2842,7 +2842,7 @@ void OApplicationController::impl_migrateScripts_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/app/AppControllerDnD.cxx b/dbaccess/source/ui/app/AppControllerDnD.cxx index 928a67378a6b..238dcf83ebce 100644 --- a/dbaccess/source/ui/app/AppControllerDnD.cxx +++ b/dbaccess/source/ui/app/AppControllerDnD.cxx @@ -161,7 +161,7 @@ void OApplicationController::deleteTables(const std::vector< OUString>& _rList) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( aErrorInfo.isValid() ) @@ -272,7 +272,7 @@ void OApplicationController::deleteObjects( ElementType _eType, const std::vecto } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -385,7 +385,7 @@ const SharedConnection& OApplicationController::ensureConnection( ::dbtools::SQL } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( aError.isValid() ) { @@ -422,7 +422,7 @@ bool OApplicationController::isConnectionReadOnly() const } catch(const SQLException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } // TODO check configuration @@ -472,7 +472,7 @@ Reference< XNameAccess > OApplicationController::getElements( ElementType _eType } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xElements; @@ -569,7 +569,7 @@ TransferableHelper* OApplicationController::copyObject() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return nullptr; } @@ -626,7 +626,7 @@ bool OApplicationController::paste( ElementType _eType, const svx::ODataAccessDe } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } Reference< XPropertySet > xQuery; @@ -650,7 +650,7 @@ bool OApplicationController::paste( ElementType _eType, const svx::ODataAccessDe catch(SQLException&) { throw; } // caught and handled by the outer catch catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if (!bSuccess) @@ -754,7 +754,7 @@ bool OApplicationController::paste( ElementType _eType, const svx::ODataAccessDe catch(const SQLException&) { showError( SQLExceptionInfo( ::cppu::getCaughtException() ) ); } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return false; } diff --git a/dbaccess/source/ui/app/AppControllerGen.cxx b/dbaccess/source/ui/app/AppControllerGen.cxx index fa367c373862..ef04d8c05932 100644 --- a/dbaccess/source/ui/app/AppControllerGen.cxx +++ b/dbaccess/source/ui/app/AppControllerGen.cxx @@ -129,7 +129,7 @@ void OApplicationController::convertToView(const OUString& _sName) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -151,7 +151,7 @@ void OApplicationController::pasteFormat(SotClipboardFormatId _nFormatId) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -212,7 +212,7 @@ void OApplicationController::openDialog( const OUString& _sServiceName ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -501,7 +501,7 @@ void OApplicationController::previewChanged( sal_Int32 _nMode ) } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } InvalidateFeature(SID_DB_APP_DISABLE_PREVIEW); @@ -554,7 +554,7 @@ OUString OApplicationController::getDatabaseName() const } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sDatabaseName; } @@ -585,7 +585,7 @@ void OApplicationController::onDocumentOpened( const OUString& _rName, const sal } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -720,7 +720,7 @@ void OApplicationController::doAction(sal_uInt16 _nId, const ElementOpenMode _eO } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } if ( !aSendMail.IsEmpty() ) diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx index ab5e48ca90d4..082d23a652e6 100644 --- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx +++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx @@ -1065,7 +1065,7 @@ void OAppDetailPageHelper::showPreview(const Reference< XContent >& _xContent) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/app/AppView.cxx b/dbaccess/source/ui/app/AppView.cxx index 712d962a9167..d4ebeed87eae 100644 --- a/dbaccess/source/ui/app/AppView.cxx +++ b/dbaccess/source/ui/app/AppView.cxx @@ -513,7 +513,7 @@ void OApplicationView::showPreview( const OUString& _sDataSourceName, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( m_xObject.is() ) startComponentListening(m_xObject); diff --git a/dbaccess/source/ui/app/subcomponentmanager.cxx b/dbaccess/source/ui/app/subcomponentmanager.cxx index 493339887d9c..c6d1bb33085c 100644 --- a/dbaccess/source/ui/app/subcomponentmanager.cxx +++ b/dbaccess/source/ui/app/subcomponentmanager.cxx @@ -279,7 +279,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bSuccess; } @@ -306,7 +306,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bSuccess; } @@ -325,7 +325,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -434,7 +434,7 @@ namespace dbaui } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return empty(); 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(), diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx index 25d31684b8ae..58d8fd4209e3 100644 --- a/dbaccess/source/ui/control/FieldDescControl.cxx +++ b/dbaccess/source/ui/control/FieldDescControl.cxx @@ -806,7 +806,7 @@ void OFieldDescControl::ActivateAggregate( EControlType eType ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pColumnNameText = CreateText(STR_TAB_FIELD_NAME); m_pColumnName = VclPtr<OPropColumnEditCtrl>::Create( this, diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx index ad2ea0ba783d..e83532d7eb46 100644 --- a/dbaccess/source/ui/control/RelationControl.cxx +++ b/dbaccess/source/ui/control/RelationControl.cxx @@ -374,7 +374,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } void ORelationControl::setWindowTables(const OTableWindow* _pSource,const OTableWindow* _pDest) diff --git a/dbaccess/source/ui/control/tabletree.cxx b/dbaccess/source/ui/control/tabletree.cxx index 8ee5c648d37f..15a86f47f131 100644 --- a/dbaccess/source/ui/control/tabletree.cxx +++ b/dbaccess/source/ui/control/tabletree.cxx @@ -214,7 +214,7 @@ void OTableTreeListBox::UpdateTableList( } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } UpdateTableList( _rxConnection, aTables ); } @@ -304,7 +304,7 @@ void OTableTreeListBox::UpdateTableList( const Reference< XConnection >& _rxConn } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -510,7 +510,7 @@ SvTreeListEntry* OTableTreeListBox::addedTable( const OUString& _rName ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return nullptr; } @@ -563,7 +563,7 @@ OUString OTableTreeListBox::getQualifiedTableName( SvTreeListEntry* _pEntry ) co } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return OUString(); } @@ -601,7 +601,7 @@ SvTreeListEntry* OTableTreeListBox::getEntryByQualifiedName( const OUString& _rN } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return nullptr; } @@ -616,7 +616,7 @@ void OTableTreeListBox::removedTable( const OUString& _rName ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/dlg/CollectionView.cxx b/dbaccess/source/ui/dlg/CollectionView.cxx index a13aafa9b987..6c75204f17d4 100644 --- a/dbaccess/source/ui/dlg/CollectionView.cxx +++ b/dbaccess/source/ui/dlg/CollectionView.cxx @@ -187,7 +187,7 @@ IMPL_LINK_NOARG(OCollectionView, Save_Click, Button*, void) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -205,7 +205,7 @@ IMPL_LINK_NOARG(OCollectionView, NewFolder_Click, Button*, void) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -229,7 +229,7 @@ IMPL_LINK_NOARG(OCollectionView, Up_Click, Button*, void) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -259,7 +259,7 @@ IMPL_LINK_NOARG(OCollectionView, Dbl_Click_FileView, SvTreeListBox*, bool) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return false; } @@ -288,7 +288,7 @@ void OCollectionView::initCurrentPath() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pUp->Enable(bEnable); } diff --git a/dbaccess/source/ui/dlg/ConnectionHelper.cxx b/dbaccess/source/ui/dlg/ConnectionHelper.cxx index e2c0f4c47903..9cdbf996afc1 100644 --- a/dbaccess/source/ui/dlg/ConnectionHelper.cxx +++ b/dbaccess/source/ui/dlg/ConnectionHelper.cxx @@ -208,7 +208,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } break; @@ -651,7 +651,7 @@ namespace dbaui } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); return false; } diff --git a/dbaccess/source/ui/dlg/DbAdminImpl.cxx b/dbaccess/source/ui/dlg/DbAdminImpl.cxx index be9102c5e922..3f89b70a3845 100644 --- a/dbaccess/source/ui/dlg/DbAdminImpl.cxx +++ b/dbaccess/source/ui/dlg/DbAdminImpl.cxx @@ -294,7 +294,7 @@ bool ODbDataSourceAdministrationHelper::getCurrentSettings(Sequence< PropertyVal } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if (!pAuthenticate->wasSelected()) return false; diff --git a/dbaccess/source/ui/dlg/RelationDlg.cxx b/dbaccess/source/ui/dlg/RelationDlg.cxx index 74671499048b..8229d53ea92e 100644 --- a/dbaccess/source/ui/dlg/RelationDlg.cxx +++ b/dbaccess/source/ui/dlg/RelationDlg.cxx @@ -206,7 +206,7 @@ IMPL_LINK_NOARG( ORelationDialog, OKClickHdl, Button*, void ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_bTriedOneUpdate = true; diff --git a/dbaccess/source/ui/dlg/UserAdminDlg.cxx b/dbaccess/source/ui/dlg/UserAdminDlg.cxx index 59b7303aeb4c..37a1db875882 100644 --- a/dbaccess/source/ui/dlg/UserAdminDlg.cxx +++ b/dbaccess/source/ui/dlg/UserAdminDlg.cxx @@ -112,7 +112,7 @@ namespace dbaui } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } short nRet = SfxTabDialog::Execute(); if ( nRet == RET_OK ) diff --git a/dbaccess/source/ui/dlg/adtabdlg.cxx b/dbaccess/source/ui/dlg/adtabdlg.cxx index 8a97b5b0a915..ddee752f5376 100644 --- a/dbaccess/source/ui/dlg/adtabdlg.cxx +++ b/dbaccess/source/ui/dlg/adtabdlg.cxx @@ -126,7 +126,7 @@ OUString TableListFacade::getSelectedName( OUString& _out_rAliasName ) const } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } _out_rAliasName = aTableName; @@ -210,7 +210,7 @@ void TableListFacade::updateTableObjectList( bool _bAllowViews ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -295,7 +295,7 @@ void QueryListFacade::updateTableObjectList( bool /*_bAllowViews*/ ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/dlg/dbwizsetup.cxx b/dbaccess/source/ui/dlg/dbwizsetup.cxx index 2f216bcfb78b..03a2e67d7092 100644 --- a/dbaccess/source/ui/dlg/dbwizsetup.cxx +++ b/dbaccess/source/ui/dlg/dbwizsetup.cxx @@ -897,7 +897,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -911,7 +911,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument() if ( m_xDesktop.is() ) m_xDesktop->addTerminateListener( this ); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_aAsyncCaller.Call(); } @@ -947,7 +947,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument() if ( m_xDesktop.is() ) m_xDesktop->removeTerminateListener( this ); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } release(); } @@ -984,7 +984,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return true; diff --git a/dbaccess/source/ui/dlg/directsql.cxx b/dbaccess/source/ui/dlg/directsql.cxx index 7ca010ee3228..6cab0eaa90d1 100644 --- a/dbaccess/source/ui/dlg/directsql.cxx +++ b/dbaccess/source/ui/dlg/directsql.cxx @@ -244,7 +244,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // add the status text diff --git a/dbaccess/source/ui/dlg/dlgsave.cxx b/dbaccess/source/ui/dlg/dlgsave.cxx index 3b67391c0129..95b25438be29 100644 --- a/dbaccess/source/ui/dlg/dlgsave.cxx +++ b/dbaccess/source/ui/dlg/dlgsave.cxx @@ -163,7 +163,7 @@ void lcl_fillComboList( ComboBox& _rList, const Reference< XConnection >& _rxCon else _rList.SelectEntryPos( 0 ); } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/dlg/paramdialog.cxx b/dbaccess/source/ui/dlg/paramdialog.cxx index c857ab8f387e..36aa35494d20 100644 --- a/dbaccess/source/ui/dlg/paramdialog.cxx +++ b/dbaccess/source/ui/dlg/paramdialog.cxx @@ -100,7 +100,7 @@ namespace dbaui } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } Construct(); @@ -195,7 +195,7 @@ namespace dbaui } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } OUString sMessage(DBA_RES(STR_COULD_NOT_CONVERT_PARAM)); @@ -253,7 +253,7 @@ namespace dbaui } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/dlg/queryfilter.cxx b/dbaccess/source/ui/dlg/queryfilter.cxx index 5a2a7ba3e33c..e8212deaf39c 100644 --- a/dbaccess/source/ui/dlg/queryfilter.cxx +++ b/dbaccess/source/ui/dlg/queryfilter.cxx @@ -131,7 +131,7 @@ DlgFilterCrit::DlgFilterCrit(vcl::Window * pParent, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pLB_WHEREFIELD1->InsertEntry( *pIter ); m_pLB_WHEREFIELD2->InsertEntry( *pIter ); @@ -407,7 +407,7 @@ Reference< XPropertySet > DlgFilterCrit::getColumn( const OUString& _rFieldName } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xColumn; @@ -424,7 +424,7 @@ Reference< XPropertySet > DlgFilterCrit::getQueryColumn( const OUString& _rField } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xColumn; @@ -782,7 +782,7 @@ void DlgFilterCrit::BuildWherePart() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/dlg/queryorder.cxx b/dbaccess/source/ui/dlg/queryorder.cxx index ebb78f2b89f6..16962ea0e0bb 100644 --- a/dbaccess/source/ui/dlg/queryorder.cxx +++ b/dbaccess/source/ui/dlg/queryorder.cxx @@ -118,7 +118,7 @@ DlgOrderCrit::DlgOrderCrit(vcl::Window * pParent, } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } EnableLines(); @@ -177,7 +177,7 @@ void DlgOrderCrit::impl_initializeOrderList_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/dlg/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx index d45860e4e6a8..2f4b76e46db6 100644 --- a/dbaccess/source/ui/dlg/tablespage.cxx +++ b/dbaccess/source/ui/dlg/tablespage.cxx @@ -251,7 +251,7 @@ namespace dbaui } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -338,7 +338,7 @@ namespace dbaui } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/misc/DExport.cxx b/dbaccess/source/ui/misc/DExport.cxx index 09776126679d..7d01589458d5 100644 --- a/dbaccess/source/ui/misc/DExport.cxx +++ b/dbaccess/source/ui/misc/DExport.cxx @@ -735,7 +735,7 @@ bool ODatabaseExport::executeWizard(const OUString& _rTableName, const Any& _aTe } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bError; diff --git a/dbaccess/source/ui/misc/TableCopyHelper.cxx b/dbaccess/source/ui/misc/TableCopyHelper.cxx index a3cc4546c196..1c9f5118fe62 100644 --- a/dbaccess/source/ui/misc/TableCopyHelper.cxx +++ b/dbaccess/source/ui/misc/TableCopyHelper.cxx @@ -130,7 +130,7 @@ void OTableCopyHelper::insertTable( const OUString& i_rSourceDataSource, const R } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -213,7 +213,7 @@ void OTableCopyHelper::pasteTable( SotClipboardFormatId _nFormatId } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } else diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index ab9e5b29be22..e38be526a494 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -838,7 +838,7 @@ void OHTMLImportExport::WriteTables() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } WriteCell(pFormat[i-1],pColWidth[i-1],nHeight,pHorJustify[i-1],aValue,OOO_STRING_SVTOOLS_HTML_tabledata); } diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx index 8f48e784d4ab..fec1afc95b63 100644 --- a/dbaccess/source/ui/misc/UITools.cxx +++ b/dbaccess/source/ui/misc/UITools.cxx @@ -241,7 +241,7 @@ Reference< XDataSource > getDataSourceByName( const OUString& _rDataSourceName, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( xDatasource.is() ) @@ -773,7 +773,7 @@ void callColumnFormatDialog(const Reference<XPropertySet>& xAffectedCol, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -1068,7 +1068,7 @@ OUString getStrippedDatabaseName(const Reference<XPropertySet>& _xDataSource,OUS } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } OUString sName = _rsDatabaseName; @@ -1224,7 +1224,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sSDBCLevelStatement; } @@ -1387,7 +1387,7 @@ bool insertHierachyElement( vcl::Window* _pParent, const Reference< XComponentCo } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); return false; } @@ -1412,7 +1412,7 @@ Reference< XNumberFormatter > getNumberFormatter(const Reference< XConnection >& } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xFormatter; } diff --git a/dbaccess/source/ui/misc/WCopyTable.cxx b/dbaccess/source/ui/misc/WCopyTable.cxx index 191708821273..fe5b66048327 100644 --- a/dbaccess/source/ui/misc/WCopyTable.cxx +++ b/dbaccess/source/ui/misc/WCopyTable.cxx @@ -129,7 +129,7 @@ bool ObjectCopySource::isView() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bIsView; } @@ -285,7 +285,7 @@ bool NamedTableCopySource::isView() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sTableType == "VIEW"; } @@ -360,7 +360,7 @@ Sequence< OUString > NamedTableCopySource::getPrimaryKeyColumnNames() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return aPKColNames; @@ -1327,13 +1327,13 @@ bool OCopyTableWizard::supportsViews( const Reference< XConnection >& _rxConnect } catch( const SQLException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bSupportsViews; } @@ -1350,7 +1350,7 @@ sal_Int32 OCopyTableWizard::getMaxColumnNameLength() const } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } return nLen; @@ -1554,7 +1554,7 @@ void OCopyTableWizard::showError(const Any& _aError) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/misc/WTypeSelect.cxx b/dbaccess/source/ui/misc/WTypeSelect.cxx index 4507c4f7c8c2..1ac0fe566412 100644 --- a/dbaccess/source/ui/misc/WTypeSelect.cxx +++ b/dbaccess/source/ui/misc/WTypeSelect.cxx @@ -249,7 +249,7 @@ OWizTypeSelect::OWizTypeSelect( vcl::Window* pParent, SvStream* _pStream ) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/misc/asyncmodaldialog.cxx b/dbaccess/source/ui/misc/asyncmodaldialog.cxx index eb704b4dd9b2..2f1b3e27b194 100644 --- a/dbaccess/source/ui/misc/asyncmodaldialog.cxx +++ b/dbaccess/source/ui/misc/asyncmodaldialog.cxx @@ -65,7 +65,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } delete this; diff --git a/dbaccess/source/ui/misc/controllerframe.cxx b/dbaccess/source/ui/misc/controllerframe.cxx index 006f0ed9cee6..93361c7a74fc 100644 --- a/dbaccess/source/ui/misc/controllerframe.cxx +++ b/dbaccess/source/ui/misc/controllerframe.cxx @@ -142,7 +142,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -160,7 +160,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return bIsActive; } @@ -195,7 +195,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -214,7 +214,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -270,7 +270,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/misc/databaseobjectview.cxx b/dbaccess/source/ui/misc/databaseobjectview.cxx index 3d795f4ec134..d21365727fab 100644 --- a/dbaccess/source/ui/misc/databaseobjectview.cxx +++ b/dbaccess/source/ui/misc/databaseobjectview.cxx @@ -146,7 +146,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } return xReturn; @@ -237,7 +237,7 @@ namespace dbaui if ( xDialog.is() ) { try { AsyncDialogExecutor::executeModalDialogAsync( xDialog ); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } return nullptr; } @@ -257,7 +257,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xDesigner; } diff --git a/dbaccess/source/ui/misc/datasourceconnector.cxx b/dbaccess/source/ui/misc/datasourceconnector.cxx index dbb566b9832e..0496a4edded4 100644 --- a/dbaccess/source/ui/misc/datasourceconnector.cxx +++ b/dbaccess/source/ui/misc/datasourceconnector.cxx @@ -111,7 +111,7 @@ namespace dbaui } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // try to connect @@ -145,7 +145,7 @@ namespace dbaui } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( !aInfo.isValid() ) @@ -172,7 +172,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx index 4c9b1cb156d6..136e83014e5a 100644 --- a/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx +++ b/dbaccess/source/ui/misc/dbsubcomponentcontroller.cxx @@ -287,7 +287,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -498,7 +498,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xMeta; } diff --git a/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx b/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx index d94f5c39c1aa..f96751c0a07b 100644 --- a/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx +++ b/dbaccess/source/ui/misc/defaultobjectnamecheck.cxx @@ -107,7 +107,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } lcl_fillNameExistsError( _rObjectName, _out_rErrorToDisplay ); diff --git a/dbaccess/source/ui/misc/imageprovider.cxx b/dbaccess/source/ui/misc/imageprovider.cxx index bcf7832a749e..681913977e97 100644 --- a/dbaccess/source/ui/misc/imageprovider.cxx +++ b/dbaccess/source/ui/misc/imageprovider.cxx @@ -69,7 +69,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -91,7 +91,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -115,7 +115,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/misc/indexcollection.cxx b/dbaccess/source/ui/misc/indexcollection.cxx index 76e6176f0866..1ae2d2696cd3 100644 --- a/dbaccess/source/ui/misc/indexcollection.cxx +++ b/dbaccess/source/ui/misc/indexcollection.cxx @@ -173,7 +173,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -198,7 +198,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); return false; } @@ -300,7 +300,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/misc/linkeddocuments.cxx b/dbaccess/source/ui/misc/linkeddocuments.cxx index 6c4510f086dc..778d838f0443 100644 --- a/dbaccess/source/ui/misc/linkeddocuments.cxx +++ b/dbaccess/source/ui/misc/linkeddocuments.cxx @@ -197,7 +197,7 @@ namespace dbaui } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } void OLinkedDocumentsAccess::newFormWithPilot( const sal_Int32 _nCommandType,const OUString& _rObjectName ) @@ -297,7 +297,7 @@ namespace dbaui } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return xNewDocument; diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx index 87553e1f981a..bc17f6b6b589 100644 --- a/dbaccess/source/ui/querydesign/JoinTableView.cxx +++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx @@ -300,7 +300,7 @@ TTableWindowData::value_type OJoinTableView::createTableWindowData(const OUStrin } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return pData; } diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx index f18129a85a18..60d0d92c148e 100644 --- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx +++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx @@ -155,7 +155,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -371,7 +371,7 @@ namespace } catch(const SQLException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } return aDBName; @@ -3070,7 +3070,7 @@ bool OQueryDesignView::initByParseIterator( ::dbtools::SQLExceptionInfo* _pError } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return eErrorCode == eOk; } diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx index a424fabdf54d..bf149bba7c23 100644 --- a/dbaccess/source/ui/querydesign/QueryTableView.cxx +++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx @@ -523,7 +523,7 @@ void OQueryTableView::AddTabWin(const OUString& _rComposedName, const OUString& } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } while ( false ); diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index a73c986b9eae..a7fa6a8d9fa6 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -639,7 +639,7 @@ void OQueryController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >& } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( aError.isValid() ) @@ -1007,7 +1007,7 @@ void OQueryController::impl_initialize() } catch(const SQLException& e) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); // we caught an exception so we switch to text only mode { m_bGraphicalDesign = false; @@ -1521,7 +1521,7 @@ bool OQueryController::doSaveAsDoc(bool _bSaveAs) { if ( !bNew ) m_sName = sOriginalName; - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } showError( aInfo ); @@ -1815,7 +1815,7 @@ void OQueryController::impl_reset( const bool i_bForceCurrentControllerSettings } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/querydesign/querydlg.cxx b/dbaccess/source/ui/querydesign/querydlg.cxx index a8c271935054..a1692b5c4c9f 100644 --- a/dbaccess/source/ui/querydesign/querydlg.cxx +++ b/dbaccess/source/ui/querydesign/querydlg.cxx @@ -268,7 +268,7 @@ IMPL_LINK_NOARG( DlgQryJoin, NaturalToggleHdl, CheckBox&, void ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pTableControl->NotifyCellChange(); m_pTableControl->Invalidate(); diff --git a/dbaccess/source/ui/relationdesign/RelationController.cxx b/dbaccess/source/ui/relationdesign/RelationController.cxx index e5a401e427f8..8256aaaaf111 100644 --- a/dbaccess/source/ui/relationdesign/RelationController.cxx +++ b/dbaccess/source/ui/relationdesign/RelationController.cxx @@ -181,7 +181,7 @@ void ORelationController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -235,7 +235,7 @@ void ORelationController::impl_initialize() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -341,7 +341,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -479,7 +479,7 @@ IMPL_LINK_NOARG( ORelationController, OnThreadFinished, void*, void ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } m_pWaitObject.reset(); } @@ -525,7 +525,7 @@ void ORelationController::loadData() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx index fd32987700b7..e616815e7e02 100644 --- a/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx +++ b/dbaccess/source/ui/tabledesign/FieldDescriptions.cxx @@ -162,7 +162,7 @@ OFieldDescription::OFieldDescription(const Reference< XPropertySet >& xAffectedC } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -248,7 +248,7 @@ void OFieldDescription::SetName(const OUString& _rName) } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -263,7 +263,7 @@ void OFieldDescription::SetHelpText(const OUString& _sHelpText) } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -278,7 +278,7 @@ void OFieldDescription::SetDescription(const OUString& _rDescription) } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -293,7 +293,7 @@ void OFieldDescription::SetDefaultValue(const Any& _rDefaultValue) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -308,7 +308,7 @@ void OFieldDescription::SetControlDefault(const Any& _rControlDefault) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -323,7 +323,7 @@ void OFieldDescription::SetAutoIncrementValue(const OUString& _sAutoIncValue) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -341,7 +341,7 @@ void OFieldDescription::SetType(const TOTypeInfoSP& _pType) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } @@ -360,7 +360,7 @@ void OFieldDescription::SetTypeValue(sal_Int32 _nType) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -375,7 +375,7 @@ void OFieldDescription::SetPrecision(sal_Int32 _rPrecision) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -390,7 +390,7 @@ void OFieldDescription::SetScale(sal_Int32 _rScale) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -405,7 +405,7 @@ void OFieldDescription::SetIsNullable(sal_Int32 _rIsNullable) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -420,7 +420,7 @@ void OFieldDescription::SetFormatKey(sal_Int32 _rFormatKey) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -435,7 +435,7 @@ void OFieldDescription::SetHorJustify(const SvxCellHorJustify& _rHorJustify) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -450,7 +450,7 @@ void OFieldDescription::SetAutoIncrement(bool _bAuto) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -617,7 +617,7 @@ void OFieldDescription::SetTypeName(const OUString& _sTypeName) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } diff --git a/dbaccess/source/ui/tabledesign/TableController.cxx b/dbaccess/source/ui/tabledesign/TableController.cxx index 93b08c02ab21..6662a2a535da 100644 --- a/dbaccess/source/ui/tabledesign/TableController.cxx +++ b/dbaccess/source/ui/tabledesign/TableController.cxx @@ -412,7 +412,7 @@ bool OTableController::doSaveDoc(bool _bSaveAs) catch( const Exception& ) { bError = true; - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( aInfo.isValid() ) @@ -475,7 +475,7 @@ void OTableController::doEditIndexes() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if (!xIndexes.is()) @@ -504,7 +504,7 @@ void OTableController::impl_initialize() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } try @@ -526,7 +526,7 @@ void OTableController::impl_initialize() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -718,7 +718,7 @@ void OTableController::appendColumns(Reference<XColumnsSupplier> const & _rxColS } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -1332,7 +1332,7 @@ void OTableController::dropPrimaryKey() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } showError(aInfo); @@ -1391,7 +1391,7 @@ bool OTableController::isAddAllowed() const } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); bAddAllowed = false; } @@ -1482,7 +1482,7 @@ OUString OTableController::getPrivateTitle() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } return sTitle; } diff --git a/dbaccess/source/ui/uno/composerdialogs.cxx b/dbaccess/source/ui/uno/composerdialogs.cxx index b0613c60580c..20cc13839470 100644 --- a/dbaccess/source/ui/uno/composerdialogs.cxx +++ b/dbaccess/source/ui/uno/composerdialogs.cxx @@ -113,7 +113,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } if ( !xConnection.is() || !xColumns.is() || !m_xComposer.is() ) diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx b/dbaccess/source/ui/uno/copytablewizard.cxx index 076ceb4c0726..f338f7b1de54 100644 --- a/dbaccess/source/ui/uno/copytablewizard.cxx +++ b/dbaccess/source/ui/uno/copytablewizard.cxx @@ -396,9 +396,9 @@ CopyTableWizard::~CopyTableWizard() // protect some members whose dtor might potentially throw try { m_xSourceConnection.clear(); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } try { m_xDestConnection.clear(); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("dbaccess"); } // TODO: shouldn't we have explicit disposal support? If a listener is registered // at our instance, and perhaps holds this our instance by a hard ref, then we'll never @@ -1036,7 +1036,7 @@ bool CopyTableWizard::impl_processCopyError_nothrow( const CopyTableRowEvent& _r } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // no listener felt responsible for the error, or a listener told to ask the user @@ -1079,7 +1079,7 @@ bool CopyTableWizard::impl_processCopyError_nothrow( const CopyTableRowEvent& _r } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } // cancel copying @@ -1416,7 +1416,7 @@ void CopyTableWizard::impl_doCopy_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } } diff --git a/dbaccess/source/ui/uno/dbinteraction.cxx b/dbaccess/source/ui/uno/dbinteraction.cxx index 62704b5397a5..4810d37cfcf7 100644 --- a/dbaccess/source/ui/uno/dbinteraction.cxx +++ b/dbaccess/source/ui/uno/dbinteraction.cxx @@ -146,7 +146,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } @@ -220,7 +220,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } void BasicInteractionHandler::implHandle(const DocumentSaveRequest& _rDocuRequest, const Sequence< Reference< XInteractionContinuation > >& _rContinuations) @@ -275,7 +275,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } else if ( -1 != nApprovePos ) diff --git a/dbaccess/source/ui/uno/unoDirectSql.cxx b/dbaccess/source/ui/uno/unoDirectSql.cxx index 39ed8a9a5aa5..0ad0fce4166d 100644 --- a/dbaccess/source/ui/uno/unoDirectSql.cxx +++ b/dbaccess/source/ui/uno/unoDirectSql.cxx @@ -91,7 +91,7 @@ namespace dbaui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("dbaccess"); } } if (!xConnection.is()) diff --git a/drawinglayer/source/primitive2d/controlprimitive2d.cxx b/drawinglayer/source/primitive2d/controlprimitive2d.cxx index b6a65c68c980..29ddec7c070b 100644 --- a/drawinglayer/source/primitive2d/controlprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/controlprimitive2d.cxx @@ -210,7 +210,7 @@ namespace drawinglayer } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("drawinglayer"); } } } diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx index 9862ec401b18..baa37e112cf6 100644 --- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx +++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx @@ -2651,7 +2651,7 @@ namespace accessibility catch (const lang::IndexOutOfBoundsException&) { // this is not the exception that should be raised in this function ... - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("editeng"); } } } diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx index 19b5c5b09ea6..e8eaee6d59eb 100644 --- a/embeddedobj/source/commonembedding/persistence.cxx +++ b/embeddedobj/source/commonembedding/persistence.cxx @@ -183,7 +183,7 @@ static void TransferMediaType( const uno::Reference< embed::XStorage >& i_rSourc } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("embeddedobj.common"); } } @@ -556,7 +556,7 @@ uno::Reference< util::XCloseable > OCommonEmbeddedObject::LoadDocumentFromStorag } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("embeddedobj.common"); } } diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx index 2194f158cb00..eb149ea4b106 100644 --- a/extensions/source/abpilot/datasourcehandling.cxx +++ b/extensions/source/abpilot/datasourcehandling.cxx @@ -177,7 +177,7 @@ namespace abp } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.abpilot"); } } diff --git a/extensions/source/bibliography/bibload.cxx b/extensions/source/bibliography/bibload.cxx index a2b4e988a703..2b79af21cb24 100644 --- a/extensions/source/bibliography/bibload.cxx +++ b/extensions/source/bibliography/bibload.cxx @@ -362,11 +362,11 @@ Reference< XNameAccess > const & BibliographyLoader::GetDataColumns() const } catch(const SQLException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.biblio"); } catch(const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.biblio"); bSuccess = false; } @@ -484,7 +484,7 @@ Any BibliographyLoader::getByName(const OUString& rName) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.biblio"); } return aRet; } @@ -517,7 +517,7 @@ Sequence< OUString > BibliographyLoader::getElementNames() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.biblio"); } aRet.realloc(nRealNameCount); @@ -548,7 +548,7 @@ sal_Bool BibliographyLoader::hasByName(const OUString& rName) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.biblio"); } return bRet; } diff --git a/extensions/source/bibliography/datman.cxx b/extensions/source/bibliography/datman.cxx index b74712728fb6..22da67f706d6 100644 --- a/extensions/source/bibliography/datman.cxx +++ b/extensions/source/bibliography/datman.cxx @@ -862,7 +862,7 @@ void BibDataManager::setFilter(const OUString& rQuery) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.biblio"); } @@ -879,7 +879,7 @@ OUString BibDataManager::getFilter() } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.biblio"); } diff --git a/extensions/source/logging/filehandler.cxx b/extensions/source/logging/filehandler.cxx index 4599c3efed59..733742e0a4c6 100644 --- a/extensions/source/logging/filehandler.cxx +++ b/extensions/source/logging/filehandler.cxx @@ -225,7 +225,7 @@ namespace logging } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.logging"); } } diff --git a/extensions/source/logging/loggerconfig.cxx b/extensions/source/logging/loggerconfig.cxx index c268ac636607..00533977a45e 100644 --- a/extensions/source/logging/loggerconfig.cxx +++ b/extensions/source/logging/loggerconfig.cxx @@ -85,7 +85,7 @@ namespace logging OUString sLoggerName; try { sLoggerName = _rxLogger->getName(); } - catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch( const Exception& ) { DBG_UNHANDLED_EXCEPTION("extensions.logging"); } TimeValue aTimeValue; oslDateTime aDateTime; @@ -284,7 +284,7 @@ namespace logging } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.logging"); } } diff --git a/extensions/source/logging/loghandler.cxx b/extensions/source/logging/loghandler.cxx index 1f9717c3321c..7ecf7ab4a05d 100644 --- a/extensions/source/logging/loghandler.cxx +++ b/extensions/source/logging/loghandler.cxx @@ -91,7 +91,7 @@ namespace logging } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.logging"); } } } @@ -138,7 +138,7 @@ namespace logging } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.logging"); } return false; } @@ -155,7 +155,7 @@ namespace logging } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.logging"); } return false; } @@ -172,7 +172,7 @@ namespace logging } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.logging"); } return false; } diff --git a/extensions/source/propctrlr/browserline.cxx b/extensions/source/propctrlr/browserline.cxx index 0aeaadeaf707..da973f3626d8 100644 --- a/extensions/source/propctrlr/browserline.cxx +++ b/extensions/source/propctrlr/browserline.cxx @@ -406,7 +406,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } rButton.SetModeImage( aImage ); @@ -476,7 +476,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } } diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx index b6fa5fe5130f..f737a075d130 100644 --- a/extensions/source/propctrlr/browserlistbox.cxx +++ b/extensions/source/propctrlr/browserlistbox.cxx @@ -290,7 +290,7 @@ namespace pcr { // can't handle otherwise, since our caller (the notification thread) does not allow // for exceptions (it could itself abort only) - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -389,7 +389,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } m_pControlContextImpl->setNotificationMode( PropertyControlContext_Impl::eAsynchronously ); } @@ -882,7 +882,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -903,7 +903,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return aPropertyValue; } @@ -998,7 +998,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } } diff --git a/extensions/source/propctrlr/cellbindinghelper.cxx b/extensions/source/propctrlr/cellbindinghelper.cxx index 32515e063dec..85b0353ca738 100644 --- a/extensions/source/propctrlr/cellbindinghelper.cxx +++ b/extensions/source/propctrlr/cellbindinghelper.cxx @@ -136,7 +136,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return nSheetIndex; diff --git a/extensions/source/propctrlr/commoncontrol.cxx b/extensions/source/propctrlr/commoncontrol.cxx index 9ffdce95730c..02dfd2dab035 100644 --- a/extensions/source/propctrlr/commoncontrol.cxx +++ b/extensions/source/propctrlr/commoncontrol.cxx @@ -62,7 +62,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } } @@ -88,7 +88,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -117,7 +117,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } diff --git a/extensions/source/propctrlr/defaulthelpprovider.cxx b/extensions/source/propctrlr/defaulthelpprovider.cxx index e24f6c0bdc9b..c4c49c769839 100644 --- a/extensions/source/propctrlr/defaulthelpprovider.cxx +++ b/extensions/source/propctrlr/defaulthelpprovider.cxx @@ -97,7 +97,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -137,7 +137,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } m_bConstructed = true; @@ -158,7 +158,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return pControlWindow; diff --git a/extensions/source/propctrlr/eformshelper.cxx b/extensions/source/propctrlr/eformshelper.cxx index 608f64fcf17c..7516656d1c60 100644 --- a/extensions/source/propctrlr/eformshelper.cxx +++ b/extensions/source/propctrlr/eformshelper.cxx @@ -560,7 +560,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return xBinding; diff --git a/extensions/source/propctrlr/eventhandler.cxx b/extensions/source/propctrlr/eventhandler.cxx index 62297fcccb29..a79cfecae67c 100644 --- a/extensions/source/propctrlr/eventhandler.cxx +++ b/extensions/source/propctrlr/eventhandler.cxx @@ -518,7 +518,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -659,7 +659,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -728,7 +728,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -846,7 +846,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return InteractiveSelectionResult_Success; @@ -883,7 +883,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return xContextFrame; @@ -923,7 +923,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -953,7 +953,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -974,7 +974,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -1076,7 +1076,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -1115,7 +1115,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } diff --git a/extensions/source/propctrlr/fontdialog.cxx b/extensions/source/propctrlr/fontdialog.cxx index 8640edb213f7..01896d449ceb 100644 --- a/extensions/source/propctrlr/fontdialog.cxx +++ b/extensions/source/propctrlr/fontdialog.cxx @@ -450,7 +450,7 @@ namespace pcr } catch (const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -470,7 +470,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx index 86beed0027d9..37db834b8d62 100644 --- a/extensions/source/propctrlr/formcomponenthandler.cxx +++ b/extensions/source/propctrlr/formcomponenthandler.cxx @@ -1938,7 +1938,7 @@ namespace pcr catch( const Exception& ) { OSL_FAIL( "FormComponentPropertyHandler::impl_updateDependentProperty_nothrow: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -2015,7 +2015,7 @@ namespace pcr catch( const Exception& ) { OSL_FAIL( "FormComponentPropertyHandler::onNewComponent: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -2269,7 +2269,7 @@ namespace pcr catch( const Exception& ) { OSL_FAIL( "FormComponentPropertyHandler::impl_getRowSet_nothrow: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return xReturn; } @@ -2304,7 +2304,7 @@ namespace pcr catch (const Exception&) { OSL_FAIL( "FormComponentPropertyHandler::impl_initFieldList_nothrow: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -2342,7 +2342,7 @@ namespace pcr } catch ( const SQLException& ) { aError = SQLExceptionInfo( ::cppu::getCaughtException() ); } catch ( const WrappedTargetException& e ) { aError = SQLExceptionInfo( e.TargetException ); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } // report errors, if necessary if ( aError.isValid() ) @@ -2355,7 +2355,7 @@ namespace pcr catch( const Exception& ) { OSL_FAIL( "FormComponentPropertyHandler::impl_ensureRowsetConnection_nothrow: caught an exception during error handling!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } // additional info about what happened INetURLObject aParser( sDataSourceName ); @@ -2414,7 +2414,7 @@ namespace pcr catch (const Exception&) { OSL_FAIL("FormComponentPropertyHandler::impl_describeCursorSource_nothrow: caught an exception !"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -2587,7 +2587,7 @@ namespace pcr catch( const Exception& ) { OSL_FAIL( "FormComponentPropertyHandler::impl_dialogFilterOrSort_nothrow: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } if ( aErrorInfo.isValid() ) @@ -2682,7 +2682,7 @@ namespace pcr catch( const Exception& ) { OSL_FAIL( "FormComponentPropertyHandler::impl_dialogFormatting_nothrow: : caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return bChanged; } @@ -3141,7 +3141,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return m_xCommandDesigner.is(); } @@ -3167,7 +3167,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } } @@ -3197,7 +3197,7 @@ namespace pcr catch( const Exception& ) { OSL_FAIL( "FormComponentPropertyHandler::impl_hasValidDataSourceSignature_nothrow: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } return bHas; @@ -3214,7 +3214,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return sURL; } diff --git a/extensions/source/propctrlr/formgeometryhandler.cxx b/extensions/source/propctrlr/formgeometryhandler.cxx index e9c13b2307ba..bbe8c5fa09c1 100644 --- a/extensions/source/propctrlr/formgeometryhandler.cxx +++ b/extensions/source/propctrlr/formgeometryhandler.cxx @@ -301,7 +301,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } if ( m_xAssociatedShape.is() ) @@ -365,7 +365,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return aReturn; } @@ -432,7 +432,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -479,7 +479,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return aLineDesc; } @@ -582,7 +582,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return false; } @@ -602,7 +602,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return false; } @@ -695,7 +695,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -776,7 +776,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } osl_atomic_decrement( &m_refCount ); } @@ -791,7 +791,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } getBroadcastHelper().bDisposed = true; diff --git a/extensions/source/propctrlr/handlerhelper.cxx b/extensions/source/propctrlr/handlerhelper.cxx index a9555e21b092..e0be314b6d71 100644 --- a/extensions/source/propctrlr/handlerhelper.cxx +++ b/extensions/source/propctrlr/handlerhelper.cxx @@ -249,7 +249,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -286,7 +286,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return pInspectorWindow; } diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx index 5a62dbc29c85..6688846cfb3c 100644 --- a/extensions/source/propctrlr/propcontroller.cxx +++ b/extensions/source/propctrlr/propcontroller.cxx @@ -182,7 +182,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -216,7 +216,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -828,7 +828,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } } @@ -886,7 +886,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -1243,7 +1243,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -1286,7 +1286,7 @@ namespace pcr } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } m_xInteractiveHandler = nullptr; } @@ -1665,7 +1665,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } diff --git a/extensions/source/propctrlr/propertycomposer.cxx b/extensions/source/propctrlr/propertycomposer.cxx index b42d5880c16a..5f97a759ef6f 100644 --- a/extensions/source/propctrlr/propertycomposer.cxx +++ b/extensions/source/propctrlr/propertycomposer.cxx @@ -429,7 +429,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } m_aPropertyListeners.notify( aTranslatedEvent, &XPropertyChangeListener::propertyChange ); } diff --git a/extensions/source/propctrlr/propertycontrolextender.cxx b/extensions/source/propctrlr/propertycontrolextender.cxx index c48c7675164f..2f59d6bb9489 100644 --- a/extensions/source/propctrlr/propertycontrolextender.cxx +++ b/extensions/source/propctrlr/propertycontrolextender.cxx @@ -66,7 +66,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -99,7 +99,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } } diff --git a/extensions/source/propctrlr/pushbuttonnavigation.cxx b/extensions/source/propctrlr/pushbuttonnavigation.cxx index fde97c0e2209..72a57957107c 100644 --- a/extensions/source/propctrlr/pushbuttonnavigation.cxx +++ b/extensions/source/propctrlr/pushbuttonnavigation.cxx @@ -277,7 +277,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return nButtonType == FormButtonType_URL; } diff --git a/extensions/source/propctrlr/sqlcommanddesign.cxx b/extensions/source/propctrlr/sqlcommanddesign.cxx index 2f22ac22b30f..62aba8359442 100644 --- a/extensions/source/propctrlr/sqlcommanddesign.cxx +++ b/extensions/source/propctrlr/sqlcommanddesign.cxx @@ -135,7 +135,7 @@ namespace pcr catch( const Exception& ) { // not allowed to leave, so silence it - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } } @@ -204,7 +204,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } @@ -267,7 +267,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); m_xDesigner.clear(); } osl_atomic_decrement(&m_refCount); @@ -290,7 +290,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return xFrame; } @@ -331,7 +331,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } m_xDesigner.clear(); @@ -348,7 +348,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } return bAllow; } diff --git a/extensions/source/propctrlr/xsdvalidationhelper.cxx b/extensions/source/propctrlr/xsdvalidationhelper.cxx index 77ed22992ab2..a15663ffa548 100644 --- a/extensions/source/propctrlr/xsdvalidationhelper.cxx +++ b/extensions/source/propctrlr/xsdvalidationhelper.cxx @@ -269,7 +269,7 @@ namespace pcr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("extensions.propctrlr"); } } diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index cbd63e3eb6dc..ee33fe0192df 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -7376,7 +7376,7 @@ void MergeCells( const Reference< XTable >& xTable, sal_Int32 nCol, sal_Int32 nR } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("filter.ms"); } } diff --git a/forms/source/component/Button.cxx b/forms/source/component/Button.cxx index 35ca84b801ec..d0f77ca64d13 100644 --- a/forms/source/component/Button.cxx +++ b/forms/source/component/Button.cxx @@ -320,7 +320,7 @@ void OButtonModel::impl_resetNoBroadcast_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx index 8e7bee2bf1c7..ca4d1d065aea 100644 --- a/forms/source/component/ComboBox.cxx +++ b/forms/source/component/ComboBox.cxx @@ -593,7 +593,7 @@ void OComboBoxModel::loadData( bool _bForce ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); return; } @@ -661,7 +661,7 @@ void OComboBoxModel::loadData( bool _bForce ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); return; } diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index d0031c710643..0cfb1c72fd97 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -121,7 +121,7 @@ private: } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } @@ -1977,7 +1977,7 @@ void ODatabaseForm::reset_impl(bool _bAproveByListeners) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } } @@ -2338,7 +2338,7 @@ void SAL_CALL ODatabaseForm::setParent(const css::uno::Reference<css::uno::XInte } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } @@ -2360,7 +2360,7 @@ void SAL_CALL ODatabaseForm::setParent(const css::uno::Reference<css::uno::XInte } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } @@ -2788,7 +2788,7 @@ bool ODatabaseForm::implEnsureConnection() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } return false; @@ -3043,11 +3043,11 @@ bool ODatabaseForm::impl_approveRowChange_throw( const EventObject& _rEvent, con { if ( _bAllowSQLException ) throw; - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } return true; @@ -3085,7 +3085,7 @@ sal_Bool SAL_CALL ODatabaseForm::approveCursorMove(const EventObject& event) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } return true; @@ -3134,7 +3134,7 @@ sal_Bool SAL_CALL ODatabaseForm::approveRowChange(const RowChangeEvent& event) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } return true; diff --git a/forms/source/component/Edit.cxx b/forms/source/component/Edit.cxx index 1bf099d7ac08..e14b0526b4bb 100644 --- a/forms/source/component/Edit.cxx +++ b/forms/source/component/Edit.cxx @@ -450,7 +450,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } } diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx index ab97e4d365ad..f877753dc789 100644 --- a/forms/source/component/Filter.cxx +++ b/forms/source/component/Filter.cxx @@ -237,7 +237,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } if (m_bFilterList) @@ -339,7 +339,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } break; @@ -471,7 +471,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } #endif } @@ -740,7 +740,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } 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"); } } diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx index 59267b953dd7..1f0c99bdf5e7 100644 --- a/forms/source/component/ImageControl.cxx +++ b/forms/source/component/ImageControl.cxx @@ -520,7 +520,7 @@ void OImageControlModel::onConnectedDbColumn( const Reference< XInterface >& _rx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } @@ -654,7 +654,7 @@ IMPL_LINK( OImageControlModel, OnImageImportDone, ::Graphic*, i_pGraphic, void ) } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } m_bExternalGraphic = true; } @@ -844,7 +844,7 @@ bool OImageControlControl::impl_isEmptyGraphics_nothrow() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } return bIsEmpty; diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 8b26bc2dd24b..ef0a4e574814 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -926,7 +926,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } else if ( *aBoundColumn == -1) @@ -1000,7 +1000,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); return; } @@ -1665,7 +1665,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } return aCurrentValue; @@ -1683,7 +1683,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } return aCurrentValue; @@ -1712,7 +1712,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } return aCurrentValue; @@ -1745,7 +1745,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } resumeValueListening(); diff --git a/forms/source/component/cachedrowset.cxx b/forms/source/component/cachedrowset.cxx index 3e88707e7b52..0f26c801a977 100644 --- a/forms/source/component/cachedrowset.cxx +++ b/forms/source/component/cachedrowset.cxx @@ -147,7 +147,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } return xResult; } @@ -167,7 +167,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } } diff --git a/forms/source/component/propertybaghelper.cxx b/forms/source/component/propertybaghelper.cxx index 8adde794b8b4..30958a54b151 100644 --- a/forms/source/component/propertybaghelper.cxx +++ b/forms/source/component/propertybaghelper.cxx @@ -274,7 +274,7 @@ namespace frm catch( const RuntimeException& ) { throw; } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } Sequence< PropertyValue > aPropertyValues( aValues.getLength() ); PropertyValue* pPropertyValue = aPropertyValues.getArray(); diff --git a/forms/source/helper/commandimageprovider.cxx b/forms/source/helper/commandimageprovider.cxx index 1370b14c8663..570d58abe94d 100644 --- a/forms/source/helper/commandimageprovider.cxx +++ b/forms/source/helper/commandimageprovider.cxx @@ -87,7 +87,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.helper"); } // obtain the image manager or the module @@ -104,7 +104,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.helper"); } } @@ -142,7 +142,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.helper"); } return aImages; } diff --git a/forms/source/helper/windowstateguard.cxx b/forms/source/helper/windowstateguard.cxx index 148c8090b0b1..0202baa7404b 100644 --- a/forms/source/helper/windowstateguard.cxx +++ b/forms/source/helper/windowstateguard.cxx @@ -135,7 +135,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.helper"); } } diff --git a/forms/source/misc/InterfaceContainer.cxx b/forms/source/misc/InterfaceContainer.cxx index dbecde1ebdbf..dd228e81dc5c 100644 --- a/forms/source/misc/InterfaceContainer.cxx +++ b/forms/source/misc/InterfaceContainer.cxx @@ -157,7 +157,7 @@ void OInterfaceContainer::impl_addVbEvents_nolck_nothrow( const sal_Int32 i_nIn } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.misc"); } } @@ -226,7 +226,7 @@ void OInterfaceContainer::impl_createEventAttacher_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.misc"); } } @@ -400,7 +400,7 @@ void OInterfaceContainer::transformEvents() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.misc"); } } @@ -577,7 +577,7 @@ void SAL_CALL OInterfaceContainer::read( const Reference< XObjectInputStream >& } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.misc"); } } } diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 0223d45360d7..b88e4fa94fcb 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -136,7 +136,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.richtext"); } return nBits; } @@ -153,7 +153,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.richtext"); } if ( !bReallyActAsRichText ) diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx index d1150a7b02b4..0bd7486952ac 100644 --- a/forms/source/runtime/formoperations.cxx +++ b/forms/source/runtime/formoperations.cxx @@ -937,7 +937,7 @@ namespace frm catch( const SQLException& ) { throw; } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.runtime"); bSuccess = false; } @@ -1094,7 +1094,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.runtime"); } m_xController.clear(); @@ -1409,7 +1409,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.runtime"); } return xField; @@ -1444,7 +1444,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.runtime"); } return -1; } @@ -1534,7 +1534,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.runtime"); } } diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx index 020f8aa1ac68..725fe6edc44a 100644 --- a/forms/source/solar/component/navbarcontrol.cxx +++ b/forms/source/solar/component/navbarcontrol.cxx @@ -104,7 +104,7 @@ namespace frm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.component"); } return nBits; } diff --git a/forms/source/xforms/binding.cxx b/forms/source/xforms/binding.cxx index 05d40430d28e..feb5ac62826d 100644 --- a/forms/source/xforms/binding.cxx +++ b/forms/source/xforms/binding.cxx @@ -443,7 +443,7 @@ bool Binding::getExternalData() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.xforms"); } return bExternalData; } diff --git a/forms/source/xforms/submission/serialization_app_xml.cxx b/forms/source/xforms/submission/serialization_app_xml.cxx index 1d3d701e3c06..c8ad9ef642e3 100644 --- a/forms/source/xforms/submission/serialization_app_xml.cxx +++ b/forms/source/xforms/submission/serialization_app_xml.cxx @@ -112,7 +112,7 @@ CSerializationAppXML::serialize_node(const Reference< XNode >& rNode) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("forms.xforms"); } } diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx index 39c6e4342375..ab4bc19da298 100644 --- a/formula/source/ui/dlg/formula.cxx +++ b/formula/source/ui/dlg/formula.cxx @@ -795,7 +795,7 @@ void FormulaDlg_Impl::MakeTree( StructPage* _pTree, SvTreeListEntry* pParent, co } catch (const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("formula.ui"); } } } @@ -823,7 +823,7 @@ void FormulaDlg_Impl::UpdateTokenArray( const OUString& rStrExp) } catch (const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("formula.ui"); } InitFormulaOpCodeMapper(); m_pTokenArray = m_pHelper->convertToTokenArray(m_aTokenList); diff --git a/framework/source/fwe/classes/framelistanalyzer.cxx b/framework/source/fwe/classes/framelistanalyzer.cxx index 6b27020af4e8..26c22acc286b 100644 --- a/framework/source/fwe/classes/framelistanalyzer.cxx +++ b/framework/source/fwe/classes/framelistanalyzer.cxx @@ -124,7 +124,7 @@ void FrameListAnalyzer::impl_analyze() } catch(const css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("fwk"); } } diff --git a/framework/source/fwe/helper/documentundoguard.cxx b/framework/source/fwe/helper/documentundoguard.cxx index 956c7111f4fb..3fed0051c8fb 100644 --- a/framework/source/fwe/helper/documentundoguard.cxx +++ b/framework/source/fwe/helper/documentundoguard.cxx @@ -182,7 +182,7 @@ namespace framework } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("fwk"); } } @@ -196,7 +196,7 @@ namespace framework } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("fwk"); } } } diff --git a/framework/source/fwe/helper/undomanagerhelper.cxx b/framework/source/fwe/helper/undomanagerhelper.cxx index 6ed845d579df..65f350b88a30 100644 --- a/framework/source/fwe/helper/undomanagerhelper.cxx +++ b/framework/source/fwe/helper/undomanagerhelper.cxx @@ -99,7 +99,7 @@ namespace framework } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("fwk"); } } @@ -112,7 +112,7 @@ namespace framework } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("fwk"); } return sComment; } diff --git a/framework/source/helper/titlebarupdate.cxx b/framework/source/helper/titlebarupdate.cxx index 94a27ba47c2b..c75e8a32d974 100644 --- a/framework/source/helper/titlebarupdate.cxx +++ b/framework/source/helper/titlebarupdate.cxx @@ -252,7 +252,7 @@ void TitleBarUpdate::impl_updateIcon(const css::uno::Reference< css::frame::XFra } catch(const css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("fwk"); } } diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 23a03f1af8cc..959b78737cbf 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -3017,7 +3017,7 @@ void Frame::implts_setIconOnWindow() } catch( css::uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("fwk"); } } diff --git a/framework/source/uifactory/windowcontentfactorymanager.cxx b/framework/source/uifactory/windowcontentfactorymanager.cxx index f8911939dc6b..4dc65aa5a66c 100644 --- a/framework/source/uifactory/windowcontentfactorymanager.cxx +++ b/framework/source/uifactory/windowcontentfactorymanager.cxx @@ -176,7 +176,7 @@ uno::Reference< uno::XInterface > SAL_CALL WindowContentFactoryManager::createIn } catch ( uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("fwk"); } } } diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index f81eb0564c52..0f8927cc89ff 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -82,6 +82,7 @@ certain functionality. @li @c connectivity.jdbc @li @c connectivity.kab @li @c connectivity.macab +@li @c connectivity.manager @li @c connectivity.mork @li @c connectivity.mozab @li @c connectivity.odbc @@ -253,6 +254,7 @@ certain functionality. @section forms @li @c forms.component +@li @c forms.helper @li @c forms.misc @li @c forms.richtext @li @c forms.runtime 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"); } } diff --git a/reportdesign/source/filter/xml/xmlReport.cxx b/reportdesign/source/filter/xml/xmlReport.cxx index 052842d60230..09cd727cfe95 100644 --- a/reportdesign/source/filter/xml/xmlReport.cxx +++ b/reportdesign/source/filter/xml/xmlReport.cxx @@ -121,7 +121,7 @@ void OXMLReport::impl_initRuntimeDefaults() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } diff --git a/reportdesign/source/ui/dlg/AddField.cxx b/reportdesign/source/ui/dlg/AddField.cxx index 34a669b66c30..0299f5cabe94 100644 --- a/reportdesign/source/ui/dlg/AddField.cxx +++ b/reportdesign/source/ui/dlg/AddField.cxx @@ -201,7 +201,7 @@ OAddFieldWindow::OAddFieldWindow(vcl::Window* pParent ,const uno::Reference< bea } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } } @@ -371,7 +371,7 @@ void OAddFieldWindow::Update() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } diff --git a/reportdesign/source/ui/dlg/CondFormat.cxx b/reportdesign/source/ui/dlg/CondFormat.cxx index cffe5bf281ad..9a67ebdd747b 100644 --- a/reportdesign/source/ui/dlg/CondFormat.cxx +++ b/reportdesign/source/ui/dlg/CondFormat.cxx @@ -201,7 +201,7 @@ namespace rptui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } impl_conditionCountChanged(); @@ -259,7 +259,7 @@ namespace rptui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } impl_conditionCountChanged(); @@ -287,7 +287,7 @@ namespace rptui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); return; } @@ -298,7 +298,7 @@ namespace rptui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } // at least the two swapped conditions need to know their new index @@ -391,7 +391,7 @@ namespace rptui } catch( Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -421,7 +421,7 @@ namespace rptui } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } return sDataField; } @@ -469,7 +469,7 @@ namespace rptui } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); nRet = RET_NO; } } diff --git a/reportdesign/source/ui/dlg/Condition.cxx b/reportdesign/source/ui/dlg/Condition.cxx index 4f147933d6e3..0d76f42744ff 100644 --- a/reportdesign/source/ui/dlg/Condition.cxx +++ b/reportdesign/source/ui/dlg/Condition.cxx @@ -375,7 +375,7 @@ void Condition::setCondition( const uno::Reference< report::XFormatCondition >& } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } impl_setCondition( sConditionFormula ); updateToolbar( _rxCondition.get() ); @@ -409,7 +409,7 @@ void Condition::updateToolbar(const uno::Reference< report::XReportControlFormat } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } } diff --git a/reportdesign/source/ui/misc/UITools.cxx b/reportdesign/source/ui/misc/UITools.cxx index 58ea17e3eeed..ea96a409cfcb 100644 --- a/reportdesign/source/ui/misc/UITools.cxx +++ b/reportdesign/source/ui/misc/UITools.cxx @@ -725,7 +725,7 @@ bool openCharDialog( const uno::Reference<report::XReportControlFormat >& _rxRep } catch(uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } SfxItemPool::Free(pPool); @@ -764,7 +764,7 @@ bool openAreaDialog( const uno::Reference<report::XShape >& _xShape,const uno::R } catch(uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } return bSuccess; @@ -825,7 +825,7 @@ void applyCharacterSettings( const uno::Reference< report::XReportControlFormat } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -942,7 +942,7 @@ uno::Sequence< OUString > getParameterNames( const uno::Reference< sdbc::XRowSet } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } return aNames; diff --git a/reportdesign/source/ui/report/FixedTextColor.cxx b/reportdesign/source/ui/report/FixedTextColor.cxx index 63bde85edb6e..75d59b8cfea7 100644 --- a/reportdesign/source/ui/report/FixedTextColor.cxx +++ b/reportdesign/source/ui/report/FixedTextColor.cxx @@ -75,7 +75,7 @@ namespace rptui } catch (uno::Exception const&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -145,7 +145,7 @@ namespace rptui } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } diff --git a/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx b/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx index 3d92f69ccdac..1fb7740f1b38 100644 --- a/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx +++ b/reportdesign/source/ui/report/FormattedFieldBeautifier.cxx @@ -107,7 +107,7 @@ namespace rptui } catch (const uno::Exception &) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index 679f31c1143c..8a82ef78f5ff 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -353,7 +353,7 @@ void OReportController::disposing() } catch(const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -1712,7 +1712,7 @@ void OReportController::impl_initialize( ) } catch(const SQLException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -2031,7 +2031,7 @@ void OReportController::impl_onModifyChanged() } catch(const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -2214,7 +2214,7 @@ void SAL_CALL OReportController::propertyChange( const beans::PropertyChangeEven } catch(const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -2488,7 +2488,7 @@ void OReportController::openPageDialog(const uno::Reference<report::XSection>& _ } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } SfxItemPool::Free(pPool); @@ -2803,7 +2803,7 @@ void SAL_CALL OReportController::restoreViewData(const uno::Any& i_data) } catch(const IllegalArgumentException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -2970,7 +2970,7 @@ uno::Reference< sdbc::XRowSet > const & OReportController::getRowSet() } catch(const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } return m_xRowSet; @@ -3004,7 +3004,7 @@ void OReportController::insertGraphic() } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -3370,7 +3370,7 @@ void OReportController::addPairControls(const Sequence< PropertyValue >& aArgs) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } #endif @@ -3574,7 +3574,7 @@ void OReportController::addPairControls(const Sequence< PropertyValue >& aArgs) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -3856,7 +3856,7 @@ void OReportController::modifyGroup(const bool _bAppend, const Sequence< Propert } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -4203,7 +4203,7 @@ void OReportController::openZoomDialog() } catch(const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } SfxItemPool::Free(pPool); diff --git a/reportdesign/source/ui/report/ReportControllerObserver.cxx b/reportdesign/source/ui/report/ReportControllerObserver.cxx index df1aed082188..d56d55b0a427 100644 --- a/reportdesign/source/ui/report/ReportControllerObserver.cxx +++ b/reportdesign/source/ui/report/ReportControllerObserver.cxx @@ -181,7 +181,7 @@ void OXReportControllerObserver::AddSection(const uno::Reference< report::XSecti } catch(const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -199,7 +199,7 @@ void OXReportControllerObserver::RemoveSection(const uno::Reference< report::XSe } catch(uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -236,7 +236,7 @@ void OXReportControllerObserver::switchListening( const uno::Reference< containe } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } @@ -267,7 +267,7 @@ void OXReportControllerObserver::switchListening( const uno::Reference< uno::XIn } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } diff --git a/reportdesign/source/ui/report/SectionView.cxx b/reportdesign/source/ui/report/SectionView.cxx index 76204b92e62d..06b594f63d6e 100644 --- a/reportdesign/source/ui/report/SectionView.cxx +++ b/reportdesign/source/ui/report/SectionView.cxx @@ -183,7 +183,7 @@ void OSectionView::SetMarkedToLayer( SdrLayerID _nLayerNo ) } catch(const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } } diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx index 3248f749ab90..c66e3d00184d 100644 --- a/reportdesign/source/ui/report/dlgedfunc.cxx +++ b/reportdesign/source/ui/report/dlgedfunc.cxx @@ -405,7 +405,7 @@ void DlgEdFunc::activateOle(SdrObject* _pObj) } catch( uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); } } } diff --git a/reportdesign/source/ui/report/propbrw.cxx b/reportdesign/source/ui/report/propbrw.cxx index a96f29fa72c6..2f671b5872e6 100644 --- a/reportdesign/source/ui/report/propbrw.cxx +++ b/reportdesign/source/ui/report/propbrw.cxx @@ -109,7 +109,7 @@ PropBrw::PropBrw(const Reference< XComponentContext >& _xORB, vcl::Window* pPare catch (Exception&) { OSL_FAIL("PropBrw::PropBrw: could not create/initialize my frame!"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); m_xMeAsFrame.clear(); } @@ -154,7 +154,7 @@ PropBrw::PropBrw(const Reference< XComponentContext >& _xORB, vcl::Window* pPare catch (Exception&) { OSL_FAIL("PropBrw::PropBrw: could not create/initialize the browser controller!"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("reportdesign"); try { ::comphelper::disposeComponent(m_xBrowserController); diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx index 10d271eff637..40710f16ff25 100644 --- a/sc/source/core/data/dpobject.cxx +++ b/sc/source/core/data/dpobject.cxx @@ -883,7 +883,7 @@ void ScDPObject::ClearSource() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sc.core"); } } xSource = nullptr; diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index dd6a0b39c61a..54ae2ed9956b 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -548,7 +548,7 @@ void ScModule::Execute( SfxRequest& rReq ) } catch( css::uno::RuntimeException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sc.ui"); } } break; diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx index 72257436c16f..25f125f90ba4 100644 --- a/sc/source/ui/vba/vbaapplication.cxx +++ b/sc/source/ui/vba/vbaapplication.cxx @@ -707,7 +707,7 @@ ScVbaApplication::setCursor( sal_Int32 _cursor ) } catch (const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sc.ui"); } } diff --git a/scripting/source/dlgprov/dlgevtatt.cxx b/scripting/source/dlgprov/dlgevtatt.cxx index e1e27cc8a4a6..4bb940f82167 100644 --- a/scripting/source/dlgprov/dlgevtatt.cxx +++ b/scripting/source/dlgprov/dlgevtatt.cxx @@ -126,7 +126,7 @@ namespace dlgprov } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("scripting"); } } @@ -144,7 +144,7 @@ namespace dlgprov } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("scripting"); } } } @@ -254,7 +254,7 @@ namespace dlgprov } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("scripting"); } try @@ -269,7 +269,7 @@ namespace dlgprov } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("scripting"); } } } @@ -503,7 +503,7 @@ namespace dlgprov } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("scripting"); } } @@ -602,7 +602,7 @@ namespace dlgprov } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("scripting"); } } diff --git a/scripting/source/provider/ActiveMSPList.cxx b/scripting/source/provider/ActiveMSPList.cxx index 3699af968a8f..6b1da6093352 100644 --- a/scripting/source/provider/ActiveMSPList.cxx +++ b/scripting/source/provider/ActiveMSPList.cxx @@ -247,7 +247,7 @@ ActiveMSPList::addActiveMSP( const Reference< uno::XInterface >& xComponent, } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("scripting"); } } } @@ -271,7 +271,7 @@ void SAL_CALL ActiveMSPList::disposing( const css::lang::EventObject& Source ) { // if we get an exception here, there is not much we can do about // it can't throw as it will screw up the model that is calling dispose - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("scripting"); } } diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx index 94b35b6b82c1..046451611c0c 100644 --- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx +++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx @@ -316,7 +316,7 @@ std::vector< Reference< browse::XBrowseNode > > getAllBrowseNodes( const Referen } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("scripting"); } } diff --git a/scripting/source/provider/ProviderCache.cxx b/scripting/source/provider/ProviderCache.cxx index f4ad90358785..98103a8984e3 100644 --- a/scripting/source/provider/ProviderCache.cxx +++ b/scripting/source/provider/ProviderCache.cxx @@ -110,7 +110,7 @@ ProviderCache::getAllProviders() } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("scripting"); } } } diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index c39da4833f0c..8e225173a95f 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -1202,7 +1202,7 @@ sal_Int8 SdPageObjsTLB::ExecuteDrop( const ExecuteDropEvent& rEvt ) } catch (css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } if (nRet == DND_ACTION_NONE) diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx index ae6aa3a466bc..32e67427ee58 100644 --- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.cxx @@ -101,7 +101,7 @@ void ConfigurationControllerBroadcaster::NotifyListeners ( } catch (const RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } } @@ -179,7 +179,7 @@ void ConfigurationControllerBroadcaster::DisposeAndClear() } catch (const RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } else diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx index 1ae748de445a..4137780bef13 100644 --- a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.cxx @@ -158,7 +158,7 @@ void ConfigurationControllerResourceManager::ActivateResource ( } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } @@ -220,7 +220,7 @@ void ConfigurationControllerResourceManager::DeactivateResource ( } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } // 5. Notify listeners that the resource is being deactivated. diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx index eab30a5bf37c..3689789a22d6 100644 --- a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx @@ -179,7 +179,7 @@ void ConfigurationUpdater::UpdateConfiguration() } catch(const RuntimeException &) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } SAL_INFO("sd.fwk", OSL_THIS_FUNC << ": ConfigurationUpdater::UpdateConfiguration)"); @@ -263,7 +263,7 @@ void ConfigurationUpdater::UpdateCore (const ConfigurationClassifier& rClassifie } catch(const RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } diff --git a/sd/source/ui/framework/factories/PresentationFactory.cxx b/sd/source/ui/framework/factories/PresentationFactory.cxx index f36ee2f77fd4..ed879e090776 100644 --- a/sd/source/ui/framework/factories/PresentationFactory.cxx +++ b/sd/source/ui/framework/factories/PresentationFactory.cxx @@ -101,7 +101,7 @@ PresentationFactory::PresentationFactory ( } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } @@ -200,7 +200,7 @@ void SAL_CALL PresentationFactoryProvider::initialize( } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } } diff --git a/sd/source/ui/framework/module/ModuleController.cxx b/sd/source/ui/framework/module/ModuleController.cxx index e30d6bb1c1a5..d1570a0fbb55 100644 --- a/sd/source/ui/framework/module/ModuleController.cxx +++ b/sd/source/ui/framework/module/ModuleController.cxx @@ -94,7 +94,7 @@ ModuleController::ModuleController (const Reference<XComponentContext>& rxContex } catch (Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index a3c4fd163b21..aff76eeb6dcd 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -241,7 +241,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } return pViewShell; } @@ -258,7 +258,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } return nullptr; } @@ -635,7 +635,7 @@ void FrameworkHelper::HandleModeChangeSlot ( } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } @@ -743,7 +743,7 @@ void FrameworkHelper::UpdateConfiguration() } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } } @@ -867,7 +867,7 @@ CallbackCaller::CallbackCaller ( } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } @@ -884,7 +884,7 @@ void CallbackCaller::disposing() } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } diff --git a/sd/source/ui/sidebar/DocumentHelper.cxx b/sd/source/ui/sidebar/DocumentHelper.cxx index cc2d2259a3b5..b7b3519bfaa4 100644 --- a/sd/source/ui/sidebar/DocumentHelper.cxx +++ b/sd/source/ui/sidebar/DocumentHelper.cxx @@ -230,7 +230,7 @@ SdPage* DocumentHelper::AddMasterPage ( catch(const uno::Exception&) { pClonedMasterPage = nullptr; - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } catch(const ::std::exception& e) { diff --git a/sd/source/ui/sidebar/MasterPageContainerProviders.cxx b/sd/source/ui/sidebar/MasterPageContainerProviders.cxx index 25a295305d96..8e1e9163fedd 100644 --- a/sd/source/ui/sidebar/MasterPageContainerProviders.cxx +++ b/sd/source/ui/sidebar/MasterPageContainerProviders.cxx @@ -129,7 +129,7 @@ SdPage* TemplatePageObjectProvider::operator() (SdDrawDocument*) } catch (const uno::RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); pPage = nullptr; } diff --git a/sd/source/ui/slideshow/PaneHider.cxx b/sd/source/ui/slideshow/PaneHider.cxx index b33cc7f2e28c..2c80e67f2f50 100644 --- a/sd/source/ui/slideshow/PaneHider.cxx +++ b/sd/source/ui/slideshow/PaneHider.cxx @@ -76,7 +76,7 @@ PaneHider::PaneHider (const ViewShell& rViewShell, SlideshowImpl* pSlideShow) } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } diff --git a/sd/source/ui/slidesorter/controller/SlsListener.cxx b/sd/source/ui/slidesorter/controller/SlsListener.cxx index f2342c698b1e..2e7b6623eeab 100644 --- a/sd/source/ui/slidesorter/controller/SlsListener.cxx +++ b/sd/source/ui/slidesorter/controller/SlsListener.cxx @@ -204,7 +204,7 @@ void Listener::ConnectToController() } catch (beans::UnknownPropertyException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } try { @@ -212,7 +212,7 @@ void Listener::ConnectToController() } catch (beans::UnknownPropertyException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } @@ -253,7 +253,7 @@ void Listener::DisconnectFromController() } catch (beans::UnknownPropertyException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } mbListeningToController = false; @@ -451,7 +451,7 @@ void SAL_CALL Listener::propertyChange ( } catch (beans::UnknownPropertyException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } catch (lang::DisposedException&) { diff --git a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx index 2d22459ed1e7..87cd3fb240c2 100644 --- a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx +++ b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx @@ -191,7 +191,7 @@ sal_Int32 SlideSorterModel::GetIndex (const Reference<drawing::XDrawPage>& rxSli } catch (uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd"); } } diff --git a/sd/source/ui/tools/ConfigurationAccess.cxx b/sd/source/ui/tools/ConfigurationAccess.cxx index 9e32b5314d2b..1492db1a2de3 100644 --- a/sd/source/ui/tools/ConfigurationAccess.cxx +++ b/sd/source/ui/tools/ConfigurationAccess.cxx @@ -78,7 +78,7 @@ void ConfigurationAccess::Initialize ( } catch (Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.tools"); } } diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx index 143e2d02cb9e..158b1603f00e 100644 --- a/sd/source/ui/tools/PreviewRenderer.cxx +++ b/sd/source/ui/tools/PreviewRenderer.cxx @@ -129,7 +129,7 @@ Image PreviewRenderer::RenderPage ( } catch (const css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.tools"); } } @@ -188,7 +188,7 @@ Image PreviewRenderer::RenderSubstitution ( } catch (const css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.tools"); } return aPreview; @@ -298,7 +298,7 @@ void PreviewRenderer::PaintPage ( } catch (const css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.tools"); } // Restore the previous online spelling and redlining states. diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index 50cf7629f667..a4795358da72 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx @@ -1060,7 +1060,7 @@ void SdOutliner::ProvideNextTextObject() } catch (const css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.view"); } SetUpdateMode(false); OutlinerView* pOutlinerView = mpImpl->GetOutlinerView(); diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx index 354f1207f047..8b8c73fc3f44 100644 --- a/sd/source/ui/view/ViewShellBase.cxx +++ b/sd/source/ui/view/ViewShellBase.cxx @@ -1213,7 +1213,7 @@ void ViewShellBase::Implementation::SetPaneVisibility ( } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.view"); } } @@ -1344,7 +1344,7 @@ void ViewShellBase::Implementation::GetSlotState (SfxItemSet& rSet) } catch (const RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.view"); } } diff --git a/sd/source/ui/view/ViewTabBar.cxx b/sd/source/ui/view/ViewTabBar.cxx index 2deb82b6dab6..a63f747283d6 100644 --- a/sd/source/ui/view/ViewTabBar.cxx +++ b/sd/source/ui/view/ViewTabBar.cxx @@ -372,7 +372,7 @@ bool ViewTabBar::ActivatePage() } catch (const RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.view"); } return false; diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 65ffb4268311..04631d87f861 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -2449,7 +2449,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) } catch( css::uno::RuntimeException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.view"); } Cancel(); diff --git a/sd/source/ui/view/drviews3.cxx b/sd/source/ui/view/drviews3.cxx index 18b5a2978607..14f4fac32271 100644 --- a/sd/source/ui/view/drviews3.cxx +++ b/sd/source/ui/view/drviews3.cxx @@ -399,7 +399,7 @@ void DrawViewShell::ExecCtrl(SfxRequest& rReq) } catch (RuntimeException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sd.view"); } // We have to return immediately to avoid accessing this object. diff --git a/sfx2/source/appl/appbaslib.cxx b/sfx2/source/appl/appbaslib.cxx index f49d57fbede2..af666bb7fc66 100644 --- a/sfx2/source/appl/appbaslib.cxx +++ b/sfx2/source/appl/appbaslib.cxx @@ -76,7 +76,7 @@ void SfxBasicManagerHolder::reset( BasicManager* _pBasicManager ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.appl"); } } #endif @@ -95,7 +95,7 @@ void SfxBasicManagerHolder::storeAllLibraries() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.appl"); } #endif } @@ -114,7 +114,7 @@ void SfxBasicManagerHolder::setStorage( const Reference< XStorage >& _rxStorage } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.appl"); } #endif } diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index 4bdb5ed30c7e..9d56d48725a0 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -302,7 +302,7 @@ namespace } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.appl"); } } @@ -1287,7 +1287,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.appl"); } return _pFallback; } @@ -1335,7 +1335,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.appl"); } return nullptr; } @@ -1445,7 +1445,7 @@ void SfxApplication::OfaExec_Impl( SfxRequest& rReq ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.appl"); } pView = lcl_getBasicIDEViewFrame( pBasicIDE ); @@ -1688,7 +1688,7 @@ void SfxApplication::OfaExec_Impl( SfxRequest& rReq ) } catch(const css::uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.appl"); } } break; diff --git a/sfx2/source/dialog/filtergrouping.cxx b/sfx2/source/dialog/filtergrouping.cxx index 213ede3684eb..1666e81b258f 100644 --- a/sfx2/source/dialog/filtergrouping.cxx +++ b/sfx2/source/dialog/filtergrouping.cxx @@ -830,7 +830,7 @@ namespace sfx2 } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.dialog"); } } diff --git a/sfx2/source/doc/docmacromode.cxx b/sfx2/source/doc/docmacromode.cxx index da009871b2aa..c62a5ab87d9a 100644 --- a/sfx2/source/doc/docmacromode.cxx +++ b/sfx2/source/doc/docmacromode.cxx @@ -332,7 +332,7 @@ namespace sfx2 } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.doc"); } return bHasMacroLib; } @@ -353,7 +353,7 @@ namespace sfx2 } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.doc"); } #endif return bHasMacroLib; @@ -380,7 +380,7 @@ namespace sfx2 } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.doc"); } } return bHasMacros; diff --git a/sfx2/source/doc/doctemplates.cxx b/sfx2/source/doc/doctemplates.cxx index 2545ceed4127..7a8143e5efbf 100644 --- a/sfx2/source/doc/doctemplates.cxx +++ b/sfx2/source/doc/doctemplates.cxx @@ -2758,7 +2758,7 @@ void SfxURLRelocator_Impl::implExpandURL( OUString& io_url ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.doc"); } } diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx index ef521b3475bc..8bee369851ec 100644 --- a/sfx2/source/doc/objmisc.cxx +++ b/sfx2/source/doc/objmisc.cxx @@ -1340,7 +1340,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.doc"); } return false; } diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index f6c6e42b706a..02b5d7bcb0c5 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -3052,7 +3052,7 @@ uno::Reference< embed::XStorage > const & SfxObjectShell::GetStorage() catch( uno::Exception& ) { // TODO/LATER: error handling? - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.doc"); } } diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx index 872d8db6a91b..a7178fe48252 100644 --- a/sfx2/source/doc/objxtor.cxx +++ b/sfx2/source/doc/objxtor.cxx @@ -706,7 +706,7 @@ namespace } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.doc"); } } return _rxContainer; diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx index ce910a165e18..7cee183e8819 100644 --- a/sfx2/source/doc/sfxbasemodel.cxx +++ b/sfx2/source/doc/sfxbasemodel.cxx @@ -2296,7 +2296,7 @@ Reference< document::XEmbeddedScripts > SAL_CALL SfxBaseModel::getScriptContaine } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.doc"); xDocumentScripts = nullptr; } diff --git a/sfx2/source/notify/globalevents.cxx b/sfx2/source/notify/globalevents.cxx index cb3b322a5f8f..a94540659109 100644 --- a/sfx2/source/notify/globalevents.cxx +++ b/sfx2/source/notify/globalevents.cxx @@ -381,7 +381,7 @@ void SfxGlobalEvents_Impl::implts_checkAndExecuteEventBindings(const document::D } catch ( uno::Exception const & ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.notify"); } } diff --git a/sfx2/source/sidebar/ResourceManager.cxx b/sfx2/source/sidebar/ResourceManager.cxx index 5a4d6082285c..079ae1bf4ce3 100644 --- a/sfx2/source/sidebar/ResourceManager.cxx +++ b/sfx2/source/sidebar/ResourceManager.cxx @@ -722,7 +722,7 @@ utl::OConfigurationTreeRoot ResourceManager::GetLegacyAddonRootNode (const OUStr } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.sidebar"); } return utl::OConfigurationTreeRoot(); diff --git a/sfx2/source/view/frame2.cxx b/sfx2/source/view/frame2.cxx index 5b8c3ca73638..6fc3cff26a7d 100644 --- a/sfx2/source/view/frame2.cxx +++ b/sfx2/source/view/frame2.cxx @@ -212,7 +212,7 @@ Reference < XFrame > SfxFrame::CreateBlankFrame() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); } return xFrame; } @@ -268,7 +268,7 @@ SfxFrame* SfxFrame::CreateHidden( SfxObjectShell const & rDoc, vcl::Window& rWin } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); } return pFrame; diff --git a/sfx2/source/view/frmload.cxx b/sfx2/source/view/frmload.cxx index 80a6cbb1c37d..4b67458c34bc 100644 --- a/sfx2/source/view/frmload.cxx +++ b/sfx2/source/view/frmload.cxx @@ -227,7 +227,7 @@ std::shared_ptr<const SfxFilter> SfxFrameLoader_Impl::impl_detectFilterForURL( c } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); sFilter.clear(); } @@ -277,7 +277,7 @@ std::shared_ptr<const SfxFilter> SfxFrameLoader_Impl::impl_getFilterFromServiceN } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); } return nullptr; } @@ -298,7 +298,7 @@ OUString SfxFrameLoader_Impl::impl_askForFilter_nothrow( const Reference< XInter } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); } return sFilterName; @@ -495,7 +495,7 @@ void SfxFrameLoader_Impl::impl_handleCaughtError_nothrow( const Any& i_rCaughtEr } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); } } @@ -566,7 +566,7 @@ SfxInterfaceId SfxFrameLoader_Impl::impl_determineEffectiveViewId_nothrow( const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); } if ( nViewId == SFX_INTERFACE_NONE ) @@ -735,7 +735,7 @@ sal_Bool SAL_CALL SfxFrameLoader_Impl::load( const Sequence< PropertyValue >& rA } catch ( Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); } } diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx index 1b753c1b6a46..7618ca605c02 100644 --- a/sfx2/source/view/sfxbasecontroller.cxx +++ b/sfx2/source/view/sfxbasecontroller.cxx @@ -1222,7 +1222,7 @@ void SfxBaseController::ConnectSfxFrame_Impl( const ConnectSfxFrame i_eConnect ) } catch (const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); } } } @@ -1369,7 +1369,7 @@ void SfxBaseController::ConnectSfxFrame_Impl( const ConnectSfxFrame i_eConnect ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); } } } diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index 5fd26b8ae751..c61076dfa0f1 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -1773,7 +1773,7 @@ SfxViewFrame* SfxViewFrame::LoadViewIntoFrame_Impl_NoThrow( const SfxObjectShell } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); } if ( pSuccessView ) @@ -1787,7 +1787,7 @@ SfxViewFrame* SfxViewFrame::LoadViewIntoFrame_Impl_NoThrow( const SfxObjectShell } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); } } @@ -1944,7 +1944,7 @@ void SfxViewFrame::SaveCurrentViewData_Impl( const SfxInterfaceId i_nNewViewId ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); } } @@ -2030,7 +2030,7 @@ bool SfxViewFrame::SwitchToViewShell_Impl { // the SfxCode is not able to cope with exceptions thrown while creating views // the code will crash in the stack unwinding procedure, so we shouldn't let exceptions go through here - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("sfx.view"); return false; } diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index 7153bcccf157..686b9b75ef96 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -1063,7 +1063,7 @@ void SmDocShell::Execute(SfxRequest& rReq) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("starmath"); } } Repaint(); diff --git a/svtools/source/table/cellvalueconversion.cxx b/svtools/source/table/cellvalueconversion.cxx index 3c4728e652d0..4a07ae840725 100644 --- a/svtools/source/table/cellvalueconversion.cxx +++ b/svtools/source/table/cellvalueconversion.cxx @@ -124,7 +124,7 @@ namespace svt } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.table"); } } @@ -318,7 +318,7 @@ namespace svt } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.table"); } return io_data.xNumberFormatter.is(); @@ -419,7 +419,7 @@ namespace svt } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.table"); } } } diff --git a/svtools/source/uno/genericunodialog.cxx b/svtools/source/uno/genericunodialog.cxx index c28af0833a45..2f249df918f2 100644 --- a/svtools/source/uno/genericunodialog.cxx +++ b/svtools/source/uno/genericunodialog.cxx @@ -153,7 +153,7 @@ void SAL_CALL OGenericUnoDialog::setTitle( const OUString& _rTitle ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); // not allowed to pass } } @@ -256,7 +256,7 @@ void OGenericUnoDialog::implInitialize(const Any& _rValue) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } } diff --git a/svtools/source/uno/svtxgridcontrol.cxx b/svtools/source/uno/svtxgridcontrol.cxx index 3c644c6eb965..931e61d07750 100644 --- a/svtools/source/uno/svtxgridcontrol.cxx +++ b/svtools/source/uno/svtxgridcontrol.cxx @@ -905,7 +905,7 @@ void SVTXGridControl::impl_updateColumnsFromModel_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } } diff --git a/svtools/source/uno/unocontroltablemodel.cxx b/svtools/source/uno/unocontroltablemodel.cxx index b249e40b64f3..b0402df09602 100644 --- a/svtools/source/uno/unocontroltablemodel.cxx +++ b/svtools/source/uno/unocontroltablemodel.cxx @@ -154,7 +154,7 @@ namespace svt { namespace table } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } return nRowCount; } @@ -493,7 +493,7 @@ namespace svt { namespace table } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } } @@ -510,7 +510,7 @@ namespace svt { namespace table } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } } @@ -530,7 +530,7 @@ namespace svt { namespace table } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } return aRowHeading; } @@ -774,7 +774,7 @@ namespace svt { namespace table } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } } @@ -793,7 +793,7 @@ namespace svt { namespace table } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } return currentSort; } diff --git a/svtools/source/uno/unogridcolumnfacade.cxx b/svtools/source/uno/unogridcolumnfacade.cxx index 6c60378d518d..eb25262c96dd 100644 --- a/svtools/source/uno/unogridcolumnfacade.cxx +++ b/svtools/source/uno/unogridcolumnfacade.cxx @@ -208,7 +208,7 @@ namespace svt { namespace table } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } } @@ -240,7 +240,7 @@ namespace svt { namespace table } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } return sName; } @@ -256,7 +256,7 @@ namespace svt { namespace table } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } return sHelpText; } diff --git a/svtools/source/uno/wizard/wizardpagecontroller.cxx b/svtools/source/uno/wizard/wizardpagecontroller.cxx index 4268799640c6..1cef7220476d 100644 --- a/svtools/source/uno/wizard/wizardpagecontroller.cxx +++ b/svtools/source/uno/wizard/wizardpagecontroller.cxx @@ -68,7 +68,7 @@ namespace svt { namespace uno } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } } @@ -82,7 +82,7 @@ namespace svt { namespace uno } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } } @@ -108,7 +108,7 @@ namespace svt { namespace uno } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } return nullptr; } @@ -125,7 +125,7 @@ namespace svt { namespace uno } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } } @@ -141,7 +141,7 @@ namespace svt { namespace uno } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } return true; @@ -159,7 +159,7 @@ namespace svt { namespace uno } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } return true; diff --git a/svtools/source/uno/wizard/wizardshell.cxx b/svtools/source/uno/wizard/wizardshell.cxx index 4fa05361a3e9..b08e8a9662d3 100644 --- a/svtools/source/uno/wizard/wizardshell.cxx +++ b/svtools/source/uno/wizard/wizardshell.cxx @@ -119,7 +119,7 @@ namespace svt { namespace uno } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } } @@ -138,7 +138,7 @@ namespace svt { namespace uno } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } return true; @@ -203,7 +203,7 @@ namespace svt { namespace uno } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } // fallback for ill-behaved clients: the numeric state return OUString::number(i_nState); @@ -219,7 +219,7 @@ namespace svt { namespace uno } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } return WizardShell_Base::canAdvance(); @@ -235,7 +235,7 @@ namespace svt { namespace uno } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svtools.uno"); } return WizardShell_Base::onFinish(); diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index b0cd940d60d3..83e507a54eb2 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -969,7 +969,7 @@ void FmGridHeader::PostExecuteColumnContextMenu(sal_uInt16 nColId, const PopupMe } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx index 742db63c6cff..32bdc76ab2c9 100644 --- a/svx/source/fmcomp/fmgridif.cxx +++ b/svx/source/fmcomp/fmgridif.cxx @@ -574,7 +574,7 @@ void SAL_CALL FmXGridControl::createPeer(const Reference< css::awt::XToolkit >& } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } @@ -596,7 +596,7 @@ void SAL_CALL FmXGridControl::createPeer(const Reference< css::awt::XToolkit >& } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } Reference< css::awt::XView > xPeerView(getPeer(), UNO_QUERY); diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx index b4ac9baf0263..d5edb7c1ff5f 100644 --- a/svx/source/fmcomp/gridcell.cxx +++ b/svx/source/fmcomp/gridcell.cxx @@ -124,8 +124,8 @@ namespace } catch( const Exception& ) { + DBG_UNHANDLED_EXCEPTION("svx"); OSL_FAIL( "getModelLineEndSetting: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); } return eFormat; } @@ -254,7 +254,7 @@ void DbGridColumn::impl_toggleScriptManager_nothrow( bool _bAttach ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -571,8 +571,8 @@ DbCellControl::DbCellControl( DbGridColumn& _rColumn ) } catch( const Exception& ) { + DBG_UNHANDLED_EXCEPTION("svx"); OSL_FAIL( "DbCellControl::doPropertyListening: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); } } @@ -594,8 +594,8 @@ void DbCellControl::implDoPropertyListening(const OUString& _rPropertyName, bool } catch( const Exception& ) { + DBG_UNHANDLED_EXCEPTION("svx"); OSL_FAIL( "DbCellControl::doPropertyListening: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); } } @@ -695,7 +695,7 @@ bool DbCellControl::Commit() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } // unlock the listening for value property changes unlockValueProperty(); @@ -891,7 +891,7 @@ void DbCellControl::Init( vcl::Window& rParent, const Reference< XRowSet >& _rxC } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } m_xCursor = _rxCursor; @@ -1095,7 +1095,7 @@ void DbTextField::Init( vcl::Window& rParent, const Reference< XRowSet >& xCurso catch( const Exception& ) { OSL_FAIL( "DbTextField::Init: caught an exception while determining the multi-line capabilities!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } m_bIsSimpleEdit = !bIsMultiLine; @@ -1492,7 +1492,7 @@ OUString DbFormattedField::GetFormatText(const Reference< css::sdb::XColumn >& _ } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } aText = m_pPainter->GetText(); @@ -1537,7 +1537,7 @@ void DbFormattedField::UpdateFromField(const Reference< css::sdb::XColumn >& _rx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -1633,7 +1633,7 @@ void DbCheckBox::Init( vcl::Window& rParent, const Reference< XRowSet >& xCursor } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } DbCellControl::Init( rParent, xCursor ); @@ -1659,7 +1659,7 @@ static void lcl_setCheckBoxState( const Reference< css::sdb::XColumn >& _rxFie } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } _pCheckBoxControl->GetBox().SetState(eState); @@ -1941,7 +1941,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } return sValue; @@ -2082,7 +2082,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } return sValue; @@ -2224,7 +2224,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } return sDate; @@ -2332,7 +2332,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } return sTime; @@ -2597,7 +2597,7 @@ OUString DbListBox::GetFormatText(const Reference< css::sdb::XColumn >& _rxField } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } return sText; diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 58962a5c9142..ba4cff36d95e 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -921,7 +921,7 @@ void DbGridRow::SetState(CursorWrapper* pCur, bool bPaintCursor) } catch(SQLException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); m_aBookmark = Any(); m_eStatus = GridRowStatus::Invalid; m_bIsNew = false; @@ -1535,7 +1535,7 @@ void DbGridControl::setDataSource(const Reference< XRowSet >& _xCursor, DbGridCo } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } bool bPermanentCursor = IsPermanentCursorEnabled(); @@ -1599,7 +1599,7 @@ void DbGridControl::setDataSource(const Reference< XRowSet >& _xCursor, DbGridCo } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); m_nSeekPos = -1; } } @@ -2143,7 +2143,7 @@ bool DbGridControl::SetCurrent(long nNewRow) } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); EndCursorAction(); return false; } @@ -2441,7 +2441,7 @@ bool DbGridControl::SeekCursor(long nRow, bool bAbsolute) catch(Exception&) { OSL_FAIL("DbGridControl::SeekCursor : failed ..."); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); m_nSeekPos = -1; // no further data set available } } @@ -2523,7 +2523,7 @@ void DbGridControl::MoveToNext() } catch(SQLException &) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } if(!bOk) @@ -3016,7 +3016,7 @@ void DbGridControl::Undo() } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } EndCursorAction(); diff --git a/svx/source/form/databaselocationinput.cxx b/svx/source/form/databaselocationinput.cxx index 1f024b4bba50..f081ba554bb7 100644 --- a/svx/source/form/databaselocationinput.cxx +++ b/svx/source/form/databaselocationinput.cxx @@ -179,7 +179,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } // ensure we have at least one extension diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index 32bfa24097c9..fae5749f1f0c 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -472,7 +472,7 @@ namespace svxform } catch( Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -799,7 +799,7 @@ namespace svxform } catch ( Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return m_pItemList->InsertEntry( sName, aImage, aImage, pParent, false, TREELIST_APPEND, _pNewNode ); @@ -1546,7 +1546,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } aDlg->SetModifyDoc( bDocumentData ); @@ -1565,7 +1565,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index b5a0c9975a77..c6e4da5cc95d 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -314,7 +314,7 @@ void FmFilterAdapter::setText(sal_Int32 nRowPos, } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -338,7 +338,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return sLabelName; } @@ -353,7 +353,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return xField; } @@ -607,7 +607,7 @@ void FmFilterModel::Update(const Reference< XIndexAccess > & xControllers, FmPar } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -678,7 +678,7 @@ void FmFilterModel::SetCurrentController(const Reference< XFormController > & xC } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -707,7 +707,7 @@ void FmFilterModel::AppendFilterItems( FmFormItem& _rFormItem ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -771,7 +771,7 @@ void FmFilterModel::Remove(FmFilterData* pData) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } else // FormItems can not be deleted @@ -847,7 +847,7 @@ bool FmFilterModel::ValidateText(FmFilterItem const * pItem, OUString& rText, OU } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return false; @@ -903,7 +903,7 @@ void FmFilterModel::SetCurrentItems(FmFilterItems* pCurrent) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } if ( m_xController != pFormItem->GetController() ) diff --git a/svx/source/form/fmPropBrw.cxx b/svx/source/form/fmPropBrw.cxx index f3fd91f1f10b..6b64cd679b9e 100644 --- a/svx/source/form/fmPropBrw.cxx +++ b/svx/source/form/fmPropBrw.cxx @@ -274,7 +274,7 @@ void FmPropBrw::dispose() } catch (const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } ::SfxControllerItem::dispose(); SfxFloatingWindow::dispose(); @@ -379,7 +379,7 @@ bool FmPropBrw::implIsReadOnlyModel() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return true; } @@ -610,7 +610,7 @@ void FmPropBrw::impl_ensurePropertyBrowser_nothrow( FmFormShell* _pFormShell ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } m_xLastKnownDocument = xDocument; } diff --git a/svx/source/form/fmcontrollayout.cxx b/svx/source/form/fmcontrollayout.cxx index 22dfb220feb4..50d30afdc025 100644 --- a/svx/source/form/fmcontrollayout.cxx +++ b/svx/source/form/fmcontrollayout.cxx @@ -189,7 +189,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } diff --git a/svx/source/form/fmdocumentclassification.cxx b/svx/source/form/fmdocumentclassification.cxx index a3da6f381119..6a6ea00de881 100644 --- a/svx/source/form/fmdocumentclassification.cxx +++ b/svx/source/form/fmdocumentclassification.cxx @@ -139,7 +139,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return eType; diff --git a/svx/source/form/fmexch.cxx b/svx/source/form/fmexch.cxx index 653f93aca274..29aea2ffe67f 100644 --- a/svx/source/form/fmexch.cxx +++ b/svx/source/form/fmexch.cxx @@ -66,7 +66,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } m_bClipboardOwner = false; } diff --git a/svx/source/form/fmobj.cxx b/svx/source/form/fmobj.cxx index 98180032ebbf..5863ec9f38f6 100644 --- a/svx/source/form/fmobj.cxx +++ b/svx/source/form/fmobj.cxx @@ -137,7 +137,7 @@ void FmFormObj::impl_checkRefDevice_nothrow( bool _force ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -159,7 +159,7 @@ void FmFormObj::impl_isolateControlModel_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -216,7 +216,7 @@ void FmFormObj::SetPage(SdrPage* _pNewPage) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -260,7 +260,7 @@ void FmFormObj::SetPage(SdrPage* _pNewPage) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } @@ -303,7 +303,7 @@ void FmFormObj::SetPage(SdrPage* _pNewPage) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -659,7 +659,7 @@ bool FmFormObj::EndCreate( SdrDragStat& rStat, SdrCreateCmd eCmd ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } diff --git a/svx/source/form/fmobjfac.cxx b/svx/source/form/fmobjfac.cxx index 22c9feb11499..d0169efd51c8 100644 --- a/svx/source/form/fmobjfac.cxx +++ b/svx/source/form/fmobjfac.cxx @@ -101,7 +101,7 @@ namespace catch( const Exception& ) { OSL_FAIL( "lcl_initProperty: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } diff --git a/svx/source/form/fmpgeimp.cxx b/svx/source/form/fmpgeimp.cxx index 6409103bdcf5..3d974c0eb02e 100644 --- a/svx/source/form/fmpgeimp.cxx +++ b/svx/source/form/fmpgeimp.cxx @@ -215,7 +215,7 @@ void FmFormPageImpl::initFrom( FmFormPageImpl& i_foreignImpl ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -292,7 +292,7 @@ Reference< XMap > FmFormPageImpl::impl_createControlShapeMap_nothrow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return xMap; } @@ -384,7 +384,7 @@ Reference< XForm > FmFormPageImpl::getDefaultForm() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } @@ -430,7 +430,7 @@ Reference< XForm > FmFormPageImpl::getDefaultForm() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); xForm.clear(); } @@ -625,7 +625,7 @@ OUString FmFormPageImpl::setUniqueName(const Reference< XFormComponent > & xForm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } #endif OUString sName; @@ -671,7 +671,7 @@ void FmFormPageImpl::formModelAssigned( const FmFormObj& _object ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -689,7 +689,7 @@ void FmFormPageImpl::formObjectInserted( const FmFormObj& _object ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -707,7 +707,7 @@ void FmFormPageImpl::formObjectRemoved( const FmFormObj& _object ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } diff --git a/svx/source/form/fmscriptingenv.cxx b/svx/source/form/fmscriptingenv.cxx index 53a993fb2f7d..36cb7274940f 100644 --- a/svx/source/form/fmscriptingenv.cxx +++ b/svx/source/form/fmscriptingenv.cxx @@ -918,7 +918,7 @@ namespace svxform catch( const RuntimeException& ) { throw; } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx index af82bc748a5c..0b98c9338a1e 100644 --- a/svx/source/form/fmshell.cxx +++ b/svx/source/form/fmshell.cxx @@ -1323,7 +1323,7 @@ void FmFormShell::ToggleControlFocus( const SdrUnoObj& i_rUnoObject, const SdrVi } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 3af5b2fdddc7..a21e90431d7b 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -339,7 +339,7 @@ namespace } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return -1; } @@ -677,7 +677,7 @@ Reference< css::frame::XModel > FmXFormShell::getContextDocument_Lock() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return xModel; } @@ -1239,7 +1239,7 @@ bool FmXFormShell::executeControlConversionSlot_Lock(const Reference<XFormCompon } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } @@ -1257,7 +1257,7 @@ bool FmXFormShell::executeControlConversionSlot_Lock(const Reference<XFormCompon } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } @@ -2874,7 +2874,7 @@ Reference< XControl> FmXFormShell::impl_getControl_Lock(const Reference<XControl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } OSL_ENSURE( xControl.is(), "FmXFormShell::impl_getControl: no control found!" ); @@ -2934,7 +2934,7 @@ void FmXFormShell::impl_collectFormSearchContexts_nothrow_Lock( const Reference< } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -3009,7 +3009,7 @@ void saveFilter(const Reference< runtime::XFormController >& _rxController) } catch (const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -3108,7 +3108,7 @@ void FmXFormShell::stopFiltering_Lock(bool bSave) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } @@ -3714,7 +3714,7 @@ void FmXFormShell::impl_defaultCurrentForm_nothrow_Lock() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -3818,7 +3818,7 @@ namespace } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return false; } @@ -3880,7 +3880,7 @@ void FmXFormShell::loadForms_Lock(FmFormPage* _pPage, const LoadFormsFlags _nBeh } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } // reset the form if it was loaded @@ -3974,7 +3974,7 @@ bool FmXFormShell::HasControlFocus_Lock() const } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return bHasControlFocus; diff --git a/svx/source/form/fmsrcimp.cxx b/svx/source/form/fmsrcimp.cxx index 97329b6aae5b..c37dcd92a748 100644 --- a/svx/source/form/fmsrcimp.cxx +++ b/svx/source/form/fmsrcimp.cxx @@ -301,7 +301,7 @@ FmSearchEngine::SearchResult FmSearchEngine::SearchSpecial(bool _bSearchForNull, // memorize the start position Any aStartMark; try { aStartMark = m_xSearchCursor.getBookmark(); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); return SearchResult::Error; } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("svx"); return SearchResult::Error; } FieldCollection::const_iterator iterInitialField = iterFieldLoop; @@ -324,7 +324,7 @@ FmSearchEngine::SearchResult FmSearchEngine::SearchSpecial(bool _bSearchForNull, // will definitely go wrong again, thus abort. // Before, however, so that the search continues at the current position: try { m_aPreviousLocBookmark = m_xSearchCursor.getBookmark(); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("svx"); } m_iterPreviousLocField = iterFieldLoop; // and leave return SearchResult::Error; @@ -332,7 +332,7 @@ FmSearchEngine::SearchResult FmSearchEngine::SearchSpecial(bool _bSearchForNull, Any aCurrentBookmark; try { aCurrentBookmark = m_xSearchCursor.getBookmark(); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); return SearchResult::Error; } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("svx"); return SearchResult::Error; } bMovedAround = EQUAL_BOOKMARKS(aStartMark, aCurrentBookmark) && (iterFieldLoop == iterInitialField); @@ -358,7 +358,7 @@ FmSearchEngine::SearchResult FmSearchEngine::SearchWildcard(const OUString& strE // memorize the start position Any aStartMark; try { aStartMark = m_xSearchCursor.getBookmark(); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); return SearchResult::Error; } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("svx"); return SearchResult::Error; } FieldCollection::const_iterator iterInitialField = iterFieldLoop; WildCard aSearchExpression(strExpression); @@ -394,7 +394,7 @@ FmSearchEngine::SearchResult FmSearchEngine::SearchWildcard(const OUString& strE // will definitely go wrong again, thus abort. // Before, however, so that the search continues at the current position: try { m_aPreviousLocBookmark = m_xSearchCursor.getBookmark(); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("svx"); } m_iterPreviousLocField = iterFieldLoop; // and leave return SearchResult::Error; @@ -402,7 +402,7 @@ FmSearchEngine::SearchResult FmSearchEngine::SearchWildcard(const OUString& strE Any aCurrentBookmark; try { aCurrentBookmark = m_xSearchCursor.getBookmark(); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); return SearchResult::Error; } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("svx"); return SearchResult::Error; } bMovedAround = EQUAL_BOOKMARKS(aStartMark, aCurrentBookmark) && (iterFieldLoop == iterInitialField); @@ -433,7 +433,7 @@ FmSearchEngine::SearchResult FmSearchEngine::SearchRegularApprox(const OUString& // memorize start position Any aStartMark; try { aStartMark = m_xSearchCursor.getBookmark(); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); return SearchResult::Error; } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("svx"); return SearchResult::Error; } FieldCollection::const_iterator iterInitialField = iterFieldLoop; // collect parameters @@ -513,7 +513,7 @@ FmSearchEngine::SearchResult FmSearchEngine::SearchRegularApprox(const OUString& // notification, I expect it to be displayed in the Move). // Before, however, so that the search continues at the current position: try { m_aPreviousLocBookmark = m_xSearchCursor.getBookmark(); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("svx"); } m_iterPreviousLocField = iterFieldLoop; // and leave return SearchResult::Error; @@ -521,7 +521,7 @@ FmSearchEngine::SearchResult FmSearchEngine::SearchRegularApprox(const OUString& Any aCurrentBookmark; try { aCurrentBookmark = m_xSearchCursor.getBookmark(); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); return SearchResult::Error; } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("svx"); return SearchResult::Error; } bMovedAround = EQUAL_BOOKMARKS(aStartMark, aCurrentBookmark) && (iterFieldLoop == iterInitialField); if (nFieldPos == 0) @@ -744,7 +744,7 @@ void FmSearchEngine::SetFormatterUsing(bool bSet) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } // I have to re-bind the fields, because the text exchange might take @@ -769,7 +769,7 @@ void FmSearchEngine::PropagateProgress(bool _bDontPropagateOverflow) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } m_aProgressHandler.Call(&aProgress); @@ -869,7 +869,7 @@ void FmSearchEngine::SearchNextImpl() { // memorize the position try { m_aPreviousLocBookmark = m_xSearchCursor.getBookmark(); } - catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION(); } + catch ( const Exception& ) { DBG_UNHANDLED_EXCEPTION("svx"); } m_iterPreviousLocField = iterFieldCheck; } else @@ -909,7 +909,7 @@ void FmSearchEngine::OnSearchTerminated() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } // by definition, the link must be thread-safe (I just require that), @@ -1003,7 +1003,7 @@ void FmSearchEngine::StartOver(const OUString& strExpression) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); return; } @@ -1023,7 +1023,7 @@ void FmSearchEngine::StartOverSpecial(bool _bSearchForNull) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); return; } diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx index 86ff9b51be92..53cb3009bbb4 100644 --- a/svx/source/form/fmtextcontrolshell.cxx +++ b/svx/source/form/fmtextcontrolshell.cxx @@ -195,7 +195,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } osl_atomic_decrement( &m_refCount ); @@ -280,7 +280,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } osl_atomic_decrement( &m_refCount ); @@ -466,7 +466,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return bIsReadOnlyModel; } @@ -485,7 +485,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return pWindow; @@ -512,7 +512,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return bIsRichText; } @@ -743,7 +743,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -783,7 +783,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -1042,7 +1042,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -1084,7 +1084,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } m_xActiveController = _rxController; @@ -1270,7 +1270,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } Reference< XDispatch > xDispatcher = _rxProvider->queryDispatch( aFeatureURL, OUString(), 0xFF ); if ( xDispatcher.is() ) diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx index a2f57d862acb..cffafa9aa822 100644 --- a/svx/source/form/fmundo.cxx +++ b/svx/source/form/fmundo.cxx @@ -132,7 +132,7 @@ private: } catch( Exception const & ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } FmFormModel& m_rModel; @@ -376,7 +376,7 @@ namespace } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } return false; @@ -431,7 +431,7 @@ void FmXUndoEnvironment::Inserted(FmFormObj* pObj) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -497,7 +497,7 @@ void FmXUndoEnvironment::Removed(FmFormObj* pObj) } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -594,7 +594,7 @@ void SAL_CALL FmXUndoEnvironment::propertyChange(const PropertyChangeEvent& evt) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } aSetPos = pCache->emplace(xSet,aNewEntry).first; @@ -635,7 +635,7 @@ void SAL_CALL FmXUndoEnvironment::propertyChange(const PropertyChangeEvent& evt) } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } // insert the new entry diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index a6e647c5f909..cbf975fe0a2d 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -178,7 +178,7 @@ FormViewPageWindowAdapter::FormViewPageWindowAdapter( const css::uno::Reference< } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } @@ -212,7 +212,7 @@ void FormViewPageWindowAdapter::dispose() } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -384,7 +384,7 @@ void FormViewPageWindowAdapter::updateTabOrder( const Reference< XForm >& _rxFor } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -510,7 +510,7 @@ void SAL_CALL FmXFormView::elementInserted(const ContainerEvent& evt) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -849,7 +849,7 @@ bool FmXFormView::isFocusable( const Reference< XControl >& i_rControl ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return false; } @@ -906,7 +906,7 @@ namespace } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } @@ -1003,7 +1003,7 @@ IMPL_LINK_NOARG(FmXFormView, OnAutoFocus, void*, void) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -1068,7 +1068,7 @@ IMPL_LINK_NOARG( FmXFormView, OnStartControlWizard, void*, void ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } const sal_Char* pWizardAsciiName = nullptr; @@ -1101,7 +1101,7 @@ IMPL_LINK_NOARG( FmXFormView, OnStartControlWizard, void*, void ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } if ( !xWizard.is() ) @@ -1117,7 +1117,7 @@ IMPL_LINK_NOARG( FmXFormView, OnStartControlWizard, void*, void ) } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } @@ -1372,7 +1372,7 @@ SdrObject* FmXFormView::implCreateFieldControl( const svx::ODataAccessDescriptor } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } @@ -1673,7 +1673,7 @@ bool FmXFormView::createControlLabelPair( OutputDevice const & _rOutDev, sal_Int } catch (const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } diff --git a/svx/source/form/formcontrolfactory.cxx b/svx/source/form/formcontrolfactory.cxx index 3939717ea324..053819859676 100644 --- a/svx/source/form/formcontrolfactory.cxx +++ b/svx/source/form/formcontrolfactory.cxx @@ -174,7 +174,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return sLabel; } @@ -374,7 +374,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } @@ -501,7 +501,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return nClassId; } @@ -539,7 +539,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -637,7 +637,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 40d1157461e5..2632ed1e4f62 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -287,7 +287,7 @@ ColumnInfoCache::ColumnInfoCache( const Reference< XColumnsSupplier >& _rxColSup } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -405,7 +405,7 @@ void ColumnInfoCache::initializeControls( const Sequence< Reference< XControl > } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } m_bControlsInitialized = true; @@ -830,7 +830,7 @@ void FormController::getFastPropertyValue( Any& rValue, sal_Int32 nHandle ) cons } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); aFilter.setLength(0); } } @@ -1128,7 +1128,7 @@ void FormController::disposeAllFeaturesAndDispatchers() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } m_aFeatureDispatchers.clear(); @@ -1340,7 +1340,7 @@ bool FormController::replaceControl( const Reference< XControl >& _rxExistentCon } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } Reference< XControl > xDisposeIt( bSuccess ? _rxExistentControl : _rxNewControl ); @@ -1533,7 +1533,7 @@ void FormController::modified( const EventObject& _rEvent ) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } impl_onModify(); @@ -1694,7 +1694,7 @@ void FormController::focusGained(const FocusEvent& e) catch ( const Exception& ) { // don't handle this any further. That's an ... admissible error. - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } } @@ -1919,7 +1919,7 @@ void FormController::setModel(const Reference< XTabControllerModel > & Model) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -2193,7 +2193,7 @@ void FormController::setControlLock(const Reference< XControl > & xControl) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -2720,7 +2720,7 @@ void FormController::startFormListening( const Reference< XPropertySet >& _rxFor } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -2752,7 +2752,7 @@ void FormController::stopFormListening( const Reference< XPropertySet >& _rxForm } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -3046,7 +3046,7 @@ void FormController::setFilter(::std::vector<FmFieldInfo>& rFieldInfos) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -3539,7 +3539,7 @@ vcl::Window* FormController::getDialogParentWindow() } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return pParentWindow; } @@ -3580,7 +3580,7 @@ bool FormController::checkFormComponentValidity( OUString& /* [out] */ _rFirstIn } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return true; } @@ -3605,7 +3605,7 @@ Reference< XControl > FormController::locateControl( const Reference< XControlMo } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return nullptr; } @@ -3664,7 +3664,7 @@ namespace } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return true; @@ -3754,7 +3754,7 @@ sal_Bool SAL_CALL FormController::approveRowChange(const RowChangeEvent& _rEvent } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return true; @@ -3957,7 +3957,7 @@ sal_Bool SAL_CALL FormController::approveParameter(const DatabaseParameterEvent& } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } return true; @@ -4039,7 +4039,7 @@ sal_Bool SAL_CALL FormController::confirmDelete(const RowChangeEvent& aEvent) } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return false; diff --git a/svx/source/form/formcontrolling.cxx b/svx/source/form/formcontrolling.cxx index 6144fecc933f..43c14e8faf9d 100644 --- a/svx/source/form/formcontrolling.cxx +++ b/svx/source/form/formcontrolling.cxx @@ -234,7 +234,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } osl_atomic_decrement( &m_refCount ); } @@ -249,7 +249,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -494,7 +494,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return bCanDo; } diff --git a/svx/source/form/formfeaturedispatcher.cxx b/svx/source/form/formfeaturedispatcher.cxx index 8442df2f0cdc..62b1d4635dbc 100644 --- a/svx/source/form/formfeaturedispatcher.cxx +++ b/svx/source/form/formfeaturedispatcher.cxx @@ -151,7 +151,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } diff --git a/svx/source/form/navigatortreemodel.cxx b/svx/source/form/navigatortreemodel.cxx index 95a38b4f75a1..64311e2d9f44 100644 --- a/svx/source/form/navigatortreemodel.cxx +++ b/svx/source/form/navigatortreemodel.cxx @@ -698,7 +698,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } else if ( pObj->IsGroupObject() ) @@ -724,7 +724,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } else if ( pObj->IsGroupObject() ) @@ -765,7 +765,7 @@ namespace svxform } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); return false; } } diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx index f949f0803ac4..76552c8e7006 100644 --- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx @@ -321,7 +321,7 @@ namespace sdr { namespace contact { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } _rControl.clear(); } @@ -931,7 +931,7 @@ namespace sdr { namespace contact { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -1051,7 +1051,7 @@ namespace sdr { namespace contact { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } // start listening at all aspects of the control which are interesting to us ... @@ -1118,7 +1118,7 @@ namespace sdr { namespace contact { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } if ( !bSuccess ) @@ -1202,7 +1202,7 @@ namespace sdr { namespace contact { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -1233,7 +1233,7 @@ namespace sdr { namespace contact { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -1264,7 +1264,7 @@ namespace sdr { namespace contact { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -1283,7 +1283,7 @@ namespace sdr { namespace contact { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } return bIsPrintable; } @@ -1378,7 +1378,7 @@ namespace sdr { namespace contact { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -1456,7 +1456,7 @@ namespace sdr { namespace contact { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -1636,7 +1636,7 @@ namespace sdr { namespace contact { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx index ae6c93494272..6726c2eafda3 100644 --- a/svx/source/svdraw/svdobj.cxx +++ b/svx/source/svdraw/svdobj.cxx @@ -356,7 +356,7 @@ SdrObject::~SdrObject() } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } SendUserCall(SdrUserCallType::Delete, GetLastBoundRect()); diff --git a/svx/source/svdraw/svdouno.cxx b/svx/source/svdraw/svdouno.cxx index 37bf711b05d2..6e364c33ade1 100644 --- a/svx/source/svdraw/svdouno.cxx +++ b/svx/source/svdraw/svdouno.cxx @@ -225,7 +225,7 @@ void SdrUnoObj::SetContextWritingMode( const sal_Int16 _nContextWritingMode ) } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } @@ -278,7 +278,7 @@ SdrUnoObj& SdrUnoObj::operator= (const SdrUnoObj& rObj) } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx index f32dcaf5dee1..7ff4129691ff 100644 --- a/svx/source/svdraw/svdpage.cxx +++ b/svx/source/svdraw/svdpage.cxx @@ -1191,7 +1191,7 @@ SdrPage::~SdrPage() } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } // tell all the registered PageUsers that the page is in destruction diff --git a/svx/source/unodraw/shapepropertynotifier.cxx b/svx/source/unodraw/shapepropertynotifier.cxx index 2172ae081c90..3cb762eaf937 100644 --- a/svx/source/unodraw/shapepropertynotifier.cxx +++ b/svx/source/unodraw/shapepropertynotifier.cxx @@ -139,7 +139,7 @@ namespace svx } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } } diff --git a/svx/source/xml/xmlexport.cxx b/svx/source/xml/xmlexport.cxx index 26574eb02c09..f34dcb5de520 100644 --- a/svx/source/xml/xmlexport.cxx +++ b/svx/source/xml/xmlexport.cxx @@ -121,7 +121,7 @@ bool SvxDrawingLayerExport( SdrModel* pModel, const uno::Reference<io::XOutputSt } catch(uno::Exception const&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); bDocRet = false; } @@ -230,7 +230,7 @@ bool SvxDrawingLayerImport( SdrModel* pModel, const uno::Reference<io::XInputStr } catch( uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("svx"); } if( xGraphicHelper ) diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx index b2f5fe16d9d2..66559a8766fa 100644 --- a/toolkit/source/awt/animatedimagespeer.cxx +++ b/toolkit/source/awt/animatedimagespeer.cxx @@ -158,7 +158,7 @@ namespace toolkit } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit"); } return aSizePixel; } @@ -260,7 +260,7 @@ namespace toolkit } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit"); } } @@ -283,7 +283,7 @@ namespace toolkit } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit"); } } } diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 7e5fa337fb25..47fd1e02f1cf 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -2052,7 +2052,7 @@ namespace } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit"); } return Image(); } 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; } } diff --git a/toolkit/source/helper/tkresmgr.cxx b/toolkit/source/helper/tkresmgr.cxx index 8d1de02ad0cb..f0b227ee572e 100644 --- a/toolkit/source/helper/tkresmgr.cxx +++ b/toolkit/source/helper/tkresmgr.cxx @@ -48,7 +48,7 @@ Image TkResMgr::getImageFromURL( const OUString& i_rImageURL ) } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("toolkit"); } return Image(); } diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx index 1bd0be9300b5..b76ccd7b0a7a 100644 --- a/ucb/source/ucp/ext/ucpext_content.cxx +++ b/ucb/source/ucp/ext/ucpext_content.cxx @@ -613,7 +613,7 @@ namespace ucb { namespace ucp { namespace ext } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("ucb.ucp.ext"); } m_aIsFolder.reset( bIsFolder ); return *m_aIsFolder; @@ -637,7 +637,7 @@ namespace ucb { namespace ucp { namespace ext } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("ucb.ucp.ext"); } } } diff --git a/ucb/source/ucp/ext/ucpext_datasupplier.cxx b/ucb/source/ucp/ext/ucpext_datasupplier.cxx index 255219ce02b6..93e2c21d672b 100644 --- a/ucb/source/ucp/ext/ucpext_datasupplier.cxx +++ b/ucb/source/ucp/ext/ucpext_datasupplier.cxx @@ -166,7 +166,7 @@ namespace ucb { namespace ucp { namespace ext } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("ucb.ucp.ext"); } } @@ -239,7 +239,7 @@ namespace ucb { namespace ucp { namespace ext } catch ( const IllegalIdentifierException& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("ucb.ucp.ext"); } } diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx index 42ee97c7707b..ef5d5f99066a 100644 --- a/unotools/source/config/confignode.cxx +++ b/unotools/source/config/confignode.cxx @@ -155,7 +155,7 @@ namespace utl } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("unotools"); } return sLocalName; } @@ -177,7 +177,7 @@ namespace utl } catch(Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("unotools"); } } } @@ -247,7 +247,7 @@ namespace utl } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("unotools"); } // dispose the child if it has already been created, but could not be inserted @@ -273,7 +273,7 @@ namespace utl } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("unotools"); } return insertNode(_rName,xNewChild); } @@ -441,7 +441,7 @@ namespace utl } catch(const NoSuchElementException&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("unotools"); } return aReturn; } @@ -468,7 +468,7 @@ namespace utl } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("unotools"); } return nullptr; } @@ -495,7 +495,7 @@ namespace utl } catch ( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("unotools"); } return nullptr; } @@ -541,7 +541,7 @@ namespace utl } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("unotools"); } return false; } diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx index 471a2c718c8b..5858ad8105fc 100644 --- a/unotools/source/config/lingucfg.cxx +++ b/unotools/source/config/lingucfg.cxx @@ -1118,7 +1118,7 @@ OUString SvtLinguConfig::GetVendorImageUrl_Impl( } catch (uno::Exception &) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("unotools"); } return aRes; } diff --git a/unotools/source/misc/closeveto.cxx b/unotools/source/misc/closeveto.cxx index 2aa74b142fb0..d47ecb500f86 100644 --- a/unotools/source/misc/closeveto.cxx +++ b/unotools/source/misc/closeveto.cxx @@ -119,7 +119,7 @@ namespace utl catch( const CloseVetoException& ) { } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("unotools"); } } } diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 0d95eab2ecce..c9053c00a278 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -337,7 +337,7 @@ bool UUIInteractionHelper::handleCustomRequest( const Reference< XInteractionReq } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("uui"); } return false; } @@ -871,7 +871,7 @@ UUIInteractionHelper::handleRequest_impl( } catch( const uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("uui"); } return false; } diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx index 77174c82fb93..55c613341bcd 100644 --- a/vbahelper/source/vbahelper/vbahelper.cxx +++ b/vbahelper/source/vbahelper/vbahelper.cxx @@ -685,7 +685,7 @@ PointerStyle getPointerStyle( const uno::Reference< frame::XModel >& xModel ) } catch (const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("vbahelper"); } return nPointerStyle; } diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx index 746113b6b92f..e438fb0a7efa 100644 --- a/vcl/source/control/field2.cxx +++ b/vcl/source/control/field2.cxx @@ -162,7 +162,7 @@ static bool ImplIsPatternChar( sal_Unicode cChar, sal_Char cEditMask ) catch (const css::uno::Exception&) { SAL_WARN( "vcl.control", "ImplIsPatternChar: Exception caught!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("vcl.control"); return false; } diff --git a/xmloff/source/core/SettingsExportHelper.cxx b/xmloff/source/core/SettingsExportHelper.cxx index 8e9bfa2b637b..51bc30d68ab1 100644 --- a/xmloff/source/core/SettingsExportHelper.cxx +++ b/xmloff/source/core/SettingsExportHelper.cxx @@ -507,7 +507,7 @@ void XMLSettingsExportHelper::ManipulateSetting( uno::Any& rAny, const OUString& } catch( uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.core"); } } diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index f474cb7959cb..a2baf499cabd 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -132,8 +132,7 @@ getBuildIdsProperty(uno::Reference<beans::XPropertySet> const& xImportInfo) } catch (Exception const&) { - SAL_WARN("xmloff.core", "exception getting BuildId"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.core", "exception getting BuildId"); } } return OUString(); @@ -999,8 +998,7 @@ void SAL_CALL SvXMLImport::setTargetDocument( const uno::Reference< lang::XCompo } catch (uno::Exception const&) { - SAL_WARN("xmloff.core", "exception caught"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.core"); } if (!mxEventListener.is()) { @@ -1591,13 +1589,11 @@ void SvXMLImport::AddNumberStyle(sal_Int32 nKey, const OUString& rName) } catch ( uno::Exception& ) { - SAL_WARN( "xmloff.core", "Numberformat could not be inserted"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION( "xmloff.core", "Numberformat could not be inserted"); } } else { - SAL_WARN( "xmloff.core", "not possible to create NameContainer"); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION( "xmloff.core", "not possible to create NameContainer"); } } diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index fd2ad7ca647c..313461bccc3d 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -780,7 +780,7 @@ void XMLShapeExport::exportShape(const uno::Reference< drawing::XShape >& xShape } catch(const uno::Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.draw"); } } @@ -4880,7 +4880,7 @@ void XMLShapeExport::ImpExportTableShape( const uno::Reference< drawing::XShape } catch( uno::Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.draw"); } } } @@ -4961,9 +4961,9 @@ void XMLShapeExport::ImpExportTableShape( const uno::Reference< drawing::XShape aBase64Exp.exportOfficeBinaryDataElement( uno::Reference < io::XInputStream >( xPictureStream, uno::UNO_QUERY_THROW ) ); } } - catch( uno::Exception& ) + catch( uno::Exception const & ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.draw"); } } @@ -4971,9 +4971,9 @@ void XMLShapeExport::ImpExportTableShape( const uno::Reference< drawing::XShape ImpExportGluePoints( xShape ); ImpExportDescription( xShape ); // #i68101# } - catch( uno::Exception& ) + catch( uno::Exception const & ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.draw"); } } diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index edcbcf4af1bc..3d74d57f0853 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -3921,7 +3921,7 @@ void SdXMLTableShapeContext::StartElement( const css::uno::Reference< css::xml:: } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.draw"); } const XMLPropertyMapEntry* pEntry = &aXMLTableShapeAttributes[0]; @@ -3934,7 +3934,7 @@ void SdXMLTableShapeContext::StartElement( const css::uno::Reference< css::xml:: } catch(const Exception&) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.draw"); } } } diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index ccc088d3f3a8..b846ac745732 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -509,7 +509,7 @@ namespace xmloff } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); } } } @@ -1797,7 +1797,7 @@ namespace xmloff catch( const Exception& ) { OSL_FAIL( "OControlExport::exportCellBindingAttributes: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); } } @@ -1839,7 +1839,7 @@ namespace xmloff catch( const Exception& ) { OSL_FAIL( "OControlExport::exportCellListSourceRange: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); } } @@ -1886,7 +1886,7 @@ namespace xmloff } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); } } @@ -1912,7 +1912,7 @@ namespace xmloff catch( const Exception& ) { OSL_FAIL( "OColumnExport::controlHasActiveDataBinding: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); } return false; @@ -1942,8 +1942,7 @@ namespace xmloff } catch( const Exception& ) { - OSL_FAIL( "OControlExport::controlHasUserSuppliedListEntries: caught an exception!" ); - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); } OSL_FAIL( "OControlExport::controlHasUserSuppliedListEntries: unreachable code!" ); diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index 15662c336f27..87d633bd0e5d 100644 --- a/xmloff/source/forms/elementimport.cxx +++ b/xmloff/source/forms/elementimport.cxx @@ -267,8 +267,8 @@ namespace xmloff } catch(const Exception&) { + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); OSL_FAIL("OElementImport::implApplySpecificProperties: could not set the properties (using the XMultiPropertySet)!"); - DBG_UNHANDLED_EXCEPTION(); } } @@ -288,10 +288,10 @@ namespace xmloff } catch(const Exception&) { + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); OSL_FAIL(OStringBuffer("OElementImport::implApplySpecificProperties: could not set the property \""). append(OUStringToOString(aPropValues->Name, RTL_TEXTENCODING_ASCII_US)). append("\"!").getStr()); - DBG_UNHANDLED_EXCEPTION(); } } } @@ -435,10 +435,10 @@ namespace xmloff } catch(const Exception&) { + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); OSL_FAIL(OStringBuffer("OElementImport::EndElement: could not set the property \""). append(OUStringToOString(aPropValues->Name, RTL_TEXTENCODING_ASCII_US)). append("\"!").getStr()); - DBG_UNHANDLED_EXCEPTION(); } } } @@ -978,8 +978,8 @@ namespace xmloff } catch( const Exception& ) { + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); OSL_FAIL( "OControlImport::EndElement: caught an exception while retrieving the class id!" ); - DBG_UNHANDLED_EXCEPTION(); } const sal_Char* pValueProperty = nullptr; @@ -1016,8 +1016,8 @@ namespace xmloff } catch( const Exception& ) { + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); OSL_FAIL( "OControlImport::EndElement: caught an exception while retrieving the current value property!" ); - DBG_UNHANDLED_EXCEPTION(); } } } @@ -1034,8 +1034,8 @@ namespace xmloff } catch( const Exception& ) { + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); OSL_FAIL( "OControlImport::EndElement: caught an exception while restoring the value property!" ); - DBG_UNHANDLED_EXCEPTION(); } } diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx index 78c54829edd6..1e4687c377ce 100644 --- a/xmloff/source/forms/layerexport.cxx +++ b/xmloff/source/forms/layerexport.cxx @@ -611,7 +611,7 @@ namespace xmloff } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.forms"); } } diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx index 128cd618ad35..ddcdb64c2ee0 100644 --- a/xmloff/source/text/txtstyli.cxx +++ b/xmloff/source/text/txtstyli.cxx @@ -460,7 +460,7 @@ void XMLTextStyleContext::FillPropertySet( catch( const RuntimeException& ) { throw; } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff.text"); bAutomatic = false; } } diff --git a/xmloff/source/xforms/xformsexport.cxx b/xmloff/source/xforms/xformsexport.cxx index d760754a2ef0..1b34786766e5 100644 --- a/xmloff/source/xforms/xformsexport.cxx +++ b/xmloff/source/xforms/xformsexport.cxx @@ -795,7 +795,7 @@ void getXFormsSettings( const Reference< XNameAccess >& _rXForms, Sequence< Prop } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff"); } } diff --git a/xmloff/source/xforms/xformsimport.cxx b/xmloff/source/xforms/xformsimport.cxx index 7a5220a5a7d1..7b4db9784e44 100644 --- a/xmloff/source/xforms/xformsimport.cxx +++ b/xmloff/source/xforms/xformsimport.cxx @@ -184,7 +184,7 @@ void applyXFormsSettings( const Reference< XNameAccess >& _rXForms, const Sequen } catch( const Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmloff"); } } diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx index 5de38569aeca..b4174a5da6ac 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx @@ -1109,7 +1109,7 @@ void ElementDescriptor::readDefaults( bool supportPrintable, bool supportVisible } catch( Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmlscript.xmldlg"); } // force writing of pos/size a = _xProps->getPropertyValue( "PositionX" ); diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx index 8949234d6d94..91699e4ed755 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx @@ -1583,7 +1583,7 @@ void ImportContext::importDefaults( } catch( Exception& ) { - DBG_UNHANDLED_EXCEPTION(); + DBG_UNHANDLED_EXCEPTION("xmlscript.xmldlg"); } } |