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 /xmlhelp | |
parent | c48b928acab9f226ad5ad816fe773c21051431e8 (diff) |
boost::unordered_map->std::unordered_map
you can get debug stl this way
Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/databases.hxx | 20 | ||||
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/db.hxx | 6 |
2 files changed, 13 insertions, 13 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/databases.hxx b/xmlhelp/source/cxxhelp/provider/databases.hxx index 4b22947cbdff..78ec84c0ae48 100644 --- a/xmlhelp/source/cxxhelp/provider/databases.hxx +++ b/xmlhelp/source/cxxhelp/provider/databases.hxx @@ -23,9 +23,9 @@ #include <sal/config.h> #include <set> +#include <unordered_map> +#include <unordered_set> #include <vector> -#include <boost/unordered_map.hpp> -#include <boost/unordered_set.hpp> #include <osl/mutex.hxx> #include <rtl/ustring.hxx> #include <rtl/string.hxx> @@ -279,27 +279,27 @@ namespace chelp { std::vector< OUString > m_avModules; - typedef boost::unordered_map< OUString,helpdatafileproxy::Hdf*,OUStringHash > DatabasesTable; + typedef std::unordered_map< OUString,helpdatafileproxy::Hdf*,OUStringHash > DatabasesTable; DatabasesTable m_aDatabases; // Language and module dependent databases - typedef boost::unordered_map< OUString,OUString,OUStringHash > LangSetTable; + typedef std::unordered_map< OUString,OUString,OUStringHash > LangSetTable; LangSetTable m_aLangSet; // Mapping to of lang-country to lang - typedef boost::unordered_map< OUString,StaticModuleInformation*,OUStringHash > ModInfoTable; + typedef std::unordered_map< OUString,StaticModuleInformation*,OUStringHash > ModInfoTable; ModInfoTable m_aModInfo; // Module information - typedef boost::unordered_map< OUString,KeywordInfo*,OUStringHash > KeywordInfoTable; + typedef std::unordered_map< OUString,KeywordInfo*,OUStringHash > KeywordInfoTable; KeywordInfoTable m_aKeywordInfo; // Module information typedef - boost::unordered_map< + std::unordered_map< OUString, ::com::sun::star::uno::Reference< com::sun::star::container::XHierarchicalNameAccess >, OUStringHash > ZipFileTable; ZipFileTable m_aZipFileTable; // No closing of an once opened jarfile typedef - boost::unordered_map< + std::unordered_map< OUString, ::com::sun::star::uno::Reference< com::sun::star::i18n::XCollator >, OUStringHash > CollatorTable; @@ -307,7 +307,7 @@ namespace chelp { typedef - boost::unordered_set< + std::unordered_set< OString, OStringHash > EmptyActiveTextSet; EmptyActiveTextSet m_aEmptyActiveTextSet; @@ -329,7 +329,7 @@ namespace chelp { }; // Hashtable to cache extension help status - typedef boost::unordered_map + typedef std::unordered_map < OUString, bool, diff --git a/xmlhelp/source/cxxhelp/provider/db.hxx b/xmlhelp/source/cxxhelp/provider/db.hxx index 101a52c310d9..fb96ec42b593 100644 --- a/xmlhelp/source/cxxhelp/provider/db.hxx +++ b/xmlhelp/source/cxxhelp/provider/db.hxx @@ -21,9 +21,9 @@ #include <com/sun/star/ucb/XSimpleFileAccess3.hpp> -#include <boost/unordered_map.hpp> #include <osl/diagnose.h> #include <rtl/string.hxx> +#include <unordered_map> namespace helpdatafileproxy { @@ -63,8 +63,8 @@ namespace helpdatafileproxy { { return m_pBuffer; } }; - typedef boost::unordered_map< OString,std::pair<int,int>,OStringHash > StringToValPosMap; - typedef boost::unordered_map< OString,OString,OStringHash > StringToDataMap; + typedef std::unordered_map< OString,std::pair<int,int>,OStringHash > StringToValPosMap; + typedef std::unordered_map< OString,OString,OStringHash > StringToDataMap; class Hdf : hdf_internal::Noncopyable { |