summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-19 17:18:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-23 08:15:35 +0200
commit87a9979c8938b800aab6e35903d60d24892e7f2e (patch)
tree6beb01f22537e63df24c023ab65d391a7bee0cf6 /forms
parentd76c4e5c9aaf8bd27ec97679bcaeba5b18aca493 (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.hxx2
-rw-r--r--forms/source/inc/InterfaceContainer.hxx2
-rw-r--r--forms/source/inc/property.hxx2
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: