summaryrefslogtreecommitdiff
path: root/rdbmaker/inc/codemaker/dependency.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'rdbmaker/inc/codemaker/dependency.hxx')
-rw-r--r--rdbmaker/inc/codemaker/dependency.hxx27
1 files changed, 3 insertions, 24 deletions
diff --git a/rdbmaker/inc/codemaker/dependency.hxx b/rdbmaker/inc/codemaker/dependency.hxx
index bada8239de73..1f80faee6b95 100644
--- a/rdbmaker/inc/codemaker/dependency.hxx
+++ b/rdbmaker/inc/codemaker/dependency.hxx
@@ -29,7 +29,7 @@
#ifndef _CODEMAKER_DEPENDENCY_HXX_
#define _CODEMAKER_DEPENDENCY_HXX_
-#include <hash_map>
+#include <boost/unordered_map.hpp>
#include <registry/registry.hxx>
#include <registry/reflread.hxx>
#include <codemaker/typemanager.hxx>
@@ -80,26 +80,7 @@ struct LessTypeUsing
typedef ::std::set< TypeUsing, LessTypeUsing > TypeUsingSet;
-#if (defined( _MSC_VER ) && ( _MSC_VER < 1200 ))
-typedef ::std::__hash_map__
-<
- ::rtl::OString,
- TypeUsingSet,
- HashString,
- EqualString,
- NewAlloc
-> DependencyMap;
-
-typedef ::std::__hash_map__
-<
- ::rtl::OString,
- sal_uInt16,
- HashString,
- EqualString,
- NewAlloc
-> GenerationMap;
-#else
-typedef ::std::hash_map
+typedef ::boost::unordered_map
<
::rtl::OString,
TypeUsingSet,
@@ -107,7 +88,7 @@ typedef ::std::hash_map
EqualString
> DependencyMap;
-typedef ::std::hash_map
+typedef ::boost::unordered_map
<
::rtl::OString,
sal_uInt16,
@@ -115,8 +96,6 @@ typedef ::std::hash_map
EqualString
> GenerationMap;
-#endif
-
struct TypeDependencyImpl
{
TypeDependencyImpl()