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 | 5123a06d2b197c32384e1e9f7e1e64ab697103ca (patch) | |
tree | 48feef6b8be463a8b20c584b95bee0f0c35afe00 | |
parent | 7cb18732923040b27ebd0d1f9c9bc01766d04d59 (diff) |
catch by const ref
3 files changed, 3 insertions, 3 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTable.cxx b/accessibility/source/extended/AccessibleBrowseBoxTable.cxx index 171701e39..a14a990e0 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 ae6e55824..671277cbf 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 fd45cf881..b605ed740 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:" |