diff options
Diffstat (limited to 'accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx')
-rw-r--r-- | accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx index f862854379b8..32be324f8710 100644 --- a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx +++ b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx @@ -267,15 +267,13 @@ void AccessibleBrowseBoxTableBase::implGetSelectedColumns( Sequence< sal_Int32 > void AccessibleBrowseBoxTableBase::ensureIsValidRow( sal_Int32 nRow ) { if( nRow >= implGetRowCount() ) - throw lang::IndexOutOfBoundsException( - OUString( "row index is invalid" ), *this ); + throw lang::IndexOutOfBoundsException( "row index is invalid", *this ); } void AccessibleBrowseBoxTableBase::ensureIsValidColumn( sal_Int32 nColumn ) { if( nColumn >= implGetColumnCount() ) - throw lang::IndexOutOfBoundsException( - OUString( "column index is invalid" ), *this ); + throw lang::IndexOutOfBoundsException( "column index is invalid", *this ); } void AccessibleBrowseBoxTableBase::ensureIsValidAddress( @@ -288,8 +286,7 @@ void AccessibleBrowseBoxTableBase::ensureIsValidAddress( void AccessibleBrowseBoxTableBase::ensureIsValidIndex( sal_Int32 nChildIndex ) { if( nChildIndex >= implGetChildCount() ) - throw lang::IndexOutOfBoundsException( - OUString( "child index is invalid" ), *this ); + throw lang::IndexOutOfBoundsException( "child index is invalid", *this ); } |