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

New commits:
commit 2c0ce6d89c3b1ab9febd085520330f01f89c3b9a
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Fri Aug 28 14:35:11 2020 +0200
Commit:     Noel Grandin <noel.gran...@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.gran...@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);
         }
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to