summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorFridrich Strba <fridrich.strba@bluewin.ch>2011-02-03 03:34:51 -0700
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-03 11:37:48 +0100
commit80194d6b139472df2bc49ac77f4c9f3aa21a516d (patch)
tree60237e1e42137a54666024412bb42b116220dd0a /registry
parente6893ddd35fa0b4aafdec89d236f49ca2cd9ab95 (diff)
Build module registry with MSVC stl
Diffstat (limited to 'registry')
-rw-r--r--registry/source/regimpl.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/registry/source/regimpl.hxx b/registry/source/regimpl.hxx
index 1e47c9d20..085accc35 100644
--- a/registry/source/regimpl.hxx
+++ b/registry/source/regimpl.hxx
@@ -168,7 +168,11 @@ private:
const rtl::OUString& sName,
sal_Int16 nSpace) const;
+#ifdef USE_MSVC_HASH_MAP
+ typedef std::hash_map< rtl::OUString, ORegKey* > KeyMap;
+#else
typedef std::hash_map< rtl::OUString, ORegKey*, rtl::OUStringHash > KeyMap;
+#endif
sal_uInt32 m_refCount;
osl::Mutex m_mutex;