[Libreoffice-commits] .: accessibility/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Jul 29 02:57:33 PDT 2011
accessibility/source/extended/AccessibleBrowseBoxTable.cxx | 2 +-
accessibility/source/extended/AccessibleGridControlTable.cxx | 2 +-
accessibility/source/extended/textwindowaccessibility.cxx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 5123a06d2b197c32384e1e9f7e1e64ab697103ca
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Jul 28 23:26:49 2011 +0100
catch by const ref
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTable.cxx b/accessibility/source/extended/AccessibleBrowseBoxTable.cxx
index 171701e..a14a990 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 ae6e558..671277c 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 fd45cf8..b605ed7 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:"
More information about the Libreoffice-commits
mailing list