summaryrefslogtreecommitdiff
path: root/winaccessibility/source
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2022-02-28 11:54:09 +0000
committerMichael Weghorn <m.weghorn@posteo.de>2022-02-28 17:43:37 +0100
commit7dd7bd7d9ff03fe2038943f5460a95163bec5e04 (patch)
treecc76acdf73bb407f055eea2003e7b016b2ecb333 /winaccessibility/source
parent3cde1fe16965d2b976c6c1210e81f17ae352b79f (diff)
wina11y: Drop another 'using' directive
This is similar to Change-Id: If4b295548468067c65afcd1a216d29cad9e0c213 ("wina11y: Unify how AccessibleRole is referred to here"), just for `AccessibleStateType`. Change-Id: I5e99fad42dab87e0e303e5a08c610f6af77641ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130700 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'winaccessibility/source')
-rw-r--r--winaccessibility/source/service/AccObjectWinManager.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx
index 13b6bd640bf2..5c1f021d422a 100644
--- a/winaccessibility/source/service/AccObjectWinManager.cxx
+++ b/winaccessibility/source/service/AccObjectWinManager.cxx
@@ -46,7 +46,6 @@
using namespace com::sun::star::accessibility;
-using namespace com::sun::star::accessibility::AccessibleStateType;
using namespace com::sun::star::uno;
/**
@@ -1062,7 +1061,7 @@ bool AccObjectWinManager::IsStateManageDescendant(XAccessible* pAccessible)
int count = pStates.getLength();
for( int iIndex = 0;iIndex < count;iIndex++ )
{
- if(pStates[iIndex] == /*AccessibleStateType::*/MANAGES_DESCENDANTS)
+ if (pStates[iIndex] == AccessibleStateType::MANAGES_DESCENDANTS)
return true;
}
}