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

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Sat Aug 29 09:40:32 UTC 2020


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

New commits:
commit 2c0ce6d89c3b1ab9febd085520330f01f89c3b9a
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Fri Aug 28 14:35:11 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sat Aug 29 11:39:41 2020 +0200

    Fix typo in code
    
    It passed "make check" on Linux
    
    Change-Id: Id0ebc90cf8029efc543344615333c522a7c0fc4c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101621
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/connectivity/source/cpool/ZPoolCollection.cxx b/connectivity/source/cpool/ZPoolCollection.cxx
index 00e5bee0fd84..629d8b7da097 100644
--- a/connectivity/source/cpool/ZPoolCollection.cxx
+++ b/connectivity/source/cpool/ZPoolCollection.cxx
@@ -246,13 +246,13 @@ bool OPoolCollection::isPoolingEnabledByUrl(const OUString& _sUrl,
     _rxDriver = m_xManager->getDriverByURL(_sUrl);
     if (_rxDriver.is() && isPoolingEnabled())
     {
-        Reference< XServiceInfo > xSerivceInfo(_rxDriver,UNO_QUERY);
-        OSL_ENSURE(xSerivceInfo.is(),"Each driver should have a XServiceInfo interface!");
+        Reference< XServiceInfo > xServiceInfo(_rxDriver,UNO_QUERY);
+        OSL_ENSURE(xServiceInfo.is(),"Each driver should have a XServiceInfo interface!");
 
-        if(xSerivceInfo.is())
+        if(xServiceInfo.is())
         {
             // look for the implementation name of the driver
-            _rsImplName = xSerivceInfo->getImplementationName();
+            _rsImplName = xServiceInfo->getImplementationName();
             bEnabled = isDriverPoolingEnabled(_rsImplName,_rxDriverNode);
         }
     }


More information about the Libreoffice-commits mailing list