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 /forms | |
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 'forms')
-rw-r--r-- | forms/source/component/Filter.hxx | 2 | ||||
-rw-r--r-- | forms/source/inc/InterfaceContainer.hxx | 2 | ||||
-rw-r--r-- | forms/source/inc/property.hxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/Filter.hxx b/forms/source/component/Filter.hxx index 1ce45ea84c0b..ff7225114714 100644 --- a/forms/source/component/Filter.hxx +++ b/forms/source/component/Filter.hxx @@ -65,7 +65,7 @@ namespace frm css::uno::Reference< css::sdbc::XConnection > m_xConnection; css::uno::Reference< css::awt::XWindow > m_xMessageParent; - typedef std::unordered_map< OUString, OUString, OUStringHash > MapString2String; + typedef std::unordered_map< OUString, OUString > MapString2String; MapString2String m_aDisplayItemToValueItem; OUString m_aText; diff --git a/forms/source/inc/InterfaceContainer.hxx b/forms/source/inc/InterfaceContainer.hxx index 647ccc83fee1..59d0ea530845 100644 --- a/forms/source/inc/InterfaceContainer.hxx +++ b/forms/source/inc/InterfaceContainer.hxx @@ -74,7 +74,7 @@ namespace frm }; typedef std::vector<css::uno::Reference<css::uno::XInterface>> OInterfaceArray; -typedef std::unordered_multimap< OUString, css::uno::Reference<css::uno::XInterface>, OUStringHash > OInterfaceMap; +typedef std::unordered_multimap< OUString, css::uno::Reference<css::uno::XInterface> > OInterfaceMap; // OInterfaceContainer diff --git a/forms/source/inc/property.hxx b/forms/source/inc/property.hxx index ea2ffca31e5d..346c6c6a4c9c 100644 --- a/forms/source/inc/property.hxx +++ b/forms/source/inc/property.hxx @@ -317,7 +317,7 @@ namespace frm class PropertyInfoService { - typedef std::unordered_map<OUString, sal_Int32, OUStringHash> PropertyMap; + typedef std::unordered_map<OUString, sal_Int32> PropertyMap; static PropertyMap s_AllKnownProperties; public: |