[Libreoffice-commits] core.git: connectivity/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Jul 19 07:44:50 UTC 2019


 connectivity/source/cpool/ZPoolCollection.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d3c04f1a49ebc83c9e362c8144404207825e8792
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jul 18 11:14:06 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Jul 19 09:44:12 2019 +0200

    cid#1448480 Uncaught exception
    
    Change-Id: Ied9ff9ea5d8b40c52e20c10f709836a193d5e940
    Reviewed-on: https://gerrit.libreoffice.org/75896
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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;


More information about the Libreoffice-commits mailing list