winaccessibility/source/service/AccObjectWinManager.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 7dd7bd7d9ff03fe2038943f5460a95163bec5e04
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Mon Feb 28 11:54:09 2022 +0000
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Mon Feb 28 17:43:37 2022 +0100

    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.wegh...@posteo.de>

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;
             }
         }

Reply via email to