diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2020-08-28 14:35:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-29 11:39:41 +0200 |
commit | 2c0ce6d89c3b1ab9febd085520330f01f89c3b9a (patch) | |
tree | 8087366cbb12d49a4ae3b4af5b972eab55d273c9 /connectivity | |
parent | 64adc6d74d8d17689d2eb2f3bf7e7186565996a2 (diff) |
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@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/cpool/ZPoolCollection.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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); } } |