[Libreoffice-commits] .: registry/source

Fridrich Strba fridrich at kemper.freedesktop.org
Thu Feb 3 02:38:01 PST 2011


 registry/source/regimpl.hxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 80194d6b139472df2bc49ac77f4c9f3aa21a516d
Author: Fridrich Strba <fridrich.strba at bluewin.ch>
Date:   Thu Feb 3 03:34:51 2011 -0700

    Build module registry with MSVC stl

diff --git a/registry/source/regimpl.hxx b/registry/source/regimpl.hxx
index 1e47c9d..085accc 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;


More information about the Libreoffice-commits mailing list