summaryrefslogtreecommitdiffstats
path: root/xmlscript/source/xml_helper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-01 19:58:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-02 16:14:36 +0000
commitfd1372ba8b1c3eb3c7fad6d9c623176c8071f31b (patch)
tree448f0d04f780007b3eeeb76b7c4c8c54cbfd6d9b /xmlscript/source/xml_helper
parentiss is unordered_multimap, so can't rely on order (diff)
downloadcore-fd1372ba8b1c3eb3c7fad6d9c623176c8071f31b.tar.gz
core-fd1372ba8b1c3eb3c7fad6d9c623176c8071f31b.zip
boost::unordered_map->std::unordered_map
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
Diffstat (limited to 'xmlscript/source/xml_helper')
-rw-r--r--xmlscript/source/xml_helper/xml_impctx.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx
index df6b4a97c4ba..886b076d1952 100644
--- a/xmlscript/source/xml_helper/xml_impctx.cxx
+++ b/xmlscript/source/xml_helper/xml_impctx.cxx
@@ -31,10 +31,9 @@
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
-#include <vector>
-#include <boost/unordered_map.hpp>
-
#include <memory>
+#include <unordered_map>
+#include <vector>
using namespace ::osl;
using namespace ::com::sun::star;
@@ -56,7 +55,7 @@ OUString getImplementationName_DocumentHandlerImpl()
return OUString( "com.sun.star.comp.xml.input.SaxDocumentHandler" );
}
-typedef ::boost::unordered_map< OUString, sal_Int32, OUStringHash > t_OUString2LongMap;
+typedef std::unordered_map< OUString, sal_Int32, OUStringHash > t_OUString2LongMap;
struct PrefixEntry
{
@@ -66,7 +65,7 @@ struct PrefixEntry
{ m_Uids.reserve( 4 ); }
};
-typedef ::boost::unordered_map<
+typedef std::unordered_map<
OUString, PrefixEntry *, OUStringHash > t_OUString2PrefixMap;
struct ElementEntry