From 6de3688cc6bd52ce08ff8a4327e59dbbc8a5c7d4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 15 Feb 2017 23:55:18 +0200 Subject: Drop :: prefix from std in c*/ Change-Id: If078cda95fa6ccd37270a5e9d81cfa0b84e71155 Reviewed-on: https://gerrit.libreoffice.org/34324 Tested-by: Jenkins Reviewed-by: Tor Lillqvist --- connectivity/source/cpool/ZConnectionPool.cxx | 14 +++++++------- connectivity/source/cpool/ZConnectionPool.hxx | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'connectivity/source/cpool') diff --git a/connectivity/source/cpool/ZConnectionPool.cxx b/connectivity/source/cpool/ZConnectionPool.cxx index a350993bd0e0..0e6be4f36039 100644 --- a/connectivity/source/cpool/ZConnectionPool.cxx +++ b/connectivity/source/cpool/ZConnectionPool.cxx @@ -77,8 +77,8 @@ OConnectionPool::~OConnectionPool() clear(false); } -struct TRemoveEventListenerFunctor : ::std::unary_function - ,::std::unary_function +struct TRemoveEventListenerFunctor : std::unary_function + ,std::unary_function { OConnectionPool* m_pConnectionPool; bool m_bDispose; @@ -113,7 +113,7 @@ struct TRemoveEventListenerFunctor : ::std::unary_function +struct TConnectionPoolFunctor : std::unary_function { OConnectionPool* m_pConnectionPool; @@ -124,7 +124,7 @@ struct TConnectionPoolFunctor : ::std::unary_functionisTicking()) m_xInvalidator->stop(); - ::std::for_each(m_aPool.begin(),m_aPool.end(),TConnectionPoolFunctor(this)); + std::for_each(m_aPool.begin(),m_aPool.end(),TConnectionPoolFunctor(this)); m_aPool.clear(); - ::std::for_each(m_aActiveConnections.begin(),m_aActiveConnections.end(),TRemoveEventListenerFunctor(this,_bDispose)); + std::for_each(m_aActiveConnections.begin(),m_aActiveConnections.end(),TRemoveEventListenerFunctor(this,_bDispose)); m_aActiveConnections.clear(); Reference< XComponent > xComponent(m_xDriverNode, UNO_QUERY); @@ -235,7 +235,7 @@ void OConnectionPool::invalidatePooledConnections() { if(!(--(aIter->second.nALiveCount))) // connections are invalid { - ::std::for_each(aIter->second.aConnections.begin(),aIter->second.aConnections.end(),TRemoveEventListenerFunctor(this,true)); + std::for_each(aIter->second.aConnections.begin(),aIter->second.aConnections.end(),TRemoveEventListenerFunctor(this,true)); aIter->second.aConnections.clear(); diff --git a/connectivity/source/cpool/ZConnectionPool.hxx b/connectivity/source/cpool/ZConnectionPool.hxx index 3430ee23c76c..890732848c90 100644 --- a/connectivity/source/cpool/ZConnectionPool.hxx +++ b/connectivity/source/cpool/ZConnectionPool.hxx @@ -62,7 +62,7 @@ namespace connectivity typedef ::cppu::WeakImplHelper< css::beans::XPropertyChangeListener> OConnectionPool_Base; // typedef for the internal structure - typedef ::std::vector< css::uno::Reference< css::sdbc::XPooledConnection> > TPooledConnections; + typedef std::vector< css::uno::Reference< css::sdbc::XPooledConnection> > TPooledConnections; // contains the currently pooled connections typedef struct @@ -83,7 +83,7 @@ namespace connectivity // typedef TDigestHolder - struct TDigestLess : public ::std::binary_function< TDigestHolder, TDigestHolder, bool> + struct TDigestLess : public std::binary_function< TDigestHolder, TDigestHolder, bool> { bool operator() (const TDigestHolder& x, const TDigestHolder& y) const { @@ -94,7 +94,7 @@ namespace connectivity } }; - typedef ::std::map< TDigestHolder,TConnectionPool,TDigestLess> TConnectionMap; + typedef std::map< TDigestHolder,TConnectionPool,TDigestLess> TConnectionMap; // contains additional information about a activeconnection which is needed to put it back to the pool typedef struct @@ -103,7 +103,7 @@ namespace connectivity css::uno::Reference< css::sdbc::XPooledConnection> xPooledConnection; } TActiveConnectionInfo; - typedef ::std::map< css::uno::Reference< css::sdbc::XConnection>, + typedef std::map< css::uno::Reference< css::sdbc::XConnection>, TActiveConnectionInfo> TActiveConnectionMap; class OConnectionPool : public OConnectionPool_Base -- cgit