summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorDaniel Sikeler <d.sikeler94@gmail.com>2014-09-12 06:17:03 +0000
committerStephan Bergmann <sbergman@redhat.com>2014-09-18 13:12:48 +0200
commit32d6415617b5815bb5d18719f6d2df74becc0997 (patch)
tree55c7b6d7c068bb6eee60aa0a7add60cc6595513b /include/xmloff
parentd311d85a4d501a0bfef20e610169f20de896a167 (diff)
fdo#83512 Make use of OUStringHash and OStringHash
Change-Id: I33cafe68c798e3d54943ea1790fa4e73f85e525d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/nmspmap.hxx10
1 files changed, 1 insertions, 9 deletions
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 <NameSpaceEntry >, OUStringHash, OUStringEqFunc > NameSpaceHash;
+typedef ::boost::unordered_map < OUString, ::rtl::Reference <NameSpaceEntry >, OUStringHash > NameSpaceHash;
typedef ::std::map < sal_uInt16, ::rtl::Reference < NameSpaceEntry >, uInt32lt > NameSpaceMap;
class XMLOFF_DLLPUBLIC SvXMLNamespaceMap