summaryrefslogtreecommitdiffstats
path: root/include/unotools/atom.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-01 19:58:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-02 16:14:36 +0000
commitfd1372ba8b1c3eb3c7fad6d9c623176c8071f31b (patch)
tree448f0d04f780007b3eeeb76b7c4c8c54cbfd6d9b /include/unotools/atom.hxx
parentiss is unordered_multimap, so can't rely on order (diff)
downloadcore-fd1372ba8b1c3eb3c7fad6d9c623176c8071f31b.tar.gz
core-fd1372ba8b1c3eb3c7fad6d9c623176c8071f31b.zip
boost::unordered_map->std::unordered_map
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
Diffstat (limited to 'include/unotools/atom.hxx')
-rw-r--r--include/unotools/atom.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/unotools/atom.hxx b/include/unotools/atom.hxx
index 871085199881..96f1574ecae1 100644
--- a/include/unotools/atom.hxx
+++ b/include/unotools/atom.hxx
@@ -22,11 +22,11 @@
#include <unotools/unotoolsdllapi.h>
#include <rtl/ustring.hxx>
#include <osl/mutex.hxx>
+#include <com/sun/star/util/XAtomServer.hpp>
#include <cppuhelper/implbase1.hxx>
-
-#include <boost/unordered_map.hpp>
+#include <boost/functional/hash.hpp>
#include <list>
-#include <com/sun/star/util/XAtomServer.hpp>
+#include <unordered_map>
#define INVALID_ATOM 0
@@ -41,8 +41,8 @@ namespace utl {
class AtomProvider
{
int m_nAtoms;
- ::boost::unordered_map< int, OUString, ::boost::hash< int > > m_aStringMap;
- ::boost::unordered_map< OUString, int, OUStringHash > m_aAtomMap;
+ std::unordered_map< int, OUString, ::boost::hash< int > > m_aStringMap;
+ std::unordered_map< OUString, int, OUStringHash > m_aAtomMap;
public:
AtomProvider();
~AtomProvider();
@@ -53,7 +53,7 @@ namespace utl {
class UNOTOOLS_DLLPUBLIC MultiAtomProvider
{
- ::boost::unordered_map< int, AtomProvider*, ::boost::hash< int > > m_aAtomLists;
+ std::unordered_map< int, AtomProvider*, ::boost::hash< int > > m_aAtomLists;
public:
MultiAtomProvider();
~MultiAtomProvider();