summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-02 08:58:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-03 08:38:50 +0200
commit4450b2a16677431b1b9dfaa28d0b9af9e51ebdec (patch)
tree22aa13a8d13f690b8498ec4bdb502d198593fcab /basctl
parentd76281864b0e83812c0edf7490b1e8271e89fff5 (diff)
pass area param to DBG_UNHANDLED_EXCEPTION
and update sallogareas plugin to enforce this Change-Id: Id0782c8a1f619372e10d931aec3c6a4743a4c86a Reviewed-on: https://gerrit.libreoffice.org/52249 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside3.cxx2
-rw-r--r--basctl/source/basicide/basides3.cxx2
-rw-r--r--basctl/source/basicide/basidesh.cxx4
-rw-r--r--basctl/source/basicide/bastype2.cxx8
-rw-r--r--basctl/source/basicide/doceventnotifier.cxx2
-rw-r--r--basctl/source/basicide/documentenumeration.cxx6
-rw-r--r--basctl/source/basicide/moduldl2.cxx4
-rw-r--r--basctl/source/basicide/moduldlg.cxx8
-rw-r--r--basctl/source/basicide/scriptdocument.cxx52
-rw-r--r--basctl/source/dlged/propbrw.cxx4
10 files changed, 46 insertions, 46 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");
}
}