diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-14 09:32:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-14 11:05:59 +0200 |
commit | 48b9951779630da115086ce1fe8f4ffb5b0b4530 (patch) | |
tree | c5109374cb36b42099dc175e523d6233be240bf5 /connectivity/source/cpool | |
parent | bba7ca803cfcb316882c5f32cd28f0aa0c67591b (diff) |
loplugin:logexceptionnicely in configmgr..connectivity
Change-Id: I1cf8250dba63b744f882e54e9eb572884f292975
Reviewed-on: https://gerrit.libreoffice.org/74020
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/cpool')
-rw-r--r-- | connectivity/source/cpool/ZPoolCollection.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/cpool/ZPoolCollection.cxx b/connectivity/source/cpool/ZPoolCollection.cxx index ae32b27c38e2..f5d029738780 100644 --- a/connectivity/source/cpool/ZPoolCollection.cxx +++ b/connectivity/source/cpool/ZPoolCollection.cxx @@ -382,9 +382,9 @@ Any OPoolCollection::getNodeValue(const OUString& _rPath,const Reference<XInterf aReturn = xHierarchyAccess->getByHierarchicalName(_rPath); } } - catch(NoSuchElementException& e) + catch(const NoSuchElementException&) { - SAL_WARN("connectivity.cpool", e ); + TOOLS_WARN_EXCEPTION("connectivity.cpool", "" ); } return aReturn; } |