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 /vcl/inc/jobset.h | |
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 'vcl/inc/jobset.h')
-rw-r--r-- | vcl/inc/jobset.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/jobset.h b/vcl/inc/jobset.h index db833018f905..35a706536b45 100644 --- a/vcl/inc/jobset.h +++ b/vcl/inc/jobset.h @@ -44,7 +44,7 @@ private: sal_uInt32 mnDriverDataLen; //< length of system specific data sal_uInt8* mpDriverData; //< system specific data (will be streamed a byte block) bool mbPapersizeFromSetup; - std::unordered_map< OUString, OUString, OUStringHash > maValueMap; + std::unordered_map< OUString, OUString > maValueMap; public: ImplJobSetup(); @@ -89,7 +89,7 @@ public: bool GetPapersizeFromSetup() const { return mbPapersizeFromSetup; } void SetPapersizeFromSetup(bool bPapersizeFromSetup); - const std::unordered_map< OUString, OUString, OUStringHash >& GetValueMap() const + const std::unordered_map< OUString, OUString >& GetValueMap() const { return maValueMap; } void SetValueMap(const OUString& rKey, const OUString& rValue); }; |