summaryrefslogtreecommitdiffstats
path: root/registry/source
diff options
context:
space:
mode:
Diffstat (limited to 'registry/source')
-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 c08721ee84d4..4ce3a116ce8d 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;