From c20cc7e79b3b3d8bcf9136bfdc2bab6dd6a4be06 Mon Sep 17 00:00:00 2001 From: tymyjan Date: Sun, 3 Apr 2016 17:42:53 +0200 Subject: tdf#97499 Fixed containers parameters clearing #4 Change-Id: I7c96181399f4d7e62d4aceca404b22d68f903513 Reviewed-on: https://gerrit.libreoffice.org/23754 Tested-by: Jenkins Reviewed-by: Noel Grandin --- connectivity/source/drivers/postgresql/pq_connection.hxx | 4 +--- connectivity/source/drivers/postgresql/pq_tools.hxx | 4 +--- connectivity/source/drivers/postgresql/pq_xcontainer.hxx | 3 +-- 3 files changed, 3 insertions(+), 8 deletions(-) (limited to 'connectivity/source') diff --git a/connectivity/source/drivers/postgresql/pq_connection.hxx b/connectivity/source/drivers/postgresql/pq_connection.hxx index 1d1e35a7aa3f..e8f0dbe27917 100644 --- a/connectivity/source/drivers/postgresql/pq_connection.hxx +++ b/connectivity/source/drivers/postgresql/pq_connection.hxx @@ -147,9 +147,7 @@ struct HashByteSequence typedef std::unordered_map< ::rtl::ByteSequence, ::com::sun::star::uno::WeakReference< com::sun::star::sdbc::XCloseable >, - HashByteSequence, - ::std::equal_to< ::rtl::ByteSequence > -> WeakHashMap; + HashByteSequence > WeakHashMap; typedef ::std::vector< OString > OStringVector; diff --git a/connectivity/source/drivers/postgresql/pq_tools.hxx b/connectivity/source/drivers/postgresql/pq_tools.hxx index 670e92e5f409..076f80bd95c9 100644 --- a/connectivity/source/drivers/postgresql/pq_tools.hxx +++ b/connectivity/source/drivers/postgresql/pq_tools.hxx @@ -129,9 +129,7 @@ typedef std::unordered_map < OString, OString, - OStringHash, - ::std::equal_to< OString > -> String2StringMap; + OStringHash > String2StringMap; OUString querySingleValue( const com::sun::star::uno::Reference< com::sun::star::sdbc::XConnection > &connection, diff --git a/connectivity/source/drivers/postgresql/pq_xcontainer.hxx b/connectivity/source/drivers/postgresql/pq_xcontainer.hxx index 852b206018fb..281aeb87c077 100644 --- a/connectivity/source/drivers/postgresql/pq_xcontainer.hxx +++ b/connectivity/source/drivers/postgresql/pq_xcontainer.hxx @@ -89,8 +89,7 @@ typedef std::unordered_map < OUString, sal_Int32, - OUStringHash, - ::std::equal_to< OUString > + OUStringHash > String2IntMap; typedef ::cppu::WeakComponentImplHelper -- cgit