summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-11-19 21:49:35 +0100
committerMichael Stahl <mstahl@redhat.com>2013-11-20 01:33:41 +0100
commita47b9828f93dad3c3ede789f1814e959cea19a66 (patch)
treeb1b335a581639e62274371dec1ea6997b27cadcc /winaccessibility
parent996a99355603b709d8fa4fbd1c39a914d0afa360 (diff)
winaccessibility: remove pointless default less functors
Change-Id: I5819d733b76c916058698b5e5b8ee338dcf25723
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/inc/AccObject.hxx10
-rw-r--r--winaccessibility/inc/AccObjectWinManager.hxx31
2 files changed, 6 insertions, 35 deletions
diff --git a/winaccessibility/inc/AccObject.hxx b/winaccessibility/inc/AccObject.hxx
index eef53cce0823..4f19c0fa8fd4 100644
--- a/winaccessibility/inc/AccObject.hxx
+++ b/winaccessibility/inc/AccObject.hxx
@@ -36,15 +36,7 @@ class AccEventListener;
class AccObjectManagerAgent;
class AccObject;
-struct ltstr4
-{
- bool operator()(const long s1, const long s2) const
- {
- return long(s1)<long(s2);
- }
-};
-
-typedef std::map< const long, AccObject*,ltstr4 > IAccSelectionList;
+typedef std::map<const long, AccObject*> IAccSelectionList;
typedef std::vector<AccObject *> IAccChildList;
diff --git a/winaccessibility/inc/AccObjectWinManager.hxx b/winaccessibility/inc/AccObjectWinManager.hxx
index 03ee01be112c..6d43fdd27e35 100644
--- a/winaccessibility/inc/AccObjectWinManager.hxx
+++ b/winaccessibility/inc/AccObjectWinManager.hxx
@@ -48,33 +48,12 @@ class AccObjectWinManager
friend class AccObjectManagerAgent;
private:
- struct ltstr1
- {
- bool operator()(const void* s1, const void* s2) const
- {
- return long(s1)<long(s2);
- }
- };
- struct ltstr2
- {
- bool operator()(const HWND s1, const HWND s2) const
- {
- return long(s1)<long(s2);
- }
- };
- struct ltstr3
- {
- bool operator()(const long s1, const long s2) const
- {
- return long(s1)<long(s2);
- }
- };
- typedef std::map< void*, AccObject,ltstr1 > XIdToAccObjHash;
- typedef std::map< HWND,void*,ltstr2 > XHWNDToXAccHash;
- typedef std::map< const long, AccObject*,ltstr3 > XResIdToAccObjHash;
-
- typedef std::map< const long, com::sun::star::accessibility::XAccessible*,ltstr3 > XHWNDToDocumentHash;
+ typedef std::map<void*, AccObject> XIdToAccObjHash;
+ typedef std::map<HWND, void*> XHWNDToXAccHash;
+ typedef std::map<const long, AccObject*> XResIdToAccObjHash;
+ typedef std::map<const long, com::sun::star::accessibility::XAccessible* >
+ XHWNDToDocumentHash;
//XAccessible to AccObject
XIdToAccObjHash XIdAccList;