From 0be5d2b2f6366b295a47a3b9d4e87091b6fd446b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 3 Jan 2015 21:24:08 +0000 Subject: boost::unordered_map->std::unordered_map Change-Id: I82f668ef72e916d2ff11df5cda2a02653999f66f --- svgio/inc/pch/precompiled_svgio.hxx | 2 +- svgio/inc/svgio/svgreader/svgdocument.hxx | 5 +++-- svgio/inc/svgio/svgreader/svgnode.hxx | 2 -- svgio/inc/svgio/svgreader/svgtoken.hxx | 1 - svgio/source/svgreader/svgtoken.cxx | 3 ++- svgio/source/svgreader/svgtools.cxx | 4 ++-- 6 files changed, 8 insertions(+), 9 deletions(-) (limited to 'svgio') diff --git a/svgio/inc/pch/precompiled_svgio.hxx b/svgio/inc/pch/precompiled_svgio.hxx index cf8ecc2d5e14..8a5e7d3ddaed 100644 --- a/svgio/inc/pch/precompiled_svgio.hxx +++ b/svgio/inc/pch/precompiled_svgio.hxx @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -65,6 +64,7 @@ #include #include #include +#include #include #include diff --git a/svgio/inc/svgio/svgreader/svgdocument.hxx b/svgio/inc/svgio/svgreader/svgdocument.hxx index 46df2542faad..0c3a9df2cba9 100644 --- a/svgio/inc/svgio/svgreader/svgdocument.hxx +++ b/svgio/inc/svgio/svgreader/svgdocument.hxx @@ -22,6 +22,7 @@ #include #include +#include namespace svgio { @@ -37,14 +38,14 @@ namespace svgio const OUString maAbsolutePath; /// hash mapper to find nodes by their id - typedef boost::unordered_map< const OUString, const SvgNode*, + typedef std::unordered_map< OUString, const SvgNode*, OUStringHash, ::std::equal_to< OUString > > IdTokenMapper; typedef std::pair< const OUString, const SvgNode* > IdTokenValueType; IdTokenMapper maIdTokenMapperList; /// hash mapper to find css styles by their id - typedef boost::unordered_map< const OUString, const SvgStyleAttributes*, OUStringHash, ::std::equal_to< OUString > > IdStyleTokenMapper; + typedef std::unordered_map< OUString, const SvgStyleAttributes*, OUStringHash, ::std::equal_to< OUString > > IdStyleTokenMapper; typedef std::pair< const OUString, const SvgStyleAttributes* > IdStyleTokenValueType; IdStyleTokenMapper maIdStyleTokenMapperList; diff --git a/svgio/inc/svgio/svgreader/svgnode.hxx b/svgio/inc/svgio/svgreader/svgnode.hxx index ac91af9085e2..d8e488d9c396 100644 --- a/svgio/inc/svgio/svgreader/svgnode.hxx +++ b/svgio/inc/svgio/svgreader/svgnode.hxx @@ -26,8 +26,6 @@ #include #include #include -#include - // predefines namespace svgio diff --git a/svgio/inc/svgio/svgreader/svgtoken.hxx b/svgio/inc/svgio/svgreader/svgtoken.hxx index e755449ea0e0..adc6783c7704 100644 --- a/svgio/inc/svgio/svgreader/svgtoken.hxx +++ b/svgio/inc/svgio/svgreader/svgtoken.hxx @@ -21,7 +21,6 @@ #define INCLUDED_SVGIO_INC_SVGIO_SVGREADER_SVGTOKEN_HXX #include -#include namespace svgio { diff --git a/svgio/source/svgreader/svgtoken.cxx b/svgio/source/svgreader/svgtoken.cxx index 989847433104..945b04588c0e 100644 --- a/svgio/source/svgreader/svgtoken.cxx +++ b/svgio/source/svgreader/svgtoken.cxx @@ -18,6 +18,7 @@ */ #include +#include namespace svgio { @@ -165,7 +166,7 @@ namespace svgio SVGToken StrToSVGToken(const OUString& rStr, bool bCaseIndependent) { - typedef boost::unordered_map< OUString, SVGToken, OUStringHash,::std::equal_to< OUString > > SVGTokenMapper; + typedef std::unordered_map< OUString, SVGToken, OUStringHash, std::equal_to< OUString > > SVGTokenMapper; typedef std::pair< OUString, SVGToken > SVGTokenValueType; static SVGTokenMapper aSVGTokenMapperList; diff --git a/svgio/source/svgreader/svgtools.cxx b/svgio/source/svgreader/svgtools.cxx index 3135631e1e5c..5ae5830c2996 100644 --- a/svgio/source/svgreader/svgtools.cxx +++ b/svgio/source/svgreader/svgtools.cxx @@ -23,7 +23,7 @@ #include #include #include -#include +#include namespace svgio { @@ -635,7 +635,7 @@ namespace svgio bool match_colorKeyword(basegfx::BColor& rColor, const OUString& rName, bool bCaseIndependent) { - typedef boost::unordered_map< OUString, Color, + typedef std::unordered_map< OUString, Color, OUStringHash, ::std::equal_to< OUString > > ColorTokenMapper; -- cgit