summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-28 23:26:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-29 10:55:26 +0100
commit0b4e276445916b097c00345cb8e93706075cf0a2 (patch)
treefd9bac3c1cfd48cc0910f88064f7d8fab5d14fa9 /accessibility
parent499a46c030bf0250c585ed6cde56fc017a9c73fc (diff)
catch by const ref
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxTable.cxx2
-rw-r--r--accessibility/source/extended/AccessibleGridControlTable.cxx2
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx2
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:"