diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-01 19:58:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-02 16:14:36 +0000 |
commit | fd1372ba8b1c3eb3c7fad6d9c623176c8071f31b (patch) | |
tree | 448f0d04f780007b3eeeb76b7c4c8c54cbfd6d9b /l10ntools | |
parent | c48b928acab9f226ad5ad816fe773c21051431e8 (diff) |
boost::unordered_map->std::unordered_map
you can get debug stl this way
Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/inc/cfgmerge.hxx | 5 | ||||
-rw-r--r-- | l10ntools/inc/export.hxx | 8 | ||||
-rw-r--r-- | l10ntools/inc/xmlparse.hxx | 8 | ||||
-rw-r--r-- | l10ntools/source/helpmerge.cxx | 1 |
4 files changed, 11 insertions, 11 deletions
diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx index 1eb5f55a2e58..868b01dd0983 100644 --- a/l10ntools/inc/cfgmerge.hxx +++ b/l10ntools/inc/cfgmerge.hxx @@ -23,12 +23,11 @@ #include "sal/config.h" #include <fstream> +#include <unordered_map> #include <vector> - -#include "boost/unordered_map.hpp" #include "po.hxx" -typedef boost::unordered_map<OString, OString, OStringHash> OStringHashMap; +typedef std::unordered_map<OString, OString, OStringHash> OStringHashMap; diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index 20102930c93c..f625b30a1ac8 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -29,9 +29,9 @@ #include <osl/file.hxx> #include <osl/file.h> -#include <boost/unordered_map.hpp> #include <iterator> #include <set> +#include <unordered_map> #include <vector> #include <queue> #include <string> @@ -46,10 +46,10 @@ class MergeEntrys; -typedef boost::unordered_map<OString, OString, OStringHash> +typedef std::unordered_map<OString, OString, OStringHash> OStringHashMap; -typedef boost::unordered_map<OString, bool, OStringHash> +typedef std::unordered_map<OString, bool, OStringHash> OStringBoolHashMap; #define SOURCE_LANGUAGE "en-US" @@ -247,7 +247,7 @@ class MergeData; class MergeDataHashMap { private: - typedef boost::unordered_map<OString, MergeData*, OStringHash> HashMap_t; + typedef std::unordered_map<OString, MergeData*, OStringHash> HashMap_t; public: MergeDataHashMap():bFirstSearch(true){}; diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx index bca92c1c726e..474bee685f95 100644 --- a/l10ntools/inc/xmlparse.hxx +++ b/l10ntools/inc/xmlparse.hxx @@ -32,8 +32,8 @@ #include <rtl/string.hxx> #include <rtl/strbuf.hxx> -#include "boost/unordered_map.hpp" #include "export.hxx" +#include <unordered_map> class XMLParentNode; class XMLElement; @@ -135,13 +135,13 @@ public: }; /// Mapping numeric Language code <-> XML Element -typedef boost::unordered_map<OString, XMLElement*, OStringHash> LangHashMap; +typedef std::unordered_map<OString, XMLElement*, OStringHash> LangHashMap; /// Mapping XML Element string identifier <-> Language Map -typedef boost::unordered_map<OString, LangHashMap*, OStringHash> XMLHashMap; +typedef std::unordered_map<OString, LangHashMap*, OStringHash> XMLHashMap; /// Mapping XML tag names <-> have localizable strings -typedef boost::unordered_map<OString, sal_Bool, OStringHash> TagMap; +typedef std::unordered_map<OString, sal_Bool, OStringHash> TagMap; /** Holds information of a XML file, is root node of tree */ diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx index 7411c55b89da..dd31a3a04d52 100644 --- a/l10ntools/source/helpmerge.cxx +++ b/l10ntools/source/helpmerge.cxx @@ -21,6 +21,7 @@ #include <fstream> #include <functional> +#include <memory> #include <osl/file.hxx> #include <sal/log.hxx> |