From 32d6415617b5815bb5d18719f6d2df74becc0997 Mon Sep 17 00:00:00 2001 From: Daniel Sikeler Date: Fri, 12 Sep 2014 06:17:03 +0000 Subject: fdo#83512 Make use of OUStringHash and OStringHash Change-Id: I33cafe68c798e3d54943ea1790fa4e73f85e525d Signed-off-by: Stephan Bergmann --- include/xmloff/nmspmap.hxx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'include/xmloff') diff --git a/include/xmloff/nmspmap.hxx b/include/xmloff/nmspmap.hxx index 08340cf965ba..70913f893391 100644 --- a/include/xmloff/nmspmap.hxx +++ b/include/xmloff/nmspmap.hxx @@ -50,14 +50,6 @@ public: sal_uInt16 nKey; }; -struct OUStringEqFunc -{ - bool operator()( const OUString &r1, const OUString &r2) const - { - return r1 == r2; - } -}; - struct uInt32lt { bool operator()( const sal_uInt32 &r1, const sal_uInt32 &r2) const @@ -76,7 +68,7 @@ struct QNamePairHash }; typedef ::boost::unordered_map < QNamePair, OUString, QNamePairHash > QNameCache; -typedef ::boost::unordered_map < OUString, ::rtl::Reference , OUStringHash, OUStringEqFunc > NameSpaceHash; +typedef ::boost::unordered_map < OUString, ::rtl::Reference , OUStringHash > NameSpaceHash; typedef ::std::map < sal_uInt16, ::rtl::Reference < NameSpaceEntry >, uInt32lt > NameSpaceMap; class XMLOFF_DLLPUBLIC SvXMLNamespaceMap -- cgit