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
commit712fba7496cf40dd09ec26672c285ed09e55ab53 (patch)
tree2d6994e3f614cea1f8807d26660c13ab143f63cd /registry
parentf3b5287172693362ea9a0c277d8d0eb9c6ce3469 (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 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;