Kaydet (Commit) 7e6052f2 authored tarafından Takeshi Abe's avatar Takeshi Abe

catch exception by const ref

... redoing 8d52cd0b

Change-Id: If4935cf5f9adecbc6b42d7440747ae2ba09e9e5a
üst 74c3aded
......@@ -189,7 +189,7 @@ sal_Int32 SAL_CALL SwAccessibleDocumentBase::getAccessibleIndexInParent (void)
if( xAcc->getAccessibleChild( i ) == xThis )
return i;
}
catch(::com::sun::star::lang::IndexOutOfBoundsException)
catch(const ::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)
catch(const ::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