From 712fba7496cf40dd09ec26672c285ed09e55ab53 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 3 Feb 2011 03:34:51 -0700 Subject: Build module registry with MSVC stl --- registry/source/regimpl.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'registry/source') 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; -- cgit