diff options
author | Fridrich Strba <fridrich.strba@bluewin.ch> | 2011-02-03 15:26:41 -0700 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-02-03 23:39:38 +0100 |
commit | 789556321603077e6fc8ee9036f78f9eb941d8ba (patch) | |
tree | 3f06f5134c7281df35b7e1d6a06fcf4513f09f81 /cppuhelper | |
parent | 4724f82bf287ad7c66403e90c303d345c6194c8a (diff) |
move module cppuhelper to boost unordered containers
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/component_context.cxx | 5 | ||||
-rw-r--r-- | cppuhelper/source/interfacecontainer.cxx | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx index 364f66d69387..74a6f9b2e305 100644 --- a/cppuhelper/source/component_context.cxx +++ b/cppuhelper/source/component_context.cxx @@ -38,7 +38,7 @@ #endif #include <vector> -#include <hash_map> +#include <boost/unordered_map.hpp> #ifdef CONTEXT_DIAG #include <map> #endif @@ -64,7 +64,6 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include "com/sun/star/uno/RuntimeException.hpp" -#include <hash_map> #include <memory> #define SMGR_SINGLETON "/singletons/com.sun.star.lang.theServiceManager" @@ -363,7 +362,7 @@ protected: , lateInit( lateInit_ ) {} }; - typedef ::std::hash_map< OUString, ContextEntry * , OUStringHash > t_map; + typedef ::boost::unordered_map< OUString, ContextEntry * , OUStringHash > t_map; t_map m_map; Reference< lang::XMultiComponentFactory > m_xSMgr; diff --git a/cppuhelper/source/interfacecontainer.cxx b/cppuhelper/source/interfacecontainer.cxx index b7c141e425ac..b88b48495ce9 100644 --- a/cppuhelper/source/interfacecontainer.cxx +++ b/cppuhelper/source/interfacecontainer.cxx @@ -36,7 +36,7 @@ #include <osl/diagnose.h> #include <osl/mutex.hxx> -#include <hash_map> +#include <boost/unordered_map.hpp> #include <com/sun/star/lang/XEventListener.hpp> |