diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-28 23:26:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-29 10:55:26 +0100 |
commit | 0b4e276445916b097c00345cb8e93706075cf0a2 (patch) | |
tree | fd9bac3c1cfd48cc0910f88064f7d8fab5d14fa9 /accessibility | |
parent | 499a46c030bf0250c585ed6cde56fc017a9c73fc (diff) |
catch by const ref
Diffstat (limited to 'accessibility')
3 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTable.cxx b/accessibility/source/extended/AccessibleBrowseBoxTable.cxx index 1e10f902cf2a..e1f3156485e9 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTable.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTable.cxx @@ -262,7 +262,7 @@ Reference< XAccessibleTable > AccessibleBrowseBoxTable::implGetHeaderBar( { xRet = xContext->getAccessibleChild( nChildIndex ); } - catch( lang::IndexOutOfBoundsException& ) + catch (const lang::IndexOutOfBoundsException&) { OSL_FAIL( "implGetHeaderBar - wrong child index" ); } diff --git a/accessibility/source/extended/AccessibleGridControlTable.cxx b/accessibility/source/extended/AccessibleGridControlTable.cxx index 4c2c5d130582..70976a1494eb 100644 --- a/accessibility/source/extended/AccessibleGridControlTable.cxx +++ b/accessibility/source/extended/AccessibleGridControlTable.cxx @@ -360,7 +360,7 @@ Reference< XAccessibleTable > AccessibleGridControlTable::implGetHeaderBar( { xRet = xContext->getAccessibleChild( nChildIndex ); } - catch( lang::IndexOutOfBoundsException& ) + catch (const lang::IndexOutOfBoundsException&) { OSL_FAIL( "implGetHeaderBar - wrong child index" ); } diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx index 3dbe462c227a..622ef04664c9 100644 --- a/accessibility/source/extended/textwindowaccessibility.cxx +++ b/accessibility/source/extended/textwindowaccessibility.cxx @@ -305,7 +305,7 @@ void SAL_CALL ParagraphImpl::grabFocus() throw (::css::uno::RuntimeException) { m_xDocument->changeParagraphSelection(this, 0, 0); } - catch (::css::lang::IndexOutOfBoundsException & rEx) + catch (const ::css::lang::IndexOutOfBoundsException & rEx) { OSL_TRACE( "textwindowaccessibility.cxx: ParagraphImpl::grabFocus:" |