summaryrefslogtreecommitdiff
path: root/scripting
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 /scripting
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 'scripting')
-rw-r--r--scripting/source/dlgprov/dlgevtatt.cxx12
-rw-r--r--scripting/source/provider/ActiveMSPList.cxx4
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx2
-rw-r--r--scripting/source/provider/ProviderCache.cxx2
4 files changed, 10 insertions, 10 deletions
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");
}
}
}