From 87a9979c8938b800aab6e35903d60d24892e7f2e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 19 Oct 2017 17:18:17 +0200 Subject: overload std::hash for OUString and OString no need to explicitly specify it anymore Change-Id: I6ad9259cce77201fdd75152533f5151aae83e9ec Reviewed-on: https://gerrit.libreoffice.org/43567 Tested-by: Jenkins Reviewed-by: Noel Grandin --- l10ntools/inc/cfgmerge.hxx | 2 +- l10ntools/inc/export.hxx | 6 +++--- l10ntools/inc/xmlparse.hxx | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'l10ntools/inc') diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx index 6ebd75998aaf..f1d993dd62d0 100644 --- a/l10ntools/inc/cfgmerge.hxx +++ b/l10ntools/inc/cfgmerge.hxx @@ -28,7 +28,7 @@ #include #include "po.hxx" -typedef std::unordered_map OStringHashMap; +typedef std::unordered_map OStringHashMap; // class CfgStackData diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx index f1930b792c76..dd5d7d600a6c 100644 --- a/l10ntools/inc/export.hxx +++ b/l10ntools/inc/export.hxx @@ -47,10 +47,10 @@ class MergeEntrys; -typedef std::unordered_map +typedef std::unordered_map OStringHashMap; -typedef std::unordered_map +typedef std::unordered_map OStringBoolHashMap; #define SOURCE_LANGUAGE "en-US" @@ -151,7 +151,7 @@ class MergeData; class MergeDataHashMap { private: - typedef std::unordered_map HashMap_t; + typedef std::unordered_map HashMap_t; public: MergeDataHashMap() diff --git a/l10ntools/inc/xmlparse.hxx b/l10ntools/inc/xmlparse.hxx index 3a057f421c96..d5fbc7a4c339 100644 --- a/l10ntools/inc/xmlparse.hxx +++ b/l10ntools/inc/xmlparse.hxx @@ -135,13 +135,13 @@ public: }; /// Mapping numeric Language code <-> XML Element -typedef std::unordered_map LangHashMap; +typedef std::unordered_map LangHashMap; /// Mapping XML Element string identifier <-> Language Map -typedef std::unordered_map XMLHashMap; +typedef std::unordered_map XMLHashMap; /// Mapping XML tag names <-> have localizable strings -typedef std::unordered_map TagMap; +typedef std::unordered_map TagMap; /** Holds information of a XML file, is root node of tree */ -- cgit