diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-19 17:18:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-23 08:15:35 +0200 |
commit | 87a9979c8938b800aab6e35903d60d24892e7f2e (patch) | |
tree | 6beb01f22537e63df24c023ab65d391a7bee0cf6 /framework/source/services | |
parent | d76c4e5c9aaf8bd27ec97679bcaeba5b18aca493 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/source/services')
-rw-r--r-- | framework/source/services/frame.cxx | 2 | ||||
-rw-r--r-- | framework/source/services/pathsettings.cxx | 2 | ||||
-rw-r--r-- | framework/source/services/substitutepathvars.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx index 37d8032bcd04..93aa48f98431 100644 --- a/framework/source/services/frame.cxx +++ b/framework/source/services/frame.cxx @@ -419,7 +419,7 @@ private: WindowCommandDispatch* m_pWindowCommandDispatch; - typedef std::unordered_map<OUString, css::beans::Property, OUStringHash> TPropInfoHash; + typedef std::unordered_map<OUString, css::beans::Property> TPropInfoHash; TPropInfoHash m_lProps; ListenerHash m_lSimpleChangeListener; diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index 243e36f848ca..26bd6bfae718 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -136,7 +136,7 @@ class PathSettings : private cppu::BaseMutex bool bIsReadonly; }; - typedef std::unordered_map<OUString, PathSettings::PathInfo, OUStringHash> PathHash; + typedef std::unordered_map<OUString, PathSettings::PathInfo> PathHash; enum EChangeOp { diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx index d851deb0152e..ce7e0b4491ae 100644 --- a/framework/source/services/substitutepathvars.cxx +++ b/framework/source/services/substitutepathvars.cxx @@ -180,7 +180,7 @@ protected: OUString const & impl_getSubstituteVariableValue( const OUString& variable ); private: - typedef std::unordered_map<OUString, PreDefVariable, OUStringHash> + typedef std::unordered_map<OUString, PreDefVariable> VarNameToIndexMap; VarNameToIndexMap m_aPreDefVarMap; // Mapping from pre-def variable names to enum for array access |