Kaydet (Commit) c2d4743d authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:staticcall

Change-Id: Ie8e6f615b6338b736fafda92a7991642fde47b15
üst da8bfce2
......@@ -148,7 +148,7 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxBase::getAccessibleIndexInParent()
sal_Int32 nChildCount = xParentContext->getAccessibleChildCount();
for( sal_Int32 nChild = 0; nChild < nChildCount; ++nChild )
{
xChild = xChild.query( xParentContext->getAccessibleChild( nChild ) );
xChild.set(xParentContext->getAccessibleChild( nChild ), css::uno::UNO_QUERY);
if ( xMeMyselfAndI.get() == xChild.get() )
{
......
......@@ -120,7 +120,7 @@ sal_Int32 SAL_CALL AccessibleGridControlBase::getAccessibleIndexInParent()
sal_Int32 nChildCount = xParentContext->getAccessibleChildCount();
for( sal_Int32 nChild = 0; nChild < nChildCount; ++nChild )
{
xChild = xChild.query( xParentContext->getAccessibleChild( nChild ) );
xChild.set(xParentContext->getAccessibleChild( nChild ), css::uno::UNO_QUERY);
if ( xMeMyselfAndI.get() == xChild.get() )
{
nRet = nChild;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment