summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-07-18 11:14:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-07-19 09:44:12 +0200
commitd3c04f1a49ebc83c9e362c8144404207825e8792 (patch)
treea27453dab0c44e774cf7bccdc052ca04301723a3 /connectivity
parent1cbca8b27e6e175631190a50a3a363e9d9b07c86 (diff)
cid#1448480 Uncaught exception
Change-Id: Ied9ff9ea5d8b40c52e20c10f709836a193d5e940 Reviewed-on: https://gerrit.libreoffice.org/75896 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/cpool/ZPoolCollection.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/cpool/ZPoolCollection.cxx b/connectivity/source/cpool/ZPoolCollection.cxx
index f5d029738780..ba07e52962e8 100644
--- a/connectivity/source/cpool/ZPoolCollection.cxx
+++ b/connectivity/source/cpool/ZPoolCollection.cxx
@@ -358,9 +358,9 @@ Reference<XInterface> OPoolCollection::openNode(const OUString& _rPath,const Ref
SAL_WARN("connectivity.cpool", "::openNode: there is no element named " <<
_rPath << "!");
}
- catch(Exception&)
+ catch(const Exception&)
{
- css::uno::Any ex( cppu::getCaughtException() );
+ css::uno::Any ex(DbgGetCaughtException());
SAL_WARN("connectivity.cpool", "OConfigurationNode::openNode: caught an exception while retrieving the node! " << exceptionToString(ex));
}
return xNode;