[Libreoffice-commits] core.git: connectivity/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Mar 10 06:11:11 UTC 2019


 connectivity/source/cpool/ZPoolCollection.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit 365ec7b14649b46c59e7dc3a1530b2b37bc908da
Author:     Arkadiy Illarionov <qarkai at gmail.com>
AuthorDate: Sat Mar 9 22:23:35 2019 +0300
Commit:     Noel Grandin <noel.grandin at 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.grandin at 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())


More information about the Libreoffice-commits mailing list