diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-06-28 09:31:43 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-06-28 09:31:43 +0000 |
commit | 527671423bcb13b74f675b01bce1d93c35b18686 (patch) | |
tree | 8d6f31126a0339e81370d0fc36a9f0eae3ec566a /connectivity/source/cpool/ZConnectionPool.cxx | |
parent | 7f51b056ec3cd61e7df2a655ec34dc485ecdf8fc (diff) |
#88719# corrected searching the pool, again
Diffstat (limited to 'connectivity/source/cpool/ZConnectionPool.cxx')
-rw-r--r-- | connectivity/source/cpool/ZConnectionPool.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/cpool/ZConnectionPool.cxx b/connectivity/source/cpool/ZConnectionPool.cxx index 7c88cb2d7ffa..4a387368fa41 100644 --- a/connectivity/source/cpool/ZConnectionPool.cxx +++ b/connectivity/source/cpool/ZConnectionPool.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ZConnectionPool.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: fs $ $Date: 2001-06-27 10:14:52 $ + * last change: $Author: fs $ $Date: 2001-06-28 10:31:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -180,7 +180,7 @@ Reference< XConnection > SAL_CALL OConnectionPool::getConnectionWithInfo( const pair<TConnectionMap::iterator, TConnectionMap::iterator> aThisURLConns = m_aPool.equal_range(_rURL); TConnectionMap::iterator aIter = aThisURLConns.first; - if (aIter != m_aPool.end()) + if (aIter != aThisURLConns.second) {// we know the url so we have to check if we found one without properties PropertyMap aMap; createPropertyMap(_rInfo,aMap); |