summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.hxx7
-rw-r--r--connectivity/source/drivers/postgresql/pq_databasemetadata.cxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_statics.hxx6
-rw-r--r--connectivity/source/drivers/postgresql/pq_tools.hxx2
-rw-r--r--connectivity/source/drivers/postgresql/pq_xcontainer.hxx8
5 files changed, 12 insertions, 13 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.hxx b/connectivity/source/drivers/postgresql/pq_connection.hxx
index 4daa7a1c72f6..3d3bb132af74 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.hxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.hxx
@@ -38,7 +38,6 @@
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_CONNECTION_HXX
#include <config_lgpl.h>
-#include <boost/unordered_map.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/script/XTypeConverter.hpp>
@@ -57,8 +56,10 @@
#include <cppuhelper/weakref.hxx>
#include <cppuhelper/compbase6.hxx>
+#include <boost/functional/hash.hpp>
#include <libpq-fe.h>
+#include <unordered_map>
namespace pq_sdbc_driver
{
@@ -145,7 +146,7 @@ struct HashByteSequence
}
};
-typedef ::boost::unordered_map<
+typedef std::unordered_map<
::rtl::ByteSequence,
::com::sun::star::uno::WeakReference< com::sun::star::sdbc::XCloseable >,
HashByteSequence,
@@ -155,7 +156,7 @@ typedef ::std::vector< OString > OStringVector;
-typedef ::boost::unordered_map
+typedef std::unordered_map
<
const sal_Int32,
OUString,
diff --git a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
index 33c3209a4d4f..8d7695ed9ae5 100644
--- a/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
+++ b/connectivity/source/drivers/postgresql/pq_databasemetadata.cxx
@@ -1413,7 +1413,7 @@ struct DatabaseTypeDescription
OUString typeType;
};
-typedef ::boost::unordered_map
+typedef std::unordered_map
<
sal_Int32,
DatabaseTypeDescription,
diff --git a/connectivity/source/drivers/postgresql/pq_statics.hxx b/connectivity/source/drivers/postgresql/pq_statics.hxx
index a8890a811399..537017c0fb63 100644
--- a/connectivity/source/drivers/postgresql/pq_statics.hxx
+++ b/connectivity/source/drivers/postgresql/pq_statics.hxx
@@ -37,7 +37,7 @@
#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_STATICS_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_STATICS_HXX
-#include <boost/unordered_map.hpp>
+#include <unordered_map>
#include <vector>
#include <com/sun/star/uno/Any.hxx>
@@ -103,7 +103,7 @@ struct TypeDetails
bool isSearchable;
};
-typedef ::boost::unordered_map
+typedef std::unordered_map
<
OUString,
sal_Int32,
@@ -111,8 +111,6 @@ typedef ::boost::unordered_map
::std::equal_to< OUString >
> BaseTypeMap;
-
-
struct ImplementationStatics
{
ImplementationStatics() :
diff --git a/connectivity/source/drivers/postgresql/pq_tools.hxx b/connectivity/source/drivers/postgresql/pq_tools.hxx
index b3b3aebabd9e..00a385893efa 100644
--- a/connectivity/source/drivers/postgresql/pq_tools.hxx
+++ b/connectivity/source/drivers/postgresql/pq_tools.hxx
@@ -123,7 +123,7 @@ com::sun::star::uno::Sequence< sal_Int32 > string2intarray( const OUString & str
com::sun::star::uno::Sequence< OUString > convertMappedIntArray2StringArray(
const Int2StringMap &map, const com::sun::star::uno::Sequence< sal_Int32> &source );
-typedef ::boost::unordered_map
+typedef std::unordered_map
<
OString,
OString,
diff --git a/connectivity/source/drivers/postgresql/pq_xcontainer.hxx b/connectivity/source/drivers/postgresql/pq_xcontainer.hxx
index 6a867e280ca4..82110ff61677 100644
--- a/connectivity/source/drivers/postgresql/pq_xcontainer.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xcontainer.hxx
@@ -36,9 +36,6 @@
#ifndef INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XCONTAINER_HXX
#define INCLUDED_CONNECTIVITY_SOURCE_DRIVERS_POSTGRESQL_PQ_XCONTAINER_HXX
-#include <boost/unordered_map.hpp>
-#include <vector>
-
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
@@ -52,6 +49,9 @@
#include <cppuhelper/compbase8.hxx>
+#include <unordered_map>
+#include <vector>
+
#include "pq_connection.hxx"
#include "pq_statics.hxx"
@@ -86,7 +86,7 @@ public:
}
};
-typedef ::boost::unordered_map
+typedef std::unordered_map
<
OUString,
sal_Int32,