connectivity/source/cpool/ZPoolCollection.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
New commits: commit 365ec7b14649b46c59e7dc3a1530b2b37bc908da Author: Arkadiy Illarionov <qar...@gmail.com> AuthorDate: Sat Mar 9 22:23:35 2019 +0300 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun Mar 10 07:10:49 2019 +0100 tdf#39593 use existing clearConnectionPools() method Change-Id: I318508531b3f52da2d699e6d35c7cda72d4de115 Reviewed-on: https://gerrit.libreoffice.org/68981 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 7ae66038bdf7..ae32b27c38e2 100644 --- a/connectivity/source/cpool/ZPoolCollection.cxx +++ b/connectivity/source/cpool/ZPoolCollection.cxx @@ -437,11 +437,7 @@ void SAL_CALL OPoolCollection::propertyChange( const css::beans::PropertyChangeE { m_aDriverProxies.clear(); m_aDriverProxies = MapDriver2DriverRef(); - for(auto& rEntry : m_aPools) - { - rEntry.second->clear(false); - } - m_aPools.clear(); + clearConnectionPools(false); } } else if(evt.Source.is()) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits