summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/uno
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 /dbaccess/source/ui/uno
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 'dbaccess/source/ui/uno')
-rw-r--r--dbaccess/source/ui/uno/composerdialogs.cxx2
-rw-r--r--dbaccess/source/ui/uno/copytablewizard.cxx10
-rw-r--r--dbaccess/source/ui/uno/dbinteraction.cxx6
-rw-r--r--dbaccess/source/ui/uno/unoDirectSql.cxx2
4 files changed, 10 insertions, 10 deletions
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())