summaryrefslogtreecommitdiff
path: root/ucb/workben
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-05 13:18:52 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-05 13:18:52 +0100
commitbb564bec137f76dfa099a1cdda3cf39367a6fe50 (patch)
treee444279823cc1fc9dd07196ea8008720db49248a /ucb/workben
parent5ace73b0896ce36a1ea86fb1c3cb9040f12a3e17 (diff)
migrate to use boost unordered containers
Diffstat (limited to 'ucb/workben')
-rw-r--r--ucb/workben/cachemap/cachemapobjectcontainer2.hxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/ucb/workben/cachemap/cachemapobjectcontainer2.hxx b/ucb/workben/cachemap/cachemapobjectcontainer2.hxx
index e1d9f91b3efb..c875bb3333b7 100644
--- a/ucb/workben/cachemap/cachemapobjectcontainer2.hxx
+++ b/ucb/workben/cachemap/cachemapobjectcontainer2.hxx
@@ -34,10 +34,7 @@
#include "rtl/ref.hxx"
#include "sal/types.h"
-#ifndef INCLUDED_HASH_MAP
-#include <hash_map>
-#define INCLUDED_HASH_MAP
-#endif
+#include <boost/unordered_map.hpp>
namespace rtl {
class OUString;
@@ -57,7 +54,7 @@ public:
rtl::Reference< Object2 > get(rtl::OUString const & rKey);
private:
- typedef std::hash_map< rtl::OUString,
+ typedef boost::unordered_map< rtl::OUString,
com::sun::star::uno::WeakReference< Object2 >,
rtl::OUStringHash >
Map;