summaryrefslogtreecommitdiff
path: root/winaccessibility/inc
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-09-30 12:47:16 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-09-30 21:40:20 +0200
commit7f2fe1837d01a62ae38a06496fb6bd677d31ae2b (patch)
tree13451f020fc01a9f2386ae52a7506b5a1ad3e2d4 /winaccessibility/inc
parentfb779c2acf62332c27c4af56c54b3561adcde123 (diff)
wina11y: Drop always default AccObject::InsertChild pos param
This `pos` param never gets passed explicitly, so is always the default `LAST_CHILD`. Therefore, drop the param completely to simplify this. Change-Id: I8f51fe58b47bb2f0c18a853c81b8b6c85d4a6602 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174275 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
Diffstat (limited to 'winaccessibility/inc')
-rw-r--r--winaccessibility/inc/AccObject.hxx2
-rw-r--r--winaccessibility/inc/accHelper.hxx8
2 files changed, 1 insertions, 9 deletions
diff --git a/winaccessibility/inc/AccObject.hxx b/winaccessibility/inc/AccObject.hxx
index 208403ead1cf..1811b8f9b033 100644
--- a/winaccessibility/inc/AccObject.hxx
+++ b/winaccessibility/inc/AccObject.hxx
@@ -86,7 +86,7 @@ public:
void SetParentObj(AccObject* pParentAccObj);
AccObject* GetParentObj();
- void InsertChild( AccObject* pChild,short pos = LAST_CHILD);
+ void InsertChild(AccObject* pChild);
void DeleteChild( AccObject* pChild );
AccObject* NextChild();
diff --git a/winaccessibility/inc/accHelper.hxx b/winaccessibility/inc/accHelper.hxx
index 4e2d941c418a..99843c0359b2 100644
--- a/winaccessibility/inc/accHelper.hxx
+++ b/winaccessibility/inc/accHelper.hxx
@@ -21,14 +21,6 @@
#include "UAccCOMdllapi.h"
-enum DIRECTION
-{
- FIRST_CHILD = 0,
- LAST_CHILD = -1,
- BEFORE_CHILD = 1,
- AFTER_CHILD = 2
-};
-
#define UNO_MSAA_UNMAPPING 0x00000000
struct IMAccessible;