summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-10-26 13:08:00 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2016-10-26 08:39:09 +0000
commitc498c97f7457fe7ef34164a822c9a1e2f04e9b1d (patch)
tree6ec5c887fa9c6ba418dee904f34cfff7c2a6e305 /include/xmloff
parent41832d27c3325808333c21b9181db84ae9788978 (diff)
The default std::less<sal_uInt16> is fine
Change-Id: I29cd62ef0b687613ed9bda5170511dcae2fc6e7e Reviewed-on: https://gerrit.libreoffice.org/30282 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/nmspmap.hxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/xmloff/nmspmap.hxx b/include/xmloff/nmspmap.hxx
index b2926d9f9293..2befda493270 100644
--- a/include/xmloff/nmspmap.hxx
+++ b/include/xmloff/nmspmap.hxx
@@ -50,13 +50,6 @@ public:
sal_uInt16 nKey;
};
-struct uInt32lt
-{
- bool operator()( sal_uInt32 r1, sal_uInt32 r2) const
- {
- return r1 < r2;
- }
-};
typedef ::std::pair < sal_uInt16, OUString > QNamePair;
struct QNamePairHash
@@ -69,7 +62,7 @@ struct QNamePairHash
typedef std::unordered_map < QNamePair, OUString, QNamePairHash > QNameCache;
typedef std::unordered_map < OUString, ::rtl::Reference <NameSpaceEntry >, OUStringHash > NameSpaceHash;
-typedef std::map < sal_uInt16, ::rtl::Reference < NameSpaceEntry >, uInt32lt > NameSpaceMap;
+typedef std::map < sal_uInt16, ::rtl::Reference < NameSpaceEntry > > NameSpaceMap;
class XMLOFF_DLLPUBLIC SvXMLNamespaceMap
{