From 7f476fea47f06a7f8cc961dd4f6595a524346fa5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 27 Dec 2014 21:01:22 +0000 Subject: boost::unordered_map -> c++11 std::unordered_map Change-Id: I28438000c2b0a8e6ce4f5640f861f572c0cb83c8 --- include/comphelper/PropertyInfoHash.hxx | 7 ++++--- include/comphelper/numberedcollection.hxx | 6 +++--- include/comphelper/sequenceashashmap.hxx | 5 ++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/comphelper/PropertyInfoHash.hxx b/include/comphelper/PropertyInfoHash.hxx index b0c89a0b4363..365e2e4c838f 100644 --- a/include/comphelper/PropertyInfoHash.hxx +++ b/include/comphelper/PropertyInfoHash.hxx @@ -22,7 +22,8 @@ #include #include -#include +#include + namespace comphelper { struct PropertyInfo @@ -43,10 +44,10 @@ namespace comphelper }; } -typedef boost::unordered_map < OUString, +typedef std::unordered_map < OUString, ::comphelper::PropertyInfo const *, OUStringHash > PropertyInfoHash; -typedef boost::unordered_map < OUString, +typedef std::unordered_map < OUString, ::comphelper::PropertyData*, OUStringHash > PropertyDataHash; #endif diff --git a/include/comphelper/numberedcollection.hxx b/include/comphelper/numberedcollection.hxx index cd0ba95a44d0..f1d6ccc3d1df 100644 --- a/include/comphelper/numberedcollection.hxx +++ b/include/comphelper/numberedcollection.hxx @@ -30,9 +30,9 @@ #include #include #include - +#include +#include #include -#include namespace comphelper{ @@ -58,7 +58,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex ::sal_Int32 nNumber; }; - typedef ::boost::unordered_map< + typedef std::unordered_map< long , TNumberedItem , ::boost::hash< long > , diff --git a/include/comphelper/sequenceashashmap.hxx b/include/comphelper/sequenceashashmap.hxx index 7d9cdfdc5d20..cd90643a0b54 100644 --- a/include/comphelper/sequenceashashmap.hxx +++ b/include/comphelper/sequenceashashmap.hxx @@ -20,9 +20,8 @@ #ifndef INCLUDED_COMPHELPER_SEQUENCEASHASHMAP_HXX #define INCLUDED_COMPHELPER_SEQUENCEASHASHMAP_HXX -#include - #include +#include #include #include #include @@ -41,7 +40,7 @@ namespace comphelper{ such name sequences very easy ... */ -struct SequenceAsHashMapBase : public ::boost::unordered_map< +struct SequenceAsHashMapBase : public std::unordered_map< OUString , ::com::sun::star::uno::Any , OUStringHash , -- cgit