summaryrefslogtreecommitdiff
path: root/xmlscript
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
parentc48b928acab9f226ad5ad816fe773c21051431e8 (diff)
boost::unordered_map->std::unordered_map
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
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