-Werror,-Wshadow

Change-Id: Ic87e8aacb2e8215751422969e78cc58e18fc5a42
This commit is contained in:
Stephan Bergmann 2016-03-04 09:50:29 +01:00
parent 183dbfe3a7
commit 7f0e9654e5

View file

@ -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();
}