summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-02-03 21:21:59 -0800
committerJoseph Powers <jpowers27@cox.net>2011-02-03 21:21:59 -0800
commitef810f3e4a9f0cb0c00761ac9b546da1709f6c68 (patch)
treec4486a9282dcd87f06bb1db2f6d55cb1238d6546 /unodevtools
parent7d5657d38d9cc9725d7a84954b3929bf2d35579f (diff)
Fix a missed ::std::hash_map to boost::unordered_map typedef
I also added the mac build directory to the gitignore.
Diffstat (limited to 'unodevtools')
-rw-r--r--unodevtools/inc/unodevtools/typemanager.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/unodevtools/inc/unodevtools/typemanager.hxx b/unodevtools/inc/unodevtools/typemanager.hxx
index 6ce53272..44d9ca3e 100644
--- a/unodevtools/inc/unodevtools/typemanager.hxx
+++ b/unodevtools/inc/unodevtools/typemanager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,21 +41,21 @@ namespace typereg { class Reader; }
#if defined( _MSC_VER ) && ( _MSC_VER < 1200 )
typedef ::std::__hash_map__
-<
+<
::rtl::OString, // Typename
RTTypeClass, // TypeClass
- HashString,
- EqualString,
+ HashString,
+ EqualString,
NewAlloc
-> T2TypeClassMap;
+> T2TypeClassMap;
#else
-typedef ::std::hash_map
-<
+typedef boost::unordered_map
+<
::rtl::OString, // Typename
RTTypeClass, // TypeClass
- HashString,
+ HashString,
EqualString
-> T2TypeClassMap;
+> T2TypeClassMap;
#endif
namespace unodevtools {
@@ -67,7 +67,7 @@ struct UnoTypeManagerImpl
T2TypeClassMap m_t2TypeClass;
::com::sun::star::uno::Reference<
::com::sun::star::container::XHierarchicalNameAccess> m_tdmgr;
-};
+};
class UnoTypeManager : public TypeManager
{