diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2019-03-09 22:23:35 +0300 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-03-10 07:10:49 +0100 |
commit | 365ec7b14649b46c59e7dc3a1530b2b37bc908da (patch) | |
tree | 15ae92130a168ea808f57f5cac62ca0348a5c34f /connectivity | |
parent | f33eb08a2b74e5de033af9b5f5283b220ac58ded (diff) |
tdf#39593 use existing clearConnectionPools() method
Change-Id: I318508531b3f52da2d699e6d35c7cda72d4de115
Reviewed-on: https://gerrit.libreoffice.org/68981
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/cpool/ZPoolCollection.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
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()) |