-Werror,-Wshadow
Change-Id: Ic87e8aacb2e8215751422969e78cc58e18fc5a42
This commit is contained in:
parent
183dbfe3a7
commit
7f0e9654e5
1 changed files with 1 additions and 2 deletions
|
@ -348,8 +348,7 @@ short AccObjectWinManager::GetParentRole( XAccessible* pXAcc )
|
|||
pObj = pObj->GetParentObj();
|
||||
if(pObj->GetXAccessible().is())
|
||||
{
|
||||
XAccessible* pXAcc = pObj->GetXAccessible().get();
|
||||
Reference< XAccessibleContext > pRContext = pXAcc->getAccessibleContext();
|
||||
Reference< XAccessibleContext > pRContext = pObj->GetXAccessible()->getAccessibleContext();
|
||||
if(pRContext.is())
|
||||
return pRContext->getAccessibleRole();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue