summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-05 13:18:52 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-05 13:18:52 +0100
commitbb564bec137f76dfa099a1cdda3cf39367a6fe50 (patch)
treee444279823cc1fc9dd07196ea8008720db49248a /xmlscript
parent5ace73b0896ce36a1ea86fb1c3cb9040f12a3e17 (diff)
migrate to use boost unordered containers
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xml_helper/xml_impctx.cxx8
1 files changed, 4 insertions, 4 deletions
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 <vector>
-#include <hash_map>
+#include <boost/unordered_map.hpp>
#include <memory>
@@ -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