From bb564bec137f76dfa099a1cdda3cf39367a6fe50 Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Sat, 5 Feb 2011 13:18:52 +0100 Subject: migrate to use boost unordered containers --- xmlscript/source/xml_helper/xml_impctx.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xmlscript') diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx index 9edccbf9bff4..646fadfb1b9f 100644 --- a/xmlscript/source/xml_helper/xml_impctx.cxx +++ b/xmlscript/source/xml_helper/xml_impctx.cxx @@ -43,7 +43,7 @@ #include "com/sun/star/uno/XComponentContext.hpp" #include -#include +#include #include @@ -71,8 +71,8 @@ OUString getImplementationName_DocumentHandlerImpl() "com.sun.star.comp.xml.input.SaxDocumentHandler") ); } -typedef ::std::hash_map< OUString, sal_Int32, OUStringHash > t_OUString2LongMap; -typedef ::std::hash_map< sal_Int32, OUString > t_Long2OUStringMap; +typedef ::boost::unordered_map< OUString, sal_Int32, OUStringHash > t_OUString2LongMap; +typedef ::boost::unordered_map< sal_Int32, OUString > t_Long2OUStringMap; struct PrefixEntry { @@ -82,7 +82,7 @@ struct PrefixEntry { m_Uids.reserve( 4 ); } }; -typedef ::std::hash_map< +typedef ::boost::unordered_map< OUString, PrefixEntry *, OUStringHash > t_OUString2PrefixMap; struct ElementEntry -- cgit