summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/inc/pch/precompiled_xmlscript.hxx2
-rw-r--r--xmlscript/source/xml_helper/xml_impctx.cxx9
2 files changed, 5 insertions, 6 deletions
diff --git a/xmlscript/inc/pch/precompiled_xmlscript.hxx b/xmlscript/inc/pch/precompiled_xmlscript.hxx
index 002f9b813ec7..d78546bb0872 100644
--- a/xmlscript/inc/pch/precompiled_xmlscript.hxx
+++ b/xmlscript/inc/pch/precompiled_xmlscript.hxx
@@ -14,7 +14,6 @@
also fixes all possible problems, so it's usually better to use it).
*/
-#include <boost/unordered_map.hpp>
#include <com/sun/star/awt/CharSet.hpp>
#include <com/sun/star/awt/FontFamily.hpp>
#include <com/sun/star/awt/FontPitch.hpp>
@@ -78,6 +77,7 @@
#include <tools/date.hxx>
#include <tools/diagnose_ex.h>
#include <tools/time.hxx>
+#include <unordered_map>
#include <vector>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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