Kaydet (Commit) 8d52cd0b authored tarafından Thomas Arnhold's avatar Thomas Arnhold

cppcheck: Exception should be caught by reference

Change-Id: Id3d49f976fc40d460163f43f567b3e997d1cd58e
üst 4f51d28a
......@@ -189,7 +189,7 @@ sal_Int32 SAL_CALL SwAccessibleDocumentBase::getAccessibleIndexInParent (void)
if( xAcc->getAccessibleChild( i ) == xThis )
return i;
}
catch(::com::sun::star::lang::IndexOutOfBoundsException e)
catch(::com::sun::star::lang::IndexOutOfBoundsException)
{
return -1L;
}
......@@ -253,7 +253,7 @@ awt::Rectangle SAL_CALL SwAccessibleDocumentBase::getBounds()
return aBox;
}
catch(::com::sun::star::lang::IndexOutOfBoundsException e)
catch(::com::sun::star::lang::IndexOutOfBoundsException)
{
return awt::Rectangle();
}
......
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