From ca8787a98171070c771dc167b43d5bdb98c52ce4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 4 Jan 2015 11:10:45 +0000 Subject: boost::unordered_map->std::unordered_map Change-Id: I5d458f43616edc395faa8c27edaddc7d515166db --- connectivity/source/drivers/mork/MColumnAlias.hxx | 4 ++-- connectivity/source/drivers/mork/MQueryHelper.hxx | 6 ++---- connectivity/source/drivers/mozab/MColumnAlias.hxx | 4 ++-- .../source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx | 5 ++--- connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.hxx | 4 ++-- connectivity/source/drivers/postgresql/pq_connection.hxx | 7 ++++--- connectivity/source/drivers/postgresql/pq_databasemetadata.cxx | 2 +- connectivity/source/drivers/postgresql/pq_statics.hxx | 6 ++---- connectivity/source/drivers/postgresql/pq_tools.hxx | 2 +- connectivity/source/drivers/postgresql/pq_xcontainer.hxx | 8 ++++---- 10 files changed, 22 insertions(+), 26 deletions(-) (limited to 'connectivity/source/drivers') diff --git a/connectivity/source/drivers/mork/MColumnAlias.hxx b/connectivity/source/drivers/mork/MColumnAlias.hxx index 25b992cc2364..f45453bfd159 100644 --- a/connectivity/source/drivers/mork/MColumnAlias.hxx +++ b/connectivity/source/drivers/mork/MColumnAlias.hxx @@ -24,8 +24,8 @@ #include #include +#include #include -#include namespace connectivity { @@ -50,7 +50,7 @@ namespace connectivity { } }; - typedef ::boost::unordered_map< OUString, AliasEntry, OUStringHash > AliasMap; + typedef std::unordered_map< OUString, AliasEntry, OUStringHash > AliasMap; private: AliasMap m_aAliasMap; diff --git a/connectivity/source/drivers/mork/MQueryHelper.hxx b/connectivity/source/drivers/mork/MQueryHelper.hxx index d2549c70572c..42a2c9375db1 100644 --- a/connectivity/source/drivers/mork/MQueryHelper.hxx +++ b/connectivity/source/drivers/mork/MQueryHelper.hxx @@ -26,11 +26,9 @@ #include #include #include - #include -#include - #include "MErrorResource.hxx" +#include namespace connectivity { @@ -155,7 +153,7 @@ namespace connectivity class MQueryHelperResultEntry { private: - typedef ::boost::unordered_map< OString, OUString, OStringHash > FieldMap; + typedef std::unordered_map< OString, OUString, OStringHash > FieldMap; FieldMap m_Fields; diff --git a/connectivity/source/drivers/mozab/MColumnAlias.hxx b/connectivity/source/drivers/mozab/MColumnAlias.hxx index 5c141fbb6aae..4067fd621ca6 100644 --- a/connectivity/source/drivers/mozab/MColumnAlias.hxx +++ b/connectivity/source/drivers/mozab/MColumnAlias.hxx @@ -24,8 +24,8 @@ #include #include +#include #include -#include namespace connectivity { @@ -50,7 +50,7 @@ namespace connectivity { } }; - typedef ::boost::unordered_map< OUString, AliasEntry, OUStringHash > AliasMap; + typedef std::unordered_map< OUString, AliasEntry, OUStringHash > AliasMap; private: AliasMap m_aAliasMap; diff --git a/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx b/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx index 9c346b00ddc4..a3429b70bc1f 100644 --- a/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx +++ b/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx @@ -29,8 +29,7 @@ #include -#include - +#include namespace connectivity { namespace mozab { @@ -62,7 +61,7 @@ namespace connectivity { namespace mozab { } }; - typedef ::boost::unordered_map< OString, CardPropertyData, OStringHash > MapPropertiesToAttributes; + typedef std::unordered_map< OString, CardPropertyData, OStringHash > MapPropertiesToAttributes; #define DEF_CARD_ACCESS( PropertyName ) \ &nsIAbCard::Get##PropertyName, &nsIAbCard::Set##PropertyName diff --git a/connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.hxx b/connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.hxx index cd725df1bd10..a492ca674a18 100644 --- a/connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.hxx +++ b/connectivity/source/drivers/mozab/mozillasrc/MQueryHelper.hxx @@ -32,7 +32,7 @@ #include #include -#include +#include namespace connectivity { @@ -41,7 +41,7 @@ namespace connectivity class MQueryHelperResultEntry { private: - typedef ::boost::unordered_map< OString, OUString, OStringHash > FieldMap; + typedef std::unordered_map< OString, OUString, OStringHash > FieldMap; mutable ::osl::Mutex m_aMutex; FieldMap m_Fields; 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 -#include #include #include #include @@ -57,8 +56,10 @@ #include #include +#include #include +#include 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 +#include #include #include @@ -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 -#include - #include #include #include @@ -52,6 +49,9 @@ #include +#include +#include + #include "pq_connection.hxx" #include "pq_statics.hxx" @@ -86,7 +86,7 @@ public: } }; -typedef ::boost::unordered_map +typedef std::unordered_map < OUString, sal_Int32, -- cgit