summaryrefslogtreecommitdiffstats
path: root/connectivity/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-03 11:56:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-03 14:54:55 +0200
commit0e493cae407cca65f58329b3319d9c836cdf5096 (patch)
tree97e90d58ea005ec20b0197f2c1663ae6275cbd4e /connectivity/source
parentloplugin:useuniqueptr in SwNode2LayImpl (diff)
downloadcore-0e493cae407cca65f58329b3319d9c836cdf5096.tar.gz
core-0e493cae407cca65f58329b3319d9c836cdf5096.zip
new loplugin:dbgunhandledexception
enforce that DBG_UNHANDLED_EXCEPTION is called first in a catch block, otherwise it cannot do it's job properly Change-Id: I906436c6861212c44f8f21552ccbceb54f15c6e1 Reviewed-on: https://gerrit.libreoffice.org/52303 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source')
-rw-r--r--connectivity/source/drivers/hsqldb/HView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/hsqldb/HView.cxx b/connectivity/source/drivers/hsqldb/HView.cxx
index 10ec3ed7a2e4..bd4e65eca2c4 100644
--- a/connectivity/source/drivers/hsqldb/HView.cxx
+++ b/connectivity/source/drivers/hsqldb/HView.cxx
@@ -130,9 +130,9 @@ namespace connectivity { namespace hsqldb
}
catch( const Exception& )
{
+ DBG_UNHANDLED_EXCEPTION("connectivity.hsqldb");
if ( bDropSucceeded )
xStatement->execute( sRestoreCommand );
- DBG_UNHANDLED_EXCEPTION("connectivity.hsqldb");
}
}