From b589c4cd8765b0611afe435354364df891d78852 Mon Sep 17 00:00:00 2001
From: Takeshi Abe <tabe@fixedpoint.jp>
Date: Sat, 29 Oct 2016 12:43:54 +0900
Subject: Omit comparator which is the same as default std::less<key_type>

Change-Id: I72a0b618577caececaaf3eb4df53d4cb192251da
Reviewed-on: https://gerrit.libreoffice.org/30369
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
---
 ucb/source/ucp/tdoc/tdoc_docmgr.hxx          | 11 +----------
 ucb/source/ucp/webdav-neon/NeonLockStore.hxx | 10 +---------
 2 files changed, 2 insertions(+), 19 deletions(-)

(limited to 'ucb/source')

diff --git a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
index 1cace6937fe6..7dd5a07459ec 100644
--- a/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
+++ b/ucb/source/ucp/tdoc/tdoc_docmgr.hxx
@@ -54,16 +54,7 @@ namespace tdoc_ucp {
     };
 
 
-    struct ltref
-    {
-        bool operator()(
-            const OUString & r1, const OUString & r2 ) const
-        {
-            return r1 < r2;
-        }
-    };
-
-    typedef std::map< OUString, StorageInfo, ltref > DocumentList;
+    typedef std::map< OUString, StorageInfo > DocumentList;
 
 
     class OfficeDocumentsManager :
diff --git a/ucb/source/ucp/webdav-neon/NeonLockStore.hxx b/ucb/source/ucp/webdav-neon/NeonLockStore.hxx
index 8a52f1872f49..b0f968a9f208 100644
--- a/ucb/source/ucp/webdav-neon/NeonLockStore.hxx
+++ b/ucb/source/ucp/webdav-neon/NeonLockStore.hxx
@@ -43,14 +43,6 @@ namespace webdav_ucp
 class TickerThread;
 class NeonSession;
 
-struct ltptr
-{
-    bool operator()( const NeonLock * p1, const NeonLock * p2 ) const
-    {
-        return p1 < p2;
-    }
-};
-
 struct LockInfo
 {
     rtl::Reference< NeonSession > xSession;
@@ -66,7 +58,7 @@ struct LockInfo
 
 };
 
-typedef std::map< NeonLock *, LockInfo, ltptr > LockInfoMap;
+typedef std::map< NeonLock *, LockInfo > LockInfoMap;
 
 class NeonLockStore
 {
-- 
cgit