diff options
Diffstat (limited to 'accessibility/source/standard')
31 files changed, 379 insertions, 417 deletions
diff --git a/accessibility/source/standard/accessiblemenubasecomponent.cxx b/accessibility/source/standard/accessiblemenubasecomponent.cxx index 0d8fb8d8b03a..911d21eeb2e4 100644 --- a/accessibility/source/standard/accessiblemenubasecomponent.cxx +++ b/accessibility/source/standard/accessiblemenubasecomponent.cxx @@ -684,7 +684,7 @@ void OAccessibleMenuBaseComponent::disposing() // XServiceInfo -sal_Bool OAccessibleMenuBaseComponent::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) +sal_Bool OAccessibleMenuBaseComponent::supportsService( const OUString& rServiceName ) { return cppu::supportsService(this, rServiceName); } @@ -693,7 +693,7 @@ sal_Bool OAccessibleMenuBaseComponent::supportsService( const OUString& rService // XAccessible -Reference< XAccessibleContext > OAccessibleMenuBaseComponent::getAccessibleContext( ) throw (RuntimeException, std::exception) +Reference< XAccessibleContext > OAccessibleMenuBaseComponent::getAccessibleContext( ) { OExternalLockGuard aGuard( this ); @@ -704,7 +704,7 @@ Reference< XAccessibleContext > OAccessibleMenuBaseComponent::getAccessibleConte // XAccessibleContext -Reference< XAccessibleStateSet > OAccessibleMenuBaseComponent::getAccessibleStateSet( ) throw (RuntimeException, std::exception) +Reference< XAccessibleStateSet > OAccessibleMenuBaseComponent::getAccessibleStateSet( ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/accessiblemenucomponent.cxx b/accessibility/source/standard/accessiblemenucomponent.cxx index 2fc95d3afcca..ec69408f222f 100644 --- a/accessibility/source/standard/accessiblemenucomponent.cxx +++ b/accessibility/source/standard/accessiblemenucomponent.cxx @@ -100,7 +100,7 @@ void OAccessibleMenuComponent::FillAccessibleStateSet( utl::AccessibleStateSetHe // OCommonAccessibleComponent -awt::Rectangle OAccessibleMenuComponent::implGetBounds() throw (RuntimeException) +awt::Rectangle OAccessibleMenuComponent::implGetBounds() { awt::Rectangle aBounds( 0, 0, 0, 0 ); @@ -149,7 +149,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( OAccessibleMenuComponent, OAccessibleMenuBaseC // XAccessibleContext -sal_Int32 OAccessibleMenuComponent::getAccessibleChildCount() throw (RuntimeException, std::exception) +sal_Int32 OAccessibleMenuComponent::getAccessibleChildCount() { OExternalLockGuard aGuard( this ); @@ -157,7 +157,7 @@ sal_Int32 OAccessibleMenuComponent::getAccessibleChildCount() throw (RuntimeExce } -Reference< XAccessible > OAccessibleMenuComponent::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > OAccessibleMenuComponent::getAccessibleChild( sal_Int32 i ) { OExternalLockGuard aGuard( this ); @@ -168,7 +168,7 @@ Reference< XAccessible > OAccessibleMenuComponent::getAccessibleChild( sal_Int32 } -Reference< XAccessible > OAccessibleMenuComponent::getAccessibleParent( ) throw (RuntimeException, std::exception) +Reference< XAccessible > OAccessibleMenuComponent::getAccessibleParent( ) { OExternalLockGuard aGuard( this ); @@ -189,7 +189,7 @@ Reference< XAccessible > OAccessibleMenuComponent::getAccessibleParent( ) throw } -sal_Int16 OAccessibleMenuComponent::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 OAccessibleMenuComponent::getAccessibleRole( ) { OExternalLockGuard aGuard( this ); @@ -197,7 +197,7 @@ sal_Int16 OAccessibleMenuComponent::getAccessibleRole( ) throw (RuntimeExceptio } -OUString OAccessibleMenuComponent::getAccessibleDescription( ) throw (RuntimeException, std::exception) +OUString OAccessibleMenuComponent::getAccessibleDescription( ) { OExternalLockGuard aGuard( this ); @@ -213,7 +213,7 @@ OUString OAccessibleMenuComponent::getAccessibleDescription( ) throw (RuntimeExc } -OUString OAccessibleMenuComponent::getAccessibleName( ) throw (RuntimeException, std::exception) +OUString OAccessibleMenuComponent::getAccessibleName( ) { OExternalLockGuard aGuard( this ); @@ -221,7 +221,7 @@ OUString OAccessibleMenuComponent::getAccessibleName( ) throw (RuntimeException } -Reference< XAccessibleRelationSet > OAccessibleMenuComponent::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) +Reference< XAccessibleRelationSet > OAccessibleMenuComponent::getAccessibleRelationSet( ) { OExternalLockGuard aGuard( this ); @@ -231,7 +231,7 @@ Reference< XAccessibleRelationSet > OAccessibleMenuComponent::getAccessibleRelat } -Locale OAccessibleMenuComponent::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) +Locale OAccessibleMenuComponent::getLocale( ) { OExternalLockGuard aGuard( this ); @@ -242,7 +242,7 @@ Locale OAccessibleMenuComponent::getLocale( ) throw (IllegalAccessibleComponent // XAccessibleComponent -Reference< XAccessible > OAccessibleMenuComponent::getAccessibleAtPoint( const awt::Point& rPoint ) throw (RuntimeException, std::exception) +Reference< XAccessible > OAccessibleMenuComponent::getAccessibleAtPoint( const awt::Point& rPoint ) { OExternalLockGuard aGuard( this ); @@ -250,7 +250,7 @@ Reference< XAccessible > OAccessibleMenuComponent::getAccessibleAtPoint( const a } -awt::Point OAccessibleMenuComponent::getLocationOnScreen( ) throw (RuntimeException, std::exception) +awt::Point OAccessibleMenuComponent::getLocationOnScreen( ) { OExternalLockGuard aGuard( this ); @@ -270,7 +270,7 @@ awt::Point OAccessibleMenuComponent::getLocationOnScreen( ) throw (RuntimeExcep } -void OAccessibleMenuComponent::grabFocus( ) throw (RuntimeException, std::exception) +void OAccessibleMenuComponent::grabFocus( ) { OExternalLockGuard aGuard( this ); @@ -283,7 +283,7 @@ void OAccessibleMenuComponent::grabFocus( ) throw (RuntimeException, std::excep } -sal_Int32 OAccessibleMenuComponent::getForeground( ) throw (RuntimeException, std::exception) +sal_Int32 OAccessibleMenuComponent::getForeground( ) { OExternalLockGuard aGuard( this ); @@ -294,7 +294,7 @@ sal_Int32 OAccessibleMenuComponent::getForeground( ) throw (RuntimeException, s } -sal_Int32 OAccessibleMenuComponent::getBackground( ) throw (RuntimeException, std::exception) +sal_Int32 OAccessibleMenuComponent::getBackground( ) { OExternalLockGuard aGuard( this ); @@ -305,7 +305,7 @@ sal_Int32 OAccessibleMenuComponent::getBackground( ) throw (RuntimeException, s // XAccessibleExtendedComponent -Reference< awt::XFont > OAccessibleMenuComponent::getFont( ) throw (RuntimeException, std::exception) +Reference< awt::XFont > OAccessibleMenuComponent::getFont( ) { OExternalLockGuard aGuard( this ); @@ -331,7 +331,7 @@ Reference< awt::XFont > OAccessibleMenuComponent::getFont( ) throw (RuntimeExce } -OUString OAccessibleMenuComponent::getTitledBorderText( ) throw (RuntimeException, std::exception) +OUString OAccessibleMenuComponent::getTitledBorderText( ) { OExternalLockGuard aGuard( this ); @@ -339,7 +339,7 @@ OUString OAccessibleMenuComponent::getTitledBorderText( ) throw (RuntimeExcepti } -OUString OAccessibleMenuComponent::getToolTipText( ) throw (RuntimeException, std::exception) +OUString OAccessibleMenuComponent::getToolTipText( ) { OExternalLockGuard aGuard( this ); @@ -350,7 +350,7 @@ OUString OAccessibleMenuComponent::getToolTipText( ) throw (RuntimeException, s // XAccessibleSelection -void OAccessibleMenuComponent::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +void OAccessibleMenuComponent::selectAccessibleChild( sal_Int32 nChildIndex ) { OExternalLockGuard aGuard( this ); @@ -361,7 +361,7 @@ void OAccessibleMenuComponent::selectAccessibleChild( sal_Int32 nChildIndex ) th } -sal_Bool OAccessibleMenuComponent::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool OAccessibleMenuComponent::isAccessibleChildSelected( sal_Int32 nChildIndex ) { OExternalLockGuard aGuard( this ); @@ -372,7 +372,7 @@ sal_Bool OAccessibleMenuComponent::isAccessibleChildSelected( sal_Int32 nChildIn } -void OAccessibleMenuComponent::clearAccessibleSelection( ) throw (RuntimeException, std::exception) +void OAccessibleMenuComponent::clearAccessibleSelection( ) { OExternalLockGuard aGuard( this ); @@ -380,13 +380,13 @@ void OAccessibleMenuComponent::clearAccessibleSelection( ) throw (RuntimeExcept } -void OAccessibleMenuComponent::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception) +void OAccessibleMenuComponent::selectAllAccessibleChildren( ) { // This method makes no sense in a menu, and so does nothing. } -sal_Int32 OAccessibleMenuComponent::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception) +sal_Int32 OAccessibleMenuComponent::getSelectedAccessibleChildCount( ) { OExternalLockGuard aGuard( this ); @@ -402,7 +402,7 @@ sal_Int32 OAccessibleMenuComponent::getSelectedAccessibleChildCount( ) throw (R } -Reference< XAccessible > OAccessibleMenuComponent::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > OAccessibleMenuComponent::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) { OExternalLockGuard aGuard( this ); @@ -424,7 +424,7 @@ Reference< XAccessible > OAccessibleMenuComponent::getSelectedAccessibleChild( s } -void OAccessibleMenuComponent::deselectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +void OAccessibleMenuComponent::deselectAccessibleChild( sal_Int32 nChildIndex ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/accessiblemenuitemcomponent.cxx b/accessibility/source/standard/accessiblemenuitemcomponent.cxx index 50a83c63192b..33d469703c80 100644 --- a/accessibility/source/standard/accessiblemenuitemcomponent.cxx +++ b/accessibility/source/standard/accessiblemenuitemcomponent.cxx @@ -245,7 +245,7 @@ void OAccessibleMenuItemComponent::FillAccessibleStateSet( utl::AccessibleStateS // OCommonAccessibleComponent -awt::Rectangle OAccessibleMenuItemComponent::implGetBounds() throw (RuntimeException) +awt::Rectangle OAccessibleMenuItemComponent::implGetBounds() { awt::Rectangle aBounds( 0, 0, 0, 0 ); @@ -298,7 +298,7 @@ void SAL_CALL OAccessibleMenuItemComponent::disposing() // XAccessibleContext -sal_Int32 OAccessibleMenuItemComponent::getAccessibleChildCount() throw (RuntimeException, std::exception) +sal_Int32 OAccessibleMenuItemComponent::getAccessibleChildCount() { OExternalLockGuard aGuard( this ); @@ -306,7 +306,7 @@ sal_Int32 OAccessibleMenuItemComponent::getAccessibleChildCount() throw (Runtime } -Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleChild( sal_Int32 i ) { OExternalLockGuard aGuard( this ); @@ -317,7 +317,7 @@ Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleChild( sal_I } -Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleParent( ) throw (RuntimeException, std::exception) +Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleParent( ) { OExternalLockGuard aGuard( this ); @@ -325,7 +325,7 @@ Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleParent( ) t } -sal_Int32 OAccessibleMenuItemComponent::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) +sal_Int32 OAccessibleMenuItemComponent::getAccessibleIndexInParent( ) { OExternalLockGuard aGuard( this ); @@ -333,7 +333,7 @@ sal_Int32 OAccessibleMenuItemComponent::getAccessibleIndexInParent( ) throw (Ru } -sal_Int16 OAccessibleMenuItemComponent::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 OAccessibleMenuItemComponent::getAccessibleRole( ) { OExternalLockGuard aGuard( this ); @@ -341,7 +341,7 @@ sal_Int16 OAccessibleMenuItemComponent::getAccessibleRole( ) throw (RuntimeExce } -OUString OAccessibleMenuItemComponent::getAccessibleDescription( ) throw (RuntimeException, std::exception) +OUString OAccessibleMenuItemComponent::getAccessibleDescription( ) { OExternalLockGuard aGuard( this ); @@ -353,7 +353,7 @@ OUString OAccessibleMenuItemComponent::getAccessibleDescription( ) throw (Runtim } -OUString OAccessibleMenuItemComponent::getAccessibleName( ) throw (RuntimeException, std::exception) +OUString OAccessibleMenuItemComponent::getAccessibleName( ) { OExternalLockGuard aGuard( this ); @@ -361,7 +361,7 @@ OUString OAccessibleMenuItemComponent::getAccessibleName( ) throw (RuntimeExcep } -Reference< XAccessibleRelationSet > OAccessibleMenuItemComponent::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) +Reference< XAccessibleRelationSet > OAccessibleMenuItemComponent::getAccessibleRelationSet( ) { OExternalLockGuard aGuard( this ); @@ -371,7 +371,7 @@ Reference< XAccessibleRelationSet > OAccessibleMenuItemComponent::getAccessibleR } -Locale OAccessibleMenuItemComponent::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) +Locale OAccessibleMenuItemComponent::getLocale( ) { OExternalLockGuard aGuard( this ); @@ -382,7 +382,7 @@ Locale OAccessibleMenuItemComponent::getLocale( ) throw (IllegalAccessibleCompo // XAccessibleComponent -Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleAtPoint( const awt::Point& ) throw (RuntimeException, std::exception) +Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleAtPoint( const awt::Point& ) { OExternalLockGuard aGuard( this ); @@ -390,13 +390,13 @@ Reference< XAccessible > OAccessibleMenuItemComponent::getAccessibleAtPoint( con } -void OAccessibleMenuItemComponent::grabFocus( ) throw (RuntimeException, std::exception) +void OAccessibleMenuItemComponent::grabFocus( ) { // no focus for items } -sal_Int32 OAccessibleMenuItemComponent::getForeground( ) throw (RuntimeException, std::exception) +sal_Int32 OAccessibleMenuItemComponent::getForeground( ) { OExternalLockGuard aGuard( this ); @@ -413,7 +413,7 @@ sal_Int32 OAccessibleMenuItemComponent::getForeground( ) throw (RuntimeExceptio } -sal_Int32 OAccessibleMenuItemComponent::getBackground( ) throw (RuntimeException, std::exception) +sal_Int32 OAccessibleMenuItemComponent::getBackground( ) { OExternalLockGuard aGuard( this ); @@ -433,7 +433,7 @@ sal_Int32 OAccessibleMenuItemComponent::getBackground( ) throw (RuntimeExceptio // XAccessibleExtendedComponent -Reference< awt::XFont > OAccessibleMenuItemComponent::getFont( ) throw (RuntimeException, std::exception) +Reference< awt::XFont > OAccessibleMenuItemComponent::getFont( ) { OExternalLockGuard aGuard( this ); @@ -450,7 +450,7 @@ Reference< awt::XFont > OAccessibleMenuItemComponent::getFont( ) throw (Runtime } -OUString OAccessibleMenuItemComponent::getTitledBorderText( ) throw (RuntimeException, std::exception) +OUString OAccessibleMenuItemComponent::getTitledBorderText( ) { OExternalLockGuard aGuard( this ); @@ -458,7 +458,7 @@ OUString OAccessibleMenuItemComponent::getTitledBorderText( ) throw (RuntimeExc } -OUString OAccessibleMenuItemComponent::getToolTipText( ) throw (RuntimeException, std::exception) +OUString OAccessibleMenuItemComponent::getToolTipText( ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblebox.cxx b/accessibility/source/standard/vclxaccessiblebox.cxx index 2c043439a6d9..995ab3b73bd7 100644 --- a/accessibility/source/standard/vclxaccessiblebox.cxx +++ b/accessibility/source/standard/vclxaccessiblebox.cxx @@ -262,7 +262,6 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2(VCLXAccessibleBox, VCLXAccessibleComponent, VCL //===== XAccessible ========================================================= Reference< XAccessibleContext > SAL_CALL VCLXAccessibleBox::getAccessibleContext( ) - throw (RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -272,7 +271,6 @@ Reference< XAccessibleContext > SAL_CALL VCLXAccessibleBox::getAccessibleContext //===== XAccessibleContext ================================================== sal_Int32 SAL_CALL VCLXAccessibleBox::getAccessibleChildCount() - throw (RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -296,7 +294,6 @@ sal_Int32 SAL_CALL VCLXAccessibleBox::getAccessibleChildCount() } Reference<XAccessible> SAL_CALL VCLXAccessibleBox::getAccessibleChild (sal_Int32 i) - throw (IndexOutOfBoundsException, RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -345,7 +342,7 @@ Reference<XAccessible> SAL_CALL VCLXAccessibleBox::getAccessibleChild (sal_Int32 return xChild; } -sal_Int16 SAL_CALL VCLXAccessibleBox::getAccessibleRole() throw (RuntimeException, std::exception) +sal_Int16 SAL_CALL VCLXAccessibleBox::getAccessibleRole() { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -360,7 +357,6 @@ sal_Int16 SAL_CALL VCLXAccessibleBox::getAccessibleRole() throw (RuntimeExceptio } sal_Int32 SAL_CALL VCLXAccessibleBox::getAccessibleIndexInParent() - throw (css::uno::RuntimeException, std::exception) { if (m_nIndexInParent != DEFAULT_INDEX_IN_PARENT) return m_nIndexInParent; @@ -371,7 +367,6 @@ sal_Int32 SAL_CALL VCLXAccessibleBox::getAccessibleIndexInParent() //===== XAccessibleAction =================================================== sal_Int32 SAL_CALL VCLXAccessibleBox::getAccessibleActionCount() - throw (RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex> aGuard (GetMutex()); @@ -381,7 +376,6 @@ sal_Int32 SAL_CALL VCLXAccessibleBox::getAccessibleActionCount() } sal_Bool SAL_CALL VCLXAccessibleBox::doAccessibleAction (sal_Int32 nIndex) - throw (IndexOutOfBoundsException, RuntimeException, std::exception) { bool bNotify = false; @@ -423,7 +417,6 @@ sal_Bool SAL_CALL VCLXAccessibleBox::doAccessibleAction (sal_Int32 nIndex) } OUString SAL_CALL VCLXAccessibleBox::getAccessibleActionDescription (sal_Int32 nIndex) - throw (IndexOutOfBoundsException, RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); if (nIndex<0 || nIndex>=getAccessibleActionCount()) @@ -436,7 +429,6 @@ OUString SAL_CALL VCLXAccessibleBox::getAccessibleActionDescription (sal_Int32 n } Reference< XAccessibleKeyBinding > VCLXAccessibleBox::getAccessibleActionKeyBinding( sal_Int32 nIndex ) - throw (IndexOutOfBoundsException, RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -451,7 +443,6 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleBox::getAccessibleActionKeyBind // ===== XAccessibleValue =============================================== Any VCLXAccessibleBox::getCurrentValue( ) - throw( RuntimeException, std::exception ) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -488,7 +479,6 @@ Any VCLXAccessibleBox::getCurrentValue( ) } sal_Bool VCLXAccessibleBox::setCurrentValue( const Any& aNumber ) - throw( RuntimeException, std::exception ) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -504,14 +494,12 @@ sal_Bool VCLXAccessibleBox::setCurrentValue( const Any& aNumber ) } Any VCLXAccessibleBox::getMaximumValue( ) - throw( RuntimeException, std::exception ) { Any aAny; return aAny; } Any VCLXAccessibleBox::getMinimumValue( ) - throw( RuntimeException, std::exception ) { Any aAny; return aAny; diff --git a/accessibility/source/standard/vclxaccessiblebutton.cxx b/accessibility/source/standard/vclxaccessiblebutton.cxx index cd12ca8c8796..7b2270fdb866 100644 --- a/accessibility/source/standard/vclxaccessiblebutton.cxx +++ b/accessibility/source/standard/vclxaccessiblebutton.cxx @@ -120,13 +120,13 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXAccessibleButton, VCLXAccessibleTextCompon // XServiceInfo -OUString VCLXAccessibleButton::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleButton::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleButton" ); } -Sequence< OUString > VCLXAccessibleButton::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleButton::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleButton" }; } @@ -135,7 +135,7 @@ Sequence< OUString > VCLXAccessibleButton::getSupportedServiceNames() throw (Run // XAccessibleContext -OUString VCLXAccessibleButton::getAccessibleName( ) throw (RuntimeException, std::exception) +OUString VCLXAccessibleButton::getAccessibleName( ) { OExternalLockGuard aGuard( this ); @@ -173,7 +173,7 @@ OUString VCLXAccessibleButton::getAccessibleName( ) throw (RuntimeException, st // XAccessibleAction -sal_Int32 VCLXAccessibleButton::getAccessibleActionCount( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleButton::getAccessibleActionCount( ) { OExternalLockGuard aGuard( this ); @@ -181,7 +181,7 @@ sal_Int32 VCLXAccessibleButton::getAccessibleActionCount( ) throw (RuntimeExcept } -sal_Bool VCLXAccessibleButton::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleButton::doAccessibleAction ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -196,7 +196,7 @@ sal_Bool VCLXAccessibleButton::doAccessibleAction ( sal_Int32 nIndex ) throw (In } -OUString VCLXAccessibleButton::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +OUString VCLXAccessibleButton::getAccessibleActionDescription ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -207,7 +207,7 @@ OUString VCLXAccessibleButton::getAccessibleActionDescription ( sal_Int32 nIndex } -Reference< XAccessibleKeyBinding > VCLXAccessibleButton::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessibleKeyBinding > VCLXAccessibleButton::getAccessibleActionKeyBinding( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -248,7 +248,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleButton::getAccessibleActionKeyB // XAccessibleValue -Any VCLXAccessibleButton::getCurrentValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleButton::getCurrentValue( ) { OExternalLockGuard aGuard( this ); @@ -262,7 +262,7 @@ Any VCLXAccessibleButton::getCurrentValue( ) throw (RuntimeException, std::exce } -sal_Bool VCLXAccessibleButton::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception) +sal_Bool VCLXAccessibleButton::setCurrentValue( const Any& aNumber ) { OExternalLockGuard aGuard( this ); @@ -287,7 +287,7 @@ sal_Bool VCLXAccessibleButton::setCurrentValue( const Any& aNumber ) throw (Runt } -Any VCLXAccessibleButton::getMaximumValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleButton::getMaximumValue( ) { OExternalLockGuard aGuard( this ); @@ -298,7 +298,7 @@ Any VCLXAccessibleButton::getMaximumValue( ) throw (RuntimeException, std::exce } -Any VCLXAccessibleButton::getMinimumValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleButton::getMinimumValue( ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblecheckbox.cxx b/accessibility/source/standard/vclxaccessiblecheckbox.cxx index 8c71bb48ec59..1459b6d2b506 100644 --- a/accessibility/source/standard/vclxaccessiblecheckbox.cxx +++ b/accessibility/source/standard/vclxaccessiblecheckbox.cxx @@ -156,13 +156,13 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXAccessibleCheckBox, VCLXAccessibleTextComp // XServiceInfo -OUString VCLXAccessibleCheckBox::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleCheckBox::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleCheckBox" ); } -Sequence< OUString > VCLXAccessibleCheckBox::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleCheckBox::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleCheckBox" }; } @@ -171,7 +171,7 @@ Sequence< OUString > VCLXAccessibleCheckBox::getSupportedServiceNames() throw (R // XAccessibleAction -sal_Int32 VCLXAccessibleCheckBox::getAccessibleActionCount( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleCheckBox::getAccessibleActionCount( ) { OExternalLockGuard aGuard( this ); @@ -179,7 +179,7 @@ sal_Int32 VCLXAccessibleCheckBox::getAccessibleActionCount( ) throw (RuntimeExce } -sal_Bool VCLXAccessibleCheckBox::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleCheckBox::doAccessibleAction ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -210,7 +210,7 @@ sal_Bool VCLXAccessibleCheckBox::doAccessibleAction ( sal_Int32 nIndex ) throw ( } -OUString VCLXAccessibleCheckBox::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +OUString VCLXAccessibleCheckBox::getAccessibleActionDescription ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -224,7 +224,7 @@ OUString VCLXAccessibleCheckBox::getAccessibleActionDescription ( sal_Int32 nInd } -Reference< XAccessibleKeyBinding > VCLXAccessibleCheckBox::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessibleKeyBinding > VCLXAccessibleCheckBox::getAccessibleActionKeyBinding( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -265,7 +265,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleCheckBox::getAccessibleActionKe // XAccessibleValue -Any VCLXAccessibleCheckBox::getCurrentValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleCheckBox::getCurrentValue( ) { OExternalLockGuard aGuard( this ); @@ -279,7 +279,7 @@ Any VCLXAccessibleCheckBox::getCurrentValue( ) throw (RuntimeException, std::ex } -sal_Bool VCLXAccessibleCheckBox::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception) +sal_Bool VCLXAccessibleCheckBox::setCurrentValue( const Any& aNumber ) { OExternalLockGuard aGuard( this ); @@ -306,7 +306,7 @@ sal_Bool VCLXAccessibleCheckBox::setCurrentValue( const Any& aNumber ) throw (Ru } -Any VCLXAccessibleCheckBox::getMaximumValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleCheckBox::getMaximumValue( ) { OExternalLockGuard aGuard( this ); @@ -322,7 +322,7 @@ Any VCLXAccessibleCheckBox::getMaximumValue( ) throw (RuntimeException, std::ex } -Any VCLXAccessibleCheckBox::getMinimumValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleCheckBox::getMinimumValue( ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblecombobox.cxx b/accessibility/source/standard/vclxaccessiblecombobox.cxx index 1e4288e6815e..f7ac8890c762 100644 --- a/accessibility/source/standard/vclxaccessiblecombobox.cxx +++ b/accessibility/source/standard/vclxaccessiblecombobox.cxx @@ -49,14 +49,12 @@ bool VCLXAccessibleComboBox::IsValid() const // XServiceInfo OUString VCLXAccessibleComboBox::getImplementationName() - throw (RuntimeException, std::exception) { return OUString( "com.sun.star.comp.toolkit.AccessibleComboBox" ); } Sequence< OUString > VCLXAccessibleComboBox::getSupportedServiceNames() - throw (RuntimeException, std::exception) { Sequence< OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames(); sal_Int32 nLength = aNames.getLength(); diff --git a/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx b/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx index 55b4506e05d3..e8aa7e599b2c 100644 --- a/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx +++ b/accessibility/source/standard/vclxaccessibledropdowncombobox.cxx @@ -79,14 +79,12 @@ void VCLXAccessibleDropDownComboBox::ProcessWindowEvent (const VclWindowEvent& r // XServiceInfo OUString VCLXAccessibleDropDownComboBox::getImplementationName() - throw (RuntimeException, std::exception) { return OUString( "com.sun.star.comp.toolkit.AccessibleDropDownComboBox" ); } Sequence< OUString > VCLXAccessibleDropDownComboBox::getSupportedServiceNames() - throw (RuntimeException, std::exception) { Sequence< OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames(); sal_Int32 nLength = aNames.getLength(); diff --git a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx index 67358b1b14eb..ca8ae7ee981b 100644 --- a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx +++ b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx @@ -63,14 +63,12 @@ bool VCLXAccessibleDropDownListBox::IsValid() const // XServiceInfo OUString VCLXAccessibleDropDownListBox::getImplementationName() - throw (RuntimeException, std::exception) { return OUString( "com.sun.star.comp.toolkit.AccessibleDropDownListBox" ); } Sequence< OUString > VCLXAccessibleDropDownListBox::getSupportedServiceNames() - throw (RuntimeException, std::exception) { Sequence< OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames(); sal_Int32 nLength = aNames.getLength(); diff --git a/accessibility/source/standard/vclxaccessibleedit.cxx b/accessibility/source/standard/vclxaccessibleedit.cxx index f9763202405a..8860044e1f66 100644 --- a/accessibility/source/standard/vclxaccessibleedit.cxx +++ b/accessibility/source/standard/vclxaccessibleedit.cxx @@ -181,13 +181,13 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXAccessibleEdit, VCLXAccessibleTextComponen // XServiceInfo -OUString VCLXAccessibleEdit::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleEdit::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleEdit" ); } -Sequence< OUString > VCLXAccessibleEdit::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleEdit::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleEdit" }; } @@ -196,7 +196,7 @@ Sequence< OUString > VCLXAccessibleEdit::getSupportedServiceNames() throw (Runti // XAccessibleContext -sal_Int32 VCLXAccessibleEdit::getAccessibleChildCount() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleEdit::getAccessibleChildCount() { OExternalLockGuard aGuard( this ); @@ -204,7 +204,7 @@ sal_Int32 VCLXAccessibleEdit::getAccessibleChildCount() throw (RuntimeException, } -Reference< XAccessible > VCLXAccessibleEdit::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleEdit::getAccessibleChild( sal_Int32 i ) { OExternalLockGuard aGuard( this ); @@ -215,7 +215,7 @@ Reference< XAccessible > VCLXAccessibleEdit::getAccessibleChild( sal_Int32 i ) t } -sal_Int16 VCLXAccessibleEdit::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 VCLXAccessibleEdit::getAccessibleRole( ) { OExternalLockGuard aGuard( this ); @@ -233,7 +233,7 @@ sal_Int16 VCLXAccessibleEdit::getAccessibleRole( ) throw (RuntimeException, std // XAccessibleAction -sal_Int32 VCLXAccessibleEdit::getAccessibleActionCount( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleEdit::getAccessibleActionCount( ) { OExternalLockGuard aGuard( this ); @@ -242,7 +242,7 @@ sal_Int32 VCLXAccessibleEdit::getAccessibleActionCount( ) throw (RuntimeExceptio } -sal_Bool VCLXAccessibleEdit::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleEdit::doAccessibleAction ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -261,7 +261,7 @@ sal_Bool VCLXAccessibleEdit::doAccessibleAction ( sal_Int32 nIndex ) throw (Inde } -OUString VCLXAccessibleEdit::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +OUString VCLXAccessibleEdit::getAccessibleActionDescription ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -272,7 +272,7 @@ OUString VCLXAccessibleEdit::getAccessibleActionDescription ( sal_Int32 nIndex ) } -Reference< XAccessibleKeyBinding > VCLXAccessibleEdit::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessibleKeyBinding > VCLXAccessibleEdit::getAccessibleActionKeyBinding( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -286,19 +286,19 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleEdit::getAccessibleActionKeyBin // XAccessibleText -sal_Int32 VCLXAccessibleEdit::getCaretPosition( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleEdit::getCaretPosition( ) { return getSelectionEnd(); } -sal_Bool VCLXAccessibleEdit::setCaretPosition( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleEdit::setCaretPosition( sal_Int32 nIndex ) { return setSelection( nIndex, nIndex ); } -sal_Unicode VCLXAccessibleEdit::getCharacter( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Unicode VCLXAccessibleEdit::getCharacter( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -306,7 +306,7 @@ sal_Unicode VCLXAccessibleEdit::getCharacter( sal_Int32 nIndex ) throw (IndexOut } -Sequence< PropertyValue > VCLXAccessibleEdit::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Sequence< PropertyValue > VCLXAccessibleEdit::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) { OExternalLockGuard aGuard( this ); Sequence< PropertyValue > aProperties = VCLXAccessibleTextComponent::getCharacterAttributes( nIndex, aRequestedAttributes ); @@ -352,7 +352,7 @@ Sequence< PropertyValue > VCLXAccessibleEdit::getCharacterAttributes( sal_Int32 } -awt::Rectangle VCLXAccessibleEdit::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +awt::Rectangle VCLXAccessibleEdit::getCharacterBounds( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -394,7 +394,7 @@ awt::Rectangle VCLXAccessibleEdit::getCharacterBounds( sal_Int32 nIndex ) throw } -sal_Int32 VCLXAccessibleEdit::getCharacterCount( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleEdit::getCharacterCount( ) { OExternalLockGuard aGuard( this ); @@ -402,7 +402,7 @@ sal_Int32 VCLXAccessibleEdit::getCharacterCount( ) throw (RuntimeException, std } -sal_Int32 VCLXAccessibleEdit::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleEdit::getIndexAtPoint( const awt::Point& aPoint ) { OExternalLockGuard aGuard( this ); @@ -410,7 +410,7 @@ sal_Int32 VCLXAccessibleEdit::getIndexAtPoint( const awt::Point& aPoint ) throw } -OUString VCLXAccessibleEdit::getSelectedText( ) throw (RuntimeException, std::exception) +OUString VCLXAccessibleEdit::getSelectedText( ) { OExternalLockGuard aGuard( this ); @@ -418,7 +418,7 @@ OUString VCLXAccessibleEdit::getSelectedText( ) throw (RuntimeException, std::e } -sal_Int32 VCLXAccessibleEdit::getSelectionStart( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleEdit::getSelectionStart( ) { OExternalLockGuard aGuard( this ); @@ -426,7 +426,7 @@ sal_Int32 VCLXAccessibleEdit::getSelectionStart( ) throw (RuntimeException, std } -sal_Int32 VCLXAccessibleEdit::getSelectionEnd( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleEdit::getSelectionEnd( ) { OExternalLockGuard aGuard( this ); @@ -434,7 +434,7 @@ sal_Int32 VCLXAccessibleEdit::getSelectionEnd( ) throw (RuntimeException, std:: } -sal_Bool VCLXAccessibleEdit::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleEdit::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -456,7 +456,7 @@ sal_Bool VCLXAccessibleEdit::setSelection( sal_Int32 nStartIndex, sal_Int32 nEnd } -OUString VCLXAccessibleEdit::getText( ) throw (RuntimeException, std::exception) +OUString VCLXAccessibleEdit::getText( ) { OExternalLockGuard aGuard( this ); @@ -464,7 +464,7 @@ OUString VCLXAccessibleEdit::getText( ) throw (RuntimeException, std::exception } -OUString VCLXAccessibleEdit::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +OUString VCLXAccessibleEdit::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -472,7 +472,7 @@ OUString VCLXAccessibleEdit::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEnd } -css::accessibility::TextSegment VCLXAccessibleEdit::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::accessibility::TextSegment VCLXAccessibleEdit::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) { OExternalLockGuard aGuard( this ); @@ -494,7 +494,7 @@ css::accessibility::TextSegment VCLXAccessibleEdit::getTextAtIndex( sal_Int32 nI } -css::accessibility::TextSegment VCLXAccessibleEdit::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::accessibility::TextSegment VCLXAccessibleEdit::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) { OExternalLockGuard aGuard( this ); @@ -502,7 +502,7 @@ css::accessibility::TextSegment VCLXAccessibleEdit::getTextBeforeIndex( sal_Int3 } -css::accessibility::TextSegment VCLXAccessibleEdit::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::accessibility::TextSegment VCLXAccessibleEdit::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) { OExternalLockGuard aGuard( this ); @@ -510,7 +510,7 @@ css::accessibility::TextSegment VCLXAccessibleEdit::getTextBehindIndex( sal_Int3 } -sal_Bool VCLXAccessibleEdit::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleEdit::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -521,7 +521,7 @@ sal_Bool VCLXAccessibleEdit::copyText( sal_Int32 nStartIndex, sal_Int32 nEndInde // XAccessibleEditableText -sal_Bool VCLXAccessibleEdit::cutText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleEdit::cutText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -529,7 +529,7 @@ sal_Bool VCLXAccessibleEdit::cutText( sal_Int32 nStartIndex, sal_Int32 nEndIndex } -sal_Bool VCLXAccessibleEdit::pasteText( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleEdit::pasteText( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -564,7 +564,7 @@ sal_Bool VCLXAccessibleEdit::pasteText( sal_Int32 nIndex ) throw (IndexOutOfBoun } -sal_Bool VCLXAccessibleEdit::deleteText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleEdit::deleteText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -572,7 +572,7 @@ sal_Bool VCLXAccessibleEdit::deleteText( sal_Int32 nStartIndex, sal_Int32 nEndIn } -sal_Bool VCLXAccessibleEdit::insertText( const OUString& sText, sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleEdit::insertText( const OUString& sText, sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -580,7 +580,7 @@ sal_Bool VCLXAccessibleEdit::insertText( const OUString& sText, sal_Int32 nIndex } -sal_Bool VCLXAccessibleEdit::replaceText( sal_Int32 nStartIndex, sal_Int32 nEndIndex, const OUString& sReplacement ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleEdit::replaceText( sal_Int32 nStartIndex, sal_Int32 nEndIndex, const OUString& sReplacement ) { OExternalLockGuard aGuard( this ); @@ -606,7 +606,7 @@ sal_Bool VCLXAccessibleEdit::replaceText( sal_Int32 nStartIndex, sal_Int32 nEndI } -sal_Bool VCLXAccessibleEdit::setAttributes( sal_Int32 nStartIndex, sal_Int32 nEndIndex, const Sequence<PropertyValue>& ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleEdit::setAttributes( sal_Int32 nStartIndex, sal_Int32 nEndIndex, const Sequence<PropertyValue>& ) { OExternalLockGuard aGuard( this ); @@ -617,7 +617,7 @@ sal_Bool VCLXAccessibleEdit::setAttributes( sal_Int32 nStartIndex, sal_Int32 nEn } -sal_Bool VCLXAccessibleEdit::setText( const OUString& sText ) throw (RuntimeException, std::exception) +sal_Bool VCLXAccessibleEdit::setText( const OUString& sText ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx b/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx index 279c6e7e9129..2c4932e07694 100644 --- a/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx +++ b/accessibility/source/standard/vclxaccessiblefixedhyperlink.cxx @@ -39,13 +39,13 @@ VCLXAccessibleFixedHyperlink::~VCLXAccessibleFixedHyperlink() // XServiceInfo -OUString VCLXAccessibleFixedHyperlink::getImplementationName() throw (uno::RuntimeException, std::exception) +OUString VCLXAccessibleFixedHyperlink::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleFixedHyperlink" ); } -uno::Sequence< OUString > VCLXAccessibleFixedHyperlink::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) +uno::Sequence< OUString > VCLXAccessibleFixedHyperlink::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleFixedHyperlink" }; } diff --git a/accessibility/source/standard/vclxaccessiblefixedtext.cxx b/accessibility/source/standard/vclxaccessiblefixedtext.cxx index 6ac0adb3fb82..c84ddf9b3dda 100644 --- a/accessibility/source/standard/vclxaccessiblefixedtext.cxx +++ b/accessibility/source/standard/vclxaccessiblefixedtext.cxx @@ -56,13 +56,13 @@ void VCLXAccessibleFixedText::FillAccessibleStateSet( utl::AccessibleStateSetHel // XServiceInfo -OUString VCLXAccessibleFixedText::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleFixedText::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleFixedText" ); } -Sequence< OUString > VCLXAccessibleFixedText::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleFixedText::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleFixedText" }; } diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx index f134ca7d29ca..4b86efb391df 100644 --- a/accessibility/source/standard/vclxaccessiblelist.cxx +++ b/accessibility/source/standard/vclxaccessiblelist.cxx @@ -43,7 +43,6 @@ namespace { /// @throws css::lang::IndexOutOfBoundsException void checkSelection_Impl( sal_Int32 _nIndex, const IComboListBoxHelper& _rListBox, bool bSelected ) - throw (css::lang::IndexOutOfBoundsException) { sal_Int32 nCount = bSelected ? (sal_Int32)_rListBox.GetSelectEntryCount() : (sal_Int32)_rListBox.GetEntryCount(); @@ -558,7 +557,6 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2(VCLXAccessibleList, VCLXAccessibleComponent, VC Reference<XAccessibleContext> SAL_CALL VCLXAccessibleList::getAccessibleContext() - throw (RuntimeException, std::exception) { return this; } @@ -567,7 +565,6 @@ Reference<XAccessibleContext> SAL_CALL // XAccessibleContext sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleChildCount() - throw (RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -580,7 +577,6 @@ sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleChildCount() } Reference<XAccessible> SAL_CALL VCLXAccessibleList::getAccessibleChild (sal_Int32 i) - throw (IndexOutOfBoundsException, RuntimeException, std::exception) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -603,7 +599,6 @@ Reference<XAccessible> SAL_CALL VCLXAccessibleList::getAccessibleChild (sal_Int3 } Reference< XAccessible > SAL_CALL VCLXAccessibleList::getAccessibleParent( ) - throw (RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -611,7 +606,6 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleList::getAccessibleParent( ) } sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleIndexInParent() - throw (css::uno::RuntimeException, std::exception) { if (m_nIndexInParent != DEFAULT_INDEX_IN_PARENT) return m_nIndexInParent; @@ -620,20 +614,17 @@ sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleIndexInParent() } sal_Int16 SAL_CALL VCLXAccessibleList::getAccessibleRole() - throw (RuntimeException, std::exception) { return AccessibleRole::LIST; } // XServiceInfo OUString VCLXAccessibleList::getImplementationName() - throw (RuntimeException, std::exception) { return OUString( "com.sun.star.comp.toolkit.AccessibleList" ); } Sequence< OUString > VCLXAccessibleList::getSupportedServiceNames() - throw (RuntimeException, std::exception) { Sequence< OUString > aNames = VCLXAccessibleComponent::getSupportedServiceNames(); sal_Int32 nLength = aNames.getLength(); @@ -775,7 +766,7 @@ void VCLXAccessibleList::UpdateSelection_Impl(sal_Int32) // XAccessibleSelection -void SAL_CALL VCLXAccessibleList::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +void SAL_CALL VCLXAccessibleList::selectAccessibleChild( sal_Int32 nChildIndex ) { bool bNotify = false; @@ -800,7 +791,7 @@ void SAL_CALL VCLXAccessibleList::selectAccessibleChild( sal_Int32 nChildIndex ) UpdateSelection_Impl(); } -sal_Bool SAL_CALL VCLXAccessibleList::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXAccessibleList::isAccessibleChildSelected( sal_Int32 nChildIndex ) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -815,7 +806,7 @@ sal_Bool SAL_CALL VCLXAccessibleList::isAccessibleChildSelected( sal_Int32 nChil return bRet; } -void SAL_CALL VCLXAccessibleList::clearAccessibleSelection( ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXAccessibleList::clearAccessibleSelection( ) { bool bNotify = false; @@ -834,7 +825,7 @@ void SAL_CALL VCLXAccessibleList::clearAccessibleSelection( ) throw (RuntimeExc UpdateSelection_Impl(); } -void SAL_CALL VCLXAccessibleList::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXAccessibleList::selectAllAccessibleChildren( ) { bool bNotify = false; @@ -859,7 +850,7 @@ void SAL_CALL VCLXAccessibleList::selectAllAccessibleChildren( ) throw (Runtime UpdateSelection_Impl(); } -sal_Int32 SAL_CALL VCLXAccessibleList::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleList::getSelectedAccessibleChildCount( ) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -870,7 +861,7 @@ sal_Int32 SAL_CALL VCLXAccessibleList::getSelectedAccessibleChildCount( ) throw return nCount; } -Reference< XAccessible > SAL_CALL VCLXAccessibleList::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > SAL_CALL VCLXAccessibleList::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -884,7 +875,7 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleList::getSelectedAccessibleChild return nullptr; } -void SAL_CALL VCLXAccessibleList::deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +void SAL_CALL VCLXAccessibleList::deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) { bool bNotify = false; @@ -909,7 +900,7 @@ void SAL_CALL VCLXAccessibleList::deselectAccessibleChild( sal_Int32 nSelectedCh UpdateSelection_Impl(); } -awt::Rectangle VCLXAccessibleList::implGetBounds() throw (uno::RuntimeException) +awt::Rectangle VCLXAccessibleList::implGetBounds() { awt::Rectangle aBounds ( 0, 0, 0, 0 ); if ( m_pListBoxHelper @@ -939,7 +930,7 @@ awt::Rectangle VCLXAccessibleList::implGetBounds() throw (uno::RuntimeException) } -awt::Point VCLXAccessibleList::getLocationOnScreen( ) throw (uno::RuntimeException, std::exception) +awt::Point VCLXAccessibleList::getLocationOnScreen( ) { SolarMutexGuard aSolarGuard; ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); diff --git a/accessibility/source/standard/vclxaccessiblelistbox.cxx b/accessibility/source/standard/vclxaccessiblelistbox.cxx index 446b140ab981..ba9e8c601208 100644 --- a/accessibility/source/standard/vclxaccessiblelistbox.cxx +++ b/accessibility/source/standard/vclxaccessiblelistbox.cxx @@ -60,14 +60,12 @@ bool VCLXAccessibleListBox::IsValid() const // XServiceInfo OUString VCLXAccessibleListBox::getImplementationName() - throw (RuntimeException, std::exception) { return OUString( "com.sun.star.comp.toolkit.AccessibleListBox" ); } Sequence< OUString > VCLXAccessibleListBox::getSupportedServiceNames() - throw (RuntimeException, std::exception) { Sequence< OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames(); sal_Int32 nLength = aNames.getLength(); diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx index 07b7ea94a49e..61f38d849e91 100644 --- a/accessibility/source/standard/vclxaccessiblelistitem.cxx +++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx @@ -44,7 +44,7 @@ namespace { /// @throws css::lang::IndexOutOfBoundsException - void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) throw (css::lang::IndexOutOfBoundsException) + void checkIndex_Impl( sal_Int32 _nIndex, const OUString& _sText ) { if ( _nIndex < 0 || _nIndex > _sText.getLength() ) throw css::lang::IndexOutOfBoundsException(); @@ -143,7 +143,7 @@ void VCLXAccessibleListItem::implGetSelection( sal_Int32& nStartIndex, sal_Int32 // XTypeProvider -Sequence< sal_Int8 > VCLXAccessibleListItem::getImplementationId() throw (RuntimeException, std::exception) +Sequence< sal_Int8 > VCLXAccessibleListItem::getImplementationId() { return css::uno::Sequence<sal_Int8>(); } @@ -175,17 +175,17 @@ void SAL_CALL VCLXAccessibleListItem::disposing() // XServiceInfo -OUString VCLXAccessibleListItem::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleListItem::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleListItem" ); } -sal_Bool VCLXAccessibleListItem::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) +sal_Bool VCLXAccessibleListItem::supportsService( const OUString& rServiceName ) { return cppu::supportsService(this, rServiceName); } -Sequence< OUString > VCLXAccessibleListItem::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleListItem::getSupportedServiceNames() { return {"com.sun.star.accessibility.AccessibleContext", "com.sun.star.accessibility.AccessibleComponent", @@ -194,49 +194,49 @@ Sequence< OUString > VCLXAccessibleListItem::getSupportedServiceNames() throw (R // XAccessible -Reference< XAccessibleContext > SAL_CALL VCLXAccessibleListItem::getAccessibleContext( ) throw (RuntimeException, std::exception) +Reference< XAccessibleContext > SAL_CALL VCLXAccessibleListItem::getAccessibleContext( ) { return this; } // XAccessibleContext -sal_Int32 SAL_CALL VCLXAccessibleListItem::getAccessibleChildCount( ) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleListItem::getAccessibleChildCount( ) { return 0; } -Reference< XAccessible > SAL_CALL VCLXAccessibleListItem::getAccessibleChild( sal_Int32 ) throw (RuntimeException, std::exception) +Reference< XAccessible > SAL_CALL VCLXAccessibleListItem::getAccessibleChild( sal_Int32 ) { return Reference< XAccessible >(); } -Reference< XAccessible > SAL_CALL VCLXAccessibleListItem::getAccessibleParent( ) throw (RuntimeException, std::exception) +Reference< XAccessible > SAL_CALL VCLXAccessibleListItem::getAccessibleParent( ) { ::osl::MutexGuard aGuard( m_aMutex ); return m_xParent.get(); } -sal_Int32 SAL_CALL VCLXAccessibleListItem::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleListItem::getAccessibleIndexInParent( ) { ::osl::MutexGuard aGuard( m_aMutex ); return m_nIndexInParent; } -sal_Int16 SAL_CALL VCLXAccessibleListItem::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 SAL_CALL VCLXAccessibleListItem::getAccessibleRole( ) { return AccessibleRole::LIST_ITEM; // return AccessibleRole::LABEL; } -OUString SAL_CALL VCLXAccessibleListItem::getAccessibleDescription( ) throw (RuntimeException, std::exception) +OUString SAL_CALL VCLXAccessibleListItem::getAccessibleDescription( ) { // no description for every item return OUString(); } -OUString SAL_CALL VCLXAccessibleListItem::getAccessibleName( ) throw (RuntimeException, std::exception) +OUString SAL_CALL VCLXAccessibleListItem::getAccessibleName( ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -244,14 +244,14 @@ OUString SAL_CALL VCLXAccessibleListItem::getAccessibleName( ) throw (RuntimeEx return implGetText(); } -Reference< XAccessibleRelationSet > SAL_CALL VCLXAccessibleListItem::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) +Reference< XAccessibleRelationSet > SAL_CALL VCLXAccessibleListItem::getAccessibleRelationSet( ) { utl::AccessibleRelationSetHelper* pRelationSetHelper = new utl::AccessibleRelationSetHelper; Reference< XAccessibleRelationSet > xSet = pRelationSetHelper; return xSet; } -Reference< XAccessibleStateSet > SAL_CALL VCLXAccessibleListItem::getAccessibleStateSet( ) throw (RuntimeException, std::exception) +Reference< XAccessibleStateSet > SAL_CALL VCLXAccessibleListItem::getAccessibleStateSet( ) { ::osl::MutexGuard aGuard( m_aMutex ); @@ -284,7 +284,7 @@ Reference< XAccessibleStateSet > SAL_CALL VCLXAccessibleListItem::getAccessibleS return xStateSet; } -Locale SAL_CALL VCLXAccessibleListItem::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) +Locale SAL_CALL VCLXAccessibleListItem::getLocale( ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -294,7 +294,7 @@ Locale SAL_CALL VCLXAccessibleListItem::getLocale( ) throw (IllegalAccessibleCo // XAccessibleComponent -sal_Bool SAL_CALL VCLXAccessibleListItem::containsPoint( const awt::Point& _aPoint ) throw (RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXAccessibleListItem::containsPoint( const awt::Point& _aPoint ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -310,12 +310,12 @@ sal_Bool SAL_CALL VCLXAccessibleListItem::containsPoint( const awt::Point& _aPoi return bInside; } -Reference< XAccessible > SAL_CALL VCLXAccessibleListItem::getAccessibleAtPoint( const awt::Point& ) throw (RuntimeException, std::exception) +Reference< XAccessible > SAL_CALL VCLXAccessibleListItem::getAccessibleAtPoint( const awt::Point& ) { return Reference< XAccessible >(); } -awt::Rectangle SAL_CALL VCLXAccessibleListItem::getBounds( ) throw (RuntimeException, std::exception) +awt::Rectangle SAL_CALL VCLXAccessibleListItem::getBounds( ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -328,7 +328,7 @@ awt::Rectangle SAL_CALL VCLXAccessibleListItem::getBounds( ) throw (RuntimeExce return aRect; } -awt::Point SAL_CALL VCLXAccessibleListItem::getLocation( ) throw (RuntimeException, std::exception) +awt::Point SAL_CALL VCLXAccessibleListItem::getLocation( ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -343,7 +343,7 @@ awt::Point SAL_CALL VCLXAccessibleListItem::getLocation( ) throw (RuntimeExcept return AWTPoint( aPoint ); } -awt::Point SAL_CALL VCLXAccessibleListItem::getLocationOnScreen( ) throw (RuntimeException, std::exception) +awt::Point SAL_CALL VCLXAccessibleListItem::getLocationOnScreen( ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -359,7 +359,7 @@ awt::Point SAL_CALL VCLXAccessibleListItem::getLocationOnScreen( ) throw (Runti return AWTPoint( aPoint ); } -awt::Size SAL_CALL VCLXAccessibleListItem::getSize( ) throw (RuntimeException, std::exception) +awt::Size SAL_CALL VCLXAccessibleListItem::getSize( ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -372,19 +372,19 @@ awt::Size SAL_CALL VCLXAccessibleListItem::getSize( ) throw (RuntimeException, return AWTSize( aSize ); } -void SAL_CALL VCLXAccessibleListItem::grabFocus( ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXAccessibleListItem::grabFocus( ) { // no focus for each item } // XAccessibleText -sal_Int32 SAL_CALL VCLXAccessibleListItem::getCaretPosition() throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleListItem::getCaretPosition() { return -1; } -sal_Bool SAL_CALL VCLXAccessibleListItem::setCaretPosition( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXAccessibleListItem::setCaretPosition( sal_Int32 nIndex ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -395,7 +395,7 @@ sal_Bool SAL_CALL VCLXAccessibleListItem::setCaretPosition( sal_Int32 nIndex ) t return false; } -sal_Unicode SAL_CALL VCLXAccessibleListItem::getCharacter( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Unicode SAL_CALL VCLXAccessibleListItem::getCharacter( sal_Int32 nIndex ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -403,7 +403,7 @@ sal_Unicode SAL_CALL VCLXAccessibleListItem::getCharacter( sal_Int32 nIndex ) th return OCommonAccessibleText::getCharacter( nIndex ); } -Sequence< PropertyValue > SAL_CALL VCLXAccessibleListItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Sequence< PropertyValue > SAL_CALL VCLXAccessibleListItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -415,7 +415,7 @@ Sequence< PropertyValue > SAL_CALL VCLXAccessibleListItem::getCharacterAttribute return Sequence< PropertyValue >(); } -awt::Rectangle SAL_CALL VCLXAccessibleListItem::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +awt::Rectangle SAL_CALL VCLXAccessibleListItem::getCharacterBounds( sal_Int32 nIndex ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -437,7 +437,7 @@ awt::Rectangle SAL_CALL VCLXAccessibleListItem::getCharacterBounds( sal_Int32 nI return aBounds; } -sal_Int32 SAL_CALL VCLXAccessibleListItem::getCharacterCount() throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleListItem::getCharacterCount() { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -445,7 +445,7 @@ sal_Int32 SAL_CALL VCLXAccessibleListItem::getCharacterCount() throw (RuntimeExc return OCommonAccessibleText::getCharacterCount(); } -sal_Int32 SAL_CALL VCLXAccessibleListItem::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleListItem::getIndexAtPoint( const awt::Point& aPoint ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -465,7 +465,7 @@ sal_Int32 SAL_CALL VCLXAccessibleListItem::getIndexAtPoint( const awt::Point& aP return nIndex; } -OUString SAL_CALL VCLXAccessibleListItem::getSelectedText() throw (RuntimeException, std::exception) +OUString SAL_CALL VCLXAccessibleListItem::getSelectedText() { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -473,7 +473,7 @@ OUString SAL_CALL VCLXAccessibleListItem::getSelectedText() throw (RuntimeExcept return OCommonAccessibleText::getSelectedText(); } -sal_Int32 SAL_CALL VCLXAccessibleListItem::getSelectionStart() throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleListItem::getSelectionStart() { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -481,7 +481,7 @@ sal_Int32 SAL_CALL VCLXAccessibleListItem::getSelectionStart() throw (RuntimeExc return OCommonAccessibleText::getSelectionStart(); } -sal_Int32 SAL_CALL VCLXAccessibleListItem::getSelectionEnd() throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleListItem::getSelectionEnd() { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -489,7 +489,7 @@ sal_Int32 SAL_CALL VCLXAccessibleListItem::getSelectionEnd() throw (RuntimeExcep return OCommonAccessibleText::getSelectionEnd(); } -sal_Bool SAL_CALL VCLXAccessibleListItem::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXAccessibleListItem::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -500,7 +500,7 @@ sal_Bool SAL_CALL VCLXAccessibleListItem::setSelection( sal_Int32 nStartIndex, s return false; } -OUString SAL_CALL VCLXAccessibleListItem::getText() throw (RuntimeException, std::exception) +OUString SAL_CALL VCLXAccessibleListItem::getText() { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -508,7 +508,7 @@ OUString SAL_CALL VCLXAccessibleListItem::getText() throw (RuntimeException, std return OCommonAccessibleText::getText(); } -OUString SAL_CALL VCLXAccessibleListItem::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +OUString SAL_CALL VCLXAccessibleListItem::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -516,7 +516,7 @@ OUString SAL_CALL VCLXAccessibleListItem::getTextRange( sal_Int32 nStartIndex, s return OCommonAccessibleText::getTextRange( nStartIndex, nEndIndex ); } -css::accessibility::TextSegment SAL_CALL VCLXAccessibleListItem::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::accessibility::TextSegment SAL_CALL VCLXAccessibleListItem::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -524,7 +524,7 @@ css::accessibility::TextSegment SAL_CALL VCLXAccessibleListItem::getTextAtIndex( return OCommonAccessibleText::getTextAtIndex( nIndex, aTextType ); } -css::accessibility::TextSegment SAL_CALL VCLXAccessibleListItem::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::accessibility::TextSegment SAL_CALL VCLXAccessibleListItem::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -532,7 +532,7 @@ css::accessibility::TextSegment SAL_CALL VCLXAccessibleListItem::getTextBeforeIn return OCommonAccessibleText::getTextBeforeIndex( nIndex, aTextType ); } -css::accessibility::TextSegment SAL_CALL VCLXAccessibleListItem::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::accessibility::TextSegment SAL_CALL VCLXAccessibleListItem::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -540,7 +540,7 @@ css::accessibility::TextSegment SAL_CALL VCLXAccessibleListItem::getTextBehindIn return OCommonAccessibleText::getTextBehindIndex( nIndex, aTextType ); } -sal_Bool SAL_CALL VCLXAccessibleListItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXAccessibleListItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { SolarMutexGuard aSolarGuard; ::osl::MutexGuard aGuard( m_aMutex ); @@ -573,7 +573,7 @@ sal_Bool SAL_CALL VCLXAccessibleListItem::copyText( sal_Int32 nStartIndex, sal_I // XAccessibleEventBroadcaster -void SAL_CALL VCLXAccessibleListItem::addAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXAccessibleListItem::addAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener ) { if (xListener.is()) { @@ -583,7 +583,7 @@ void SAL_CALL VCLXAccessibleListItem::addAccessibleEventListener( const Referenc } } -void SAL_CALL VCLXAccessibleListItem::removeAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXAccessibleListItem::removeAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener ) { if ( xListener.is() && m_nClientId ) { @@ -609,7 +609,6 @@ void SAL_CALL VCLXAccessibleListItem::removeAccessibleEventListener( const Refer // initial implementation and has to be substituted by code that determines // the color that is actually used. sal_Int32 SAL_CALL VCLXAccessibleListItem::getForeground() - throw (css::uno::RuntimeException, std::exception) { return COL_BLACK; } @@ -618,7 +617,6 @@ sal_Int32 SAL_CALL VCLXAccessibleListItem::getForeground() // initial implementation and has to be substituted by code that determines // the color that is actually used. sal_Int32 SAL_CALL VCLXAccessibleListItem::getBackground() - throw (css::uno::RuntimeException, std::exception) { return COL_WHITE; } diff --git a/accessibility/source/standard/vclxaccessiblemenu.cxx b/accessibility/source/standard/vclxaccessiblemenu.cxx index 536e2a967370..a3a5774e1ff2 100644 --- a/accessibility/source/standard/vclxaccessiblemenu.cxx +++ b/accessibility/source/standard/vclxaccessiblemenu.cxx @@ -85,13 +85,13 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXAccessibleMenu, VCLXAccessibleMenuItem, VC // XServiceInfo -OUString VCLXAccessibleMenu::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleMenu::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleMenu" ); } -Sequence< OUString > VCLXAccessibleMenu::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleMenu::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleMenu" }; } @@ -100,7 +100,7 @@ Sequence< OUString > VCLXAccessibleMenu::getSupportedServiceNames() throw (Runti // XAccessibleContext -sal_Int32 VCLXAccessibleMenu::getAccessibleChildCount( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleMenu::getAccessibleChildCount( ) { OExternalLockGuard aGuard( this ); @@ -108,7 +108,7 @@ sal_Int32 VCLXAccessibleMenu::getAccessibleChildCount( ) throw (RuntimeExceptio } -Reference< XAccessible > VCLXAccessibleMenu::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleMenu::getAccessibleChild( sal_Int32 i ) { OExternalLockGuard aGuard( this ); @@ -119,7 +119,7 @@ Reference< XAccessible > VCLXAccessibleMenu::getAccessibleChild( sal_Int32 i ) t } -sal_Int16 VCLXAccessibleMenu::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 VCLXAccessibleMenu::getAccessibleRole( ) { OExternalLockGuard aGuard( this ); @@ -130,7 +130,7 @@ sal_Int16 VCLXAccessibleMenu::getAccessibleRole( ) throw (RuntimeException, std // XAccessibleComponent -Reference< XAccessible > VCLXAccessibleMenu::getAccessibleAtPoint( const awt::Point& rPoint ) throw (RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleMenu::getAccessibleAtPoint( const awt::Point& rPoint ) { OExternalLockGuard aGuard( this ); @@ -141,7 +141,7 @@ Reference< XAccessible > VCLXAccessibleMenu::getAccessibleAtPoint( const awt::Po // XAccessibleSelection -void VCLXAccessibleMenu::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +void VCLXAccessibleMenu::selectAccessibleChild( sal_Int32 nChildIndex ) { OExternalLockGuard aGuard( this ); @@ -152,7 +152,7 @@ void VCLXAccessibleMenu::selectAccessibleChild( sal_Int32 nChildIndex ) throw (I } -sal_Bool VCLXAccessibleMenu::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleMenu::isAccessibleChildSelected( sal_Int32 nChildIndex ) { OExternalLockGuard aGuard( this ); @@ -163,7 +163,7 @@ sal_Bool VCLXAccessibleMenu::isAccessibleChildSelected( sal_Int32 nChildIndex ) } -void VCLXAccessibleMenu::clearAccessibleSelection( ) throw (RuntimeException, std::exception) +void VCLXAccessibleMenu::clearAccessibleSelection( ) { OExternalLockGuard aGuard( this ); @@ -171,13 +171,13 @@ void VCLXAccessibleMenu::clearAccessibleSelection( ) throw (RuntimeException, s } -void VCLXAccessibleMenu::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception) +void VCLXAccessibleMenu::selectAllAccessibleChildren( ) { // This method makes no sense in a menu, and so does nothing. } -sal_Int32 VCLXAccessibleMenu::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleMenu::getSelectedAccessibleChildCount( ) { OExternalLockGuard aGuard( this ); @@ -193,7 +193,7 @@ sal_Int32 VCLXAccessibleMenu::getSelectedAccessibleChildCount( ) throw (Runtime } -Reference< XAccessible > VCLXAccessibleMenu::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleMenu::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) { OExternalLockGuard aGuard( this ); @@ -215,7 +215,7 @@ Reference< XAccessible > VCLXAccessibleMenu::getSelectedAccessibleChild( sal_Int } -void VCLXAccessibleMenu::deselectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +void VCLXAccessibleMenu::deselectAccessibleChild( sal_Int32 nChildIndex ) { OExternalLockGuard aGuard( this ); @@ -226,7 +226,7 @@ void VCLXAccessibleMenu::deselectAccessibleChild( sal_Int32 nChildIndex ) throw } -OUString VCLXAccessibleMenu::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +OUString VCLXAccessibleMenu::getAccessibleActionDescription ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblemenubar.cxx b/accessibility/source/standard/vclxaccessiblemenubar.cxx index f1855c59c3a4..ba5715e5d9de 100644 --- a/accessibility/source/standard/vclxaccessiblemenubar.cxx +++ b/accessibility/source/standard/vclxaccessiblemenubar.cxx @@ -124,13 +124,13 @@ void VCLXAccessibleMenuBar::disposing() // XServiceInfo -OUString VCLXAccessibleMenuBar::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleMenuBar::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleMenuBar" ); } -Sequence< OUString > VCLXAccessibleMenuBar::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleMenuBar::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleMenuBar" }; } @@ -139,7 +139,7 @@ Sequence< OUString > VCLXAccessibleMenuBar::getSupportedServiceNames() throw (Ru // XAccessibleContext -sal_Int32 VCLXAccessibleMenuBar::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleMenuBar::getAccessibleIndexInParent( ) { OExternalLockGuard aGuard( this ); @@ -170,7 +170,7 @@ sal_Int32 VCLXAccessibleMenuBar::getAccessibleIndexInParent( ) throw (RuntimeEx } -sal_Int16 VCLXAccessibleMenuBar::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 VCLXAccessibleMenuBar::getAccessibleRole( ) { OExternalLockGuard aGuard( this ); @@ -181,7 +181,7 @@ sal_Int16 VCLXAccessibleMenuBar::getAccessibleRole( ) throw (RuntimeException, // XAccessibleExtendedComponent -sal_Int32 VCLXAccessibleMenuBar::getBackground( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleMenuBar::getBackground( ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblemenuitem.cxx b/accessibility/source/standard/vclxaccessiblemenuitem.cxx index dcb14fb526f0..26fb4613136e 100644 --- a/accessibility/source/standard/vclxaccessiblemenuitem.cxx +++ b/accessibility/source/standard/vclxaccessiblemenuitem.cxx @@ -153,13 +153,13 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXAccessibleMenuItem, OAccessibleMenuItemCom // XServiceInfo -OUString VCLXAccessibleMenuItem::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleMenuItem::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleMenuItem" ); } -Sequence< OUString > VCLXAccessibleMenuItem::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleMenuItem::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleMenuItem" }; } @@ -168,7 +168,7 @@ Sequence< OUString > VCLXAccessibleMenuItem::getSupportedServiceNames() throw (R // XAccessibleContext -sal_Int16 VCLXAccessibleMenuItem::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 VCLXAccessibleMenuItem::getAccessibleRole( ) { OExternalLockGuard aGuard( this ); // IA2 CWS. MT: We had the additional roles in UAA for ever, but never used them anywhere. @@ -190,7 +190,7 @@ sal_Int16 VCLXAccessibleMenuItem::getAccessibleRole( ) throw (RuntimeException, // XAccessibleText -sal_Int32 VCLXAccessibleMenuItem::getCaretPosition() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleMenuItem::getCaretPosition() { OExternalLockGuard aGuard( this ); @@ -198,7 +198,7 @@ sal_Int32 VCLXAccessibleMenuItem::getCaretPosition() throw (RuntimeException, st } -sal_Bool VCLXAccessibleMenuItem::setCaretPosition( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleMenuItem::setCaretPosition( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -210,7 +210,7 @@ sal_Bool VCLXAccessibleMenuItem::setCaretPosition( sal_Int32 nIndex ) throw (Ind } -sal_Unicode VCLXAccessibleMenuItem::getCharacter( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Unicode VCLXAccessibleMenuItem::getCharacter( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -218,7 +218,7 @@ sal_Unicode VCLXAccessibleMenuItem::getCharacter( sal_Int32 nIndex ) throw (Inde } -Sequence< PropertyValue > VCLXAccessibleMenuItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Sequence< PropertyValue > VCLXAccessibleMenuItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) { OExternalLockGuard aGuard( this ); @@ -235,7 +235,7 @@ Sequence< PropertyValue > VCLXAccessibleMenuItem::getCharacterAttributes( sal_In } -awt::Rectangle VCLXAccessibleMenuItem::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +awt::Rectangle VCLXAccessibleMenuItem::getCharacterBounds( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -256,7 +256,7 @@ awt::Rectangle VCLXAccessibleMenuItem::getCharacterBounds( sal_Int32 nIndex ) th } -sal_Int32 VCLXAccessibleMenuItem::getCharacterCount() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleMenuItem::getCharacterCount() { OExternalLockGuard aGuard( this ); @@ -264,7 +264,7 @@ sal_Int32 VCLXAccessibleMenuItem::getCharacterCount() throw (RuntimeException, s } -sal_Int32 VCLXAccessibleMenuItem::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleMenuItem::getIndexAtPoint( const awt::Point& aPoint ) { OExternalLockGuard aGuard( this ); @@ -284,7 +284,7 @@ sal_Int32 VCLXAccessibleMenuItem::getIndexAtPoint( const awt::Point& aPoint ) th } -OUString VCLXAccessibleMenuItem::getSelectedText() throw (RuntimeException, std::exception) +OUString VCLXAccessibleMenuItem::getSelectedText() { OExternalLockGuard aGuard( this ); @@ -292,7 +292,7 @@ OUString VCLXAccessibleMenuItem::getSelectedText() throw (RuntimeException, std: } -sal_Int32 VCLXAccessibleMenuItem::getSelectionStart() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleMenuItem::getSelectionStart() { OExternalLockGuard aGuard( this ); @@ -300,7 +300,7 @@ sal_Int32 VCLXAccessibleMenuItem::getSelectionStart() throw (RuntimeException, s } -sal_Int32 VCLXAccessibleMenuItem::getSelectionEnd() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleMenuItem::getSelectionEnd() { OExternalLockGuard aGuard( this ); @@ -308,7 +308,7 @@ sal_Int32 VCLXAccessibleMenuItem::getSelectionEnd() throw (RuntimeException, std } -sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -319,7 +319,7 @@ sal_Bool VCLXAccessibleMenuItem::setSelection( sal_Int32 nStartIndex, sal_Int32 } -OUString VCLXAccessibleMenuItem::getText() throw (RuntimeException, std::exception) +OUString VCLXAccessibleMenuItem::getText() { OExternalLockGuard aGuard( this ); @@ -327,7 +327,7 @@ OUString VCLXAccessibleMenuItem::getText() throw (RuntimeException, std::excepti } -OUString VCLXAccessibleMenuItem::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +OUString VCLXAccessibleMenuItem::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -335,7 +335,7 @@ OUString VCLXAccessibleMenuItem::getTextRange( sal_Int32 nStartIndex, sal_Int32 } -css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) { OExternalLockGuard aGuard( this ); @@ -343,7 +343,7 @@ css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextAtIndex( sal_Int3 } -css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) { OExternalLockGuard aGuard( this ); @@ -351,7 +351,7 @@ css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextBeforeIndex( sal_ } -css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) { OExternalLockGuard aGuard( this ); @@ -359,7 +359,7 @@ css::accessibility::TextSegment VCLXAccessibleMenuItem::getTextBehindIndex( sal_ } -sal_Bool VCLXAccessibleMenuItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleMenuItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -395,7 +395,7 @@ sal_Bool VCLXAccessibleMenuItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEnd // XAccessibleAction -sal_Int32 VCLXAccessibleMenuItem::getAccessibleActionCount( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleMenuItem::getAccessibleActionCount( ) { OExternalLockGuard aGuard( this ); @@ -403,7 +403,7 @@ sal_Int32 VCLXAccessibleMenuItem::getAccessibleActionCount( ) throw (RuntimeExce } -sal_Bool VCLXAccessibleMenuItem::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleMenuItem::doAccessibleAction ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -416,7 +416,7 @@ sal_Bool VCLXAccessibleMenuItem::doAccessibleAction ( sal_Int32 nIndex ) throw ( } -OUString VCLXAccessibleMenuItem::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +OUString VCLXAccessibleMenuItem::getAccessibleActionDescription ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -427,7 +427,7 @@ OUString VCLXAccessibleMenuItem::getAccessibleActionDescription ( sal_Int32 nInd } -Reference< XAccessibleKeyBinding > VCLXAccessibleMenuItem::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessibleKeyBinding > VCLXAccessibleMenuItem::getAccessibleActionKeyBinding( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -506,7 +506,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleMenuItem::getAccessibleActionKe // XAccessibleValue -Any VCLXAccessibleMenuItem::getCurrentValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleMenuItem::getCurrentValue( ) { OExternalLockGuard aGuard( this ); @@ -520,7 +520,7 @@ Any VCLXAccessibleMenuItem::getCurrentValue( ) throw (RuntimeException, std::ex } -sal_Bool VCLXAccessibleMenuItem::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception) +sal_Bool VCLXAccessibleMenuItem::setCurrentValue( const Any& aNumber ) { OExternalLockGuard aGuard( this ); @@ -543,7 +543,7 @@ sal_Bool VCLXAccessibleMenuItem::setCurrentValue( const Any& aNumber ) throw (Ru } -Any VCLXAccessibleMenuItem::getMaximumValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleMenuItem::getMaximumValue( ) { OExternalLockGuard aGuard( this ); @@ -554,7 +554,7 @@ Any VCLXAccessibleMenuItem::getMaximumValue( ) throw (RuntimeException, std::ex } -Any VCLXAccessibleMenuItem::getMinimumValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleMenuItem::getMinimumValue( ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblemenuseparator.cxx b/accessibility/source/standard/vclxaccessiblemenuseparator.cxx index 3e92cf818ddc..ca7162de520f 100644 --- a/accessibility/source/standard/vclxaccessiblemenuseparator.cxx +++ b/accessibility/source/standard/vclxaccessiblemenuseparator.cxx @@ -45,13 +45,13 @@ VCLXAccessibleMenuSeparator::~VCLXAccessibleMenuSeparator() // XServiceInfo -OUString VCLXAccessibleMenuSeparator::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleMenuSeparator::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleMenuSeparator" ); } -Sequence< OUString > VCLXAccessibleMenuSeparator::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleMenuSeparator::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleMenuSeparator" }; } @@ -60,7 +60,7 @@ Sequence< OUString > VCLXAccessibleMenuSeparator::getSupportedServiceNames() thr // XAccessibleContext -sal_Int16 VCLXAccessibleMenuSeparator::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 VCLXAccessibleMenuSeparator::getAccessibleRole( ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblepopupmenu.cxx b/accessibility/source/standard/vclxaccessiblepopupmenu.cxx index 6f0730d212d0..2fb569857bf2 100644 --- a/accessibility/source/standard/vclxaccessiblepopupmenu.cxx +++ b/accessibility/source/standard/vclxaccessiblepopupmenu.cxx @@ -51,13 +51,13 @@ bool VCLXAccessiblePopupMenu::IsFocused() // XServiceInfo -OUString VCLXAccessiblePopupMenu::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessiblePopupMenu::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessiblePopupMenu" ); } -Sequence< OUString > VCLXAccessiblePopupMenu::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessiblePopupMenu::getSupportedServiceNames() { return { "com.sun.star.awt.AccessiblePopupMenu" }; } @@ -66,7 +66,7 @@ Sequence< OUString > VCLXAccessiblePopupMenu::getSupportedServiceNames() throw ( // XAccessibleContext -sal_Int32 VCLXAccessiblePopupMenu::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessiblePopupMenu::getAccessibleIndexInParent( ) { OExternalLockGuard aGuard( this ); @@ -74,7 +74,7 @@ sal_Int32 VCLXAccessiblePopupMenu::getAccessibleIndexInParent( ) throw (Runtime } -sal_Int16 VCLXAccessiblePopupMenu::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 VCLXAccessiblePopupMenu::getAccessibleRole( ) { OExternalLockGuard aGuard( this ); @@ -85,7 +85,7 @@ sal_Int16 VCLXAccessiblePopupMenu::getAccessibleRole( ) throw (RuntimeException // XAccessibleExtendedComponent -sal_Int32 VCLXAccessiblePopupMenu::getBackground( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessiblePopupMenu::getBackground( ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessibleradiobutton.cxx b/accessibility/source/standard/vclxaccessibleradiobutton.cxx index ab567e27609f..e39f07de5716 100644 --- a/accessibility/source/standard/vclxaccessibleradiobutton.cxx +++ b/accessibility/source/standard/vclxaccessibleradiobutton.cxx @@ -134,13 +134,13 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXAccessibleRadioButton, VCLXAccessibleTextC // XServiceInfo -OUString VCLXAccessibleRadioButton::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleRadioButton::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleRadioButton" ); } -Sequence< OUString > VCLXAccessibleRadioButton::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleRadioButton::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleRadioButton" }; } @@ -149,7 +149,7 @@ Sequence< OUString > VCLXAccessibleRadioButton::getSupportedServiceNames() throw // XAccessibleAction -sal_Int32 VCLXAccessibleRadioButton::getAccessibleActionCount( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleRadioButton::getAccessibleActionCount( ) { OExternalLockGuard aGuard( this ); @@ -157,7 +157,7 @@ sal_Int32 VCLXAccessibleRadioButton::getAccessibleActionCount( ) throw (RuntimeE } -sal_Bool VCLXAccessibleRadioButton::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleRadioButton::doAccessibleAction ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -172,7 +172,7 @@ sal_Bool VCLXAccessibleRadioButton::doAccessibleAction ( sal_Int32 nIndex ) thro } -OUString VCLXAccessibleRadioButton::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +OUString VCLXAccessibleRadioButton::getAccessibleActionDescription ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -183,7 +183,7 @@ OUString VCLXAccessibleRadioButton::getAccessibleActionDescription ( sal_Int32 n } -Reference< XAccessibleKeyBinding > VCLXAccessibleRadioButton::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessibleKeyBinding > VCLXAccessibleRadioButton::getAccessibleActionKeyBinding( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -224,7 +224,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleRadioButton::getAccessibleActio // XAccessibleValue -Any VCLXAccessibleRadioButton::getCurrentValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleRadioButton::getCurrentValue( ) { OExternalLockGuard aGuard( this ); @@ -238,7 +238,7 @@ Any VCLXAccessibleRadioButton::getCurrentValue( ) throw (RuntimeException, std: } -sal_Bool VCLXAccessibleRadioButton::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception) +sal_Bool VCLXAccessibleRadioButton::setCurrentValue( const Any& aNumber ) { OExternalLockGuard aGuard( this ); @@ -263,7 +263,7 @@ sal_Bool VCLXAccessibleRadioButton::setCurrentValue( const Any& aNumber ) throw } -Any VCLXAccessibleRadioButton::getMaximumValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleRadioButton::getMaximumValue( ) { OExternalLockGuard aGuard( this ); @@ -274,7 +274,7 @@ Any VCLXAccessibleRadioButton::getMaximumValue( ) throw (RuntimeException, std: } -Any VCLXAccessibleRadioButton::getMinimumValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleRadioButton::getMinimumValue( ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblescrollbar.cxx b/accessibility/source/standard/vclxaccessiblescrollbar.cxx index 74e89b53d36e..6995adf18946 100644 --- a/accessibility/source/standard/vclxaccessiblescrollbar.cxx +++ b/accessibility/source/standard/vclxaccessiblescrollbar.cxx @@ -101,13 +101,13 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXAccessibleScrollBar, VCLXAccessibleCompone // XServiceInfo -OUString VCLXAccessibleScrollBar::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleScrollBar::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleScrollBar" ); } -Sequence< OUString > VCLXAccessibleScrollBar::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleScrollBar::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleScrollBar" }; } @@ -116,7 +116,7 @@ Sequence< OUString > VCLXAccessibleScrollBar::getSupportedServiceNames() throw ( // XAccessibleAction -sal_Int32 VCLXAccessibleScrollBar::getAccessibleActionCount( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleScrollBar::getAccessibleActionCount( ) { OExternalLockGuard aGuard( this ); @@ -124,7 +124,7 @@ sal_Int32 VCLXAccessibleScrollBar::getAccessibleActionCount( ) throw (RuntimeExc } -sal_Bool VCLXAccessibleScrollBar::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleScrollBar::doAccessibleAction ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -152,7 +152,7 @@ sal_Bool VCLXAccessibleScrollBar::doAccessibleAction ( sal_Int32 nIndex ) throw } -OUString VCLXAccessibleScrollBar::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +OUString VCLXAccessibleScrollBar::getAccessibleActionDescription ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -174,7 +174,7 @@ OUString VCLXAccessibleScrollBar::getAccessibleActionDescription ( sal_Int32 nIn } -Reference< XAccessibleKeyBinding > VCLXAccessibleScrollBar::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessibleKeyBinding > VCLXAccessibleScrollBar::getAccessibleActionKeyBinding( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -188,7 +188,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleScrollBar::getAccessibleActionK // XAccessibleValue -Any VCLXAccessibleScrollBar::getCurrentValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleScrollBar::getCurrentValue( ) { OExternalLockGuard aGuard( this ); @@ -202,7 +202,7 @@ Any VCLXAccessibleScrollBar::getCurrentValue( ) throw (RuntimeException, std::e } -sal_Bool VCLXAccessibleScrollBar::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception) +sal_Bool VCLXAccessibleScrollBar::setCurrentValue( const Any& aNumber ) { OExternalLockGuard aGuard( this ); @@ -229,7 +229,7 @@ sal_Bool VCLXAccessibleScrollBar::setCurrentValue( const Any& aNumber ) throw (R } -Any VCLXAccessibleScrollBar::getMaximumValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleScrollBar::getMaximumValue( ) { OExternalLockGuard aGuard( this ); @@ -243,7 +243,7 @@ Any VCLXAccessibleScrollBar::getMaximumValue( ) throw (RuntimeException, std::e } -Any VCLXAccessibleScrollBar::getMinimumValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleScrollBar::getMinimumValue( ) { OExternalLockGuard aGuard( this ); @@ -254,7 +254,7 @@ Any VCLXAccessibleScrollBar::getMinimumValue( ) throw (RuntimeException, std::e } -OUString VCLXAccessibleScrollBar::getAccessibleName( ) throw (uno::RuntimeException, std::exception) +OUString VCLXAccessibleScrollBar::getAccessibleName( ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblestatusbar.cxx b/accessibility/source/standard/vclxaccessiblestatusbar.cxx index 22b4e22713ee..86686997e63b 100644 --- a/accessibility/source/standard/vclxaccessiblestatusbar.cxx +++ b/accessibility/source/standard/vclxaccessiblestatusbar.cxx @@ -273,13 +273,13 @@ void VCLXAccessibleStatusBar::disposing() // XServiceInfo -OUString VCLXAccessibleStatusBar::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleStatusBar::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleStatusBar" ); } -Sequence< OUString > VCLXAccessibleStatusBar::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleStatusBar::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleStatusBar" }; } @@ -288,7 +288,7 @@ Sequence< OUString > VCLXAccessibleStatusBar::getSupportedServiceNames() throw ( // XAccessibleContext -sal_Int32 VCLXAccessibleStatusBar::getAccessibleChildCount() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleStatusBar::getAccessibleChildCount() { OExternalLockGuard aGuard( this ); @@ -296,7 +296,7 @@ sal_Int32 VCLXAccessibleStatusBar::getAccessibleChildCount() throw (RuntimeExcep } -Reference< XAccessible > VCLXAccessibleStatusBar::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleStatusBar::getAccessibleChild( sal_Int32 i ) { OExternalLockGuard aGuard( this ); @@ -324,7 +324,7 @@ Reference< XAccessible > VCLXAccessibleStatusBar::getAccessibleChild( sal_Int32 // XAccessibleComponent -Reference< XAccessible > VCLXAccessibleStatusBar::getAccessibleAtPoint( const awt::Point& rPoint ) throw (RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleStatusBar::getAccessibleAtPoint( const awt::Point& rPoint ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx b/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx index 5ae808ffef67..8ef763456cea 100644 --- a/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx +++ b/accessibility/source/standard/vclxaccessiblestatusbaritem.cxx @@ -157,7 +157,7 @@ void VCLXAccessibleStatusBarItem::FillAccessibleStateSet( utl::AccessibleStateSe // OCommonAccessibleComponent -awt::Rectangle VCLXAccessibleStatusBarItem::implGetBounds() throw (RuntimeException) +awt::Rectangle VCLXAccessibleStatusBarItem::implGetBounds() { awt::Rectangle aBounds( 0, 0, 0, 0 ); @@ -218,19 +218,19 @@ void VCLXAccessibleStatusBarItem::disposing() // XServiceInfo -OUString VCLXAccessibleStatusBarItem::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleStatusBarItem::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleStatusBarItem" ); } -sal_Bool VCLXAccessibleStatusBarItem::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) +sal_Bool VCLXAccessibleStatusBarItem::supportsService( const OUString& rServiceName ) { return cppu::supportsService(this, rServiceName); } -Sequence< OUString > VCLXAccessibleStatusBarItem::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleStatusBarItem::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleStatusBarItem" }; } @@ -239,7 +239,7 @@ Sequence< OUString > VCLXAccessibleStatusBarItem::getSupportedServiceNames() thr // XAccessible -Reference< XAccessibleContext > VCLXAccessibleStatusBarItem::getAccessibleContext( ) throw (RuntimeException, std::exception) +Reference< XAccessibleContext > VCLXAccessibleStatusBarItem::getAccessibleContext( ) { OExternalLockGuard aGuard( this ); @@ -250,7 +250,7 @@ Reference< XAccessibleContext > VCLXAccessibleStatusBarItem::getAccessibleContex // XAccessibleContext -sal_Int32 VCLXAccessibleStatusBarItem::getAccessibleChildCount() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleStatusBarItem::getAccessibleChildCount() { OExternalLockGuard aGuard( this ); @@ -258,7 +258,7 @@ sal_Int32 VCLXAccessibleStatusBarItem::getAccessibleChildCount() throw (RuntimeE } -Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleChild( sal_Int32 i ) { OExternalLockGuard aGuard( this ); @@ -269,7 +269,7 @@ Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleChild( sal_In } -Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleParent( ) throw (RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleParent( ) { OExternalLockGuard aGuard( this ); @@ -281,7 +281,7 @@ Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleParent( ) th } -sal_Int32 VCLXAccessibleStatusBarItem::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleStatusBarItem::getAccessibleIndexInParent( ) { OExternalLockGuard aGuard( this ); @@ -293,7 +293,7 @@ sal_Int32 VCLXAccessibleStatusBarItem::getAccessibleIndexInParent( ) throw (Run } -sal_Int16 VCLXAccessibleStatusBarItem::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 VCLXAccessibleStatusBarItem::getAccessibleRole( ) { OExternalLockGuard aGuard( this ); @@ -301,7 +301,7 @@ sal_Int16 VCLXAccessibleStatusBarItem::getAccessibleRole( ) throw (RuntimeExcep } -OUString VCLXAccessibleStatusBarItem::getAccessibleDescription( ) throw (RuntimeException, std::exception) +OUString VCLXAccessibleStatusBarItem::getAccessibleDescription( ) { OExternalLockGuard aGuard( this ); @@ -313,7 +313,7 @@ OUString VCLXAccessibleStatusBarItem::getAccessibleDescription( ) throw (Runtim } -OUString VCLXAccessibleStatusBarItem::getAccessibleName( ) throw (RuntimeException, std::exception) +OUString VCLXAccessibleStatusBarItem::getAccessibleName( ) { OExternalLockGuard aGuard( this ); @@ -321,7 +321,7 @@ OUString VCLXAccessibleStatusBarItem::getAccessibleName( ) throw (RuntimeExcept } -Reference< XAccessibleRelationSet > VCLXAccessibleStatusBarItem::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) +Reference< XAccessibleRelationSet > VCLXAccessibleStatusBarItem::getAccessibleRelationSet( ) { OExternalLockGuard aGuard( this ); @@ -331,7 +331,7 @@ Reference< XAccessibleRelationSet > VCLXAccessibleStatusBarItem::getAccessibleRe } -Reference< XAccessibleStateSet > VCLXAccessibleStatusBarItem::getAccessibleStateSet( ) throw (RuntimeException, std::exception) +Reference< XAccessibleStateSet > VCLXAccessibleStatusBarItem::getAccessibleStateSet( ) { OExternalLockGuard aGuard( this ); @@ -351,7 +351,7 @@ Reference< XAccessibleStateSet > VCLXAccessibleStatusBarItem::getAccessibleState } -Locale VCLXAccessibleStatusBarItem::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) +Locale VCLXAccessibleStatusBarItem::getLocale( ) { OExternalLockGuard aGuard( this ); @@ -362,7 +362,7 @@ Locale VCLXAccessibleStatusBarItem::getLocale( ) throw (IllegalAccessibleCompon // XAccessibleComponent -Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleAtPoint( const awt::Point& ) throw (RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleAtPoint( const awt::Point& ) { OExternalLockGuard aGuard( this ); @@ -370,13 +370,13 @@ Reference< XAccessible > VCLXAccessibleStatusBarItem::getAccessibleAtPoint( cons } -void VCLXAccessibleStatusBarItem::grabFocus( ) throw (RuntimeException, std::exception) +void VCLXAccessibleStatusBarItem::grabFocus( ) { // no focus for status bar items } -sal_Int32 VCLXAccessibleStatusBarItem::getForeground( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleStatusBarItem::getForeground( ) { OExternalLockGuard aGuard( this ); @@ -393,7 +393,7 @@ sal_Int32 VCLXAccessibleStatusBarItem::getForeground( ) throw (RuntimeExceptio } -sal_Int32 VCLXAccessibleStatusBarItem::getBackground( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleStatusBarItem::getBackground( ) { OExternalLockGuard aGuard( this ); @@ -413,7 +413,7 @@ sal_Int32 VCLXAccessibleStatusBarItem::getBackground( ) throw (RuntimeException // XAccessibleExtendedComponent -Reference< awt::XFont > VCLXAccessibleStatusBarItem::getFont( ) throw (RuntimeException, std::exception) +Reference< awt::XFont > VCLXAccessibleStatusBarItem::getFont( ) { OExternalLockGuard aGuard( this ); @@ -430,7 +430,7 @@ Reference< awt::XFont > VCLXAccessibleStatusBarItem::getFont( ) throw (RuntimeE } -OUString VCLXAccessibleStatusBarItem::getTitledBorderText( ) throw (RuntimeException, std::exception) +OUString VCLXAccessibleStatusBarItem::getTitledBorderText( ) { OExternalLockGuard aGuard( this ); @@ -438,7 +438,7 @@ OUString VCLXAccessibleStatusBarItem::getTitledBorderText( ) throw (RuntimeExce } -OUString VCLXAccessibleStatusBarItem::getToolTipText( ) throw (RuntimeException, std::exception) +OUString VCLXAccessibleStatusBarItem::getToolTipText( ) { OExternalLockGuard aGuard( this ); @@ -449,7 +449,7 @@ OUString VCLXAccessibleStatusBarItem::getToolTipText( ) throw (RuntimeException // XAccessibleText -sal_Int32 VCLXAccessibleStatusBarItem::getCaretPosition() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleStatusBarItem::getCaretPosition() { OExternalLockGuard aGuard( this ); @@ -457,7 +457,7 @@ sal_Int32 VCLXAccessibleStatusBarItem::getCaretPosition() throw (RuntimeExceptio } -sal_Bool VCLXAccessibleStatusBarItem::setCaretPosition( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleStatusBarItem::setCaretPosition( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -468,7 +468,7 @@ sal_Bool VCLXAccessibleStatusBarItem::setCaretPosition( sal_Int32 nIndex ) throw } -Sequence< PropertyValue > VCLXAccessibleStatusBarItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Sequence< PropertyValue > VCLXAccessibleStatusBarItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) { OExternalLockGuard aGuard( this ); @@ -491,7 +491,7 @@ Sequence< PropertyValue > VCLXAccessibleStatusBarItem::getCharacterAttributes( s } -awt::Rectangle VCLXAccessibleStatusBarItem::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +awt::Rectangle VCLXAccessibleStatusBarItem::getCharacterBounds( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -513,7 +513,7 @@ awt::Rectangle VCLXAccessibleStatusBarItem::getCharacterBounds( sal_Int32 nIndex } -sal_Int32 VCLXAccessibleStatusBarItem::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleStatusBarItem::getIndexAtPoint( const awt::Point& aPoint ) { OExternalLockGuard aGuard( this ); @@ -532,7 +532,7 @@ sal_Int32 VCLXAccessibleStatusBarItem::getIndexAtPoint( const awt::Point& aPoint } -sal_Bool VCLXAccessibleStatusBarItem::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleStatusBarItem::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -543,7 +543,7 @@ sal_Bool VCLXAccessibleStatusBarItem::setSelection( sal_Int32 nStartIndex, sal_I } -sal_Bool VCLXAccessibleStatusBarItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleStatusBarItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessibletabcontrol.cxx b/accessibility/source/standard/vclxaccessibletabcontrol.cxx index 17762a1a1472..e1426e9f08b3 100644 --- a/accessibility/source/standard/vclxaccessibletabcontrol.cxx +++ b/accessibility/source/standard/vclxaccessibletabcontrol.cxx @@ -332,13 +332,13 @@ void VCLXAccessibleTabControl::disposing() // XServiceInfo -OUString VCLXAccessibleTabControl::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleTabControl::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleTabControl" ); } -Sequence< OUString > VCLXAccessibleTabControl::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleTabControl::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleTabControl" }; } @@ -347,7 +347,7 @@ Sequence< OUString > VCLXAccessibleTabControl::getSupportedServiceNames() throw // XAccessibleContext -sal_Int32 VCLXAccessibleTabControl::getAccessibleChildCount() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTabControl::getAccessibleChildCount() { OExternalLockGuard aGuard( this ); @@ -355,7 +355,7 @@ sal_Int32 VCLXAccessibleTabControl::getAccessibleChildCount() throw (RuntimeExce } -Reference< XAccessible > VCLXAccessibleTabControl::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleTabControl::getAccessibleChild( sal_Int32 i ) { OExternalLockGuard aGuard( this ); @@ -379,7 +379,7 @@ Reference< XAccessible > VCLXAccessibleTabControl::getAccessibleChild( sal_Int32 } -sal_Int16 VCLXAccessibleTabControl::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 VCLXAccessibleTabControl::getAccessibleRole( ) { OExternalLockGuard aGuard( this ); @@ -387,7 +387,7 @@ sal_Int16 VCLXAccessibleTabControl::getAccessibleRole( ) throw (RuntimeExceptio } -OUString VCLXAccessibleTabControl::getAccessibleName( ) throw (RuntimeException, std::exception) +OUString VCLXAccessibleTabControl::getAccessibleName( ) { OExternalLockGuard aGuard( this ); @@ -398,7 +398,7 @@ OUString VCLXAccessibleTabControl::getAccessibleName( ) throw (RuntimeException // XAccessibleSelection -void VCLXAccessibleTabControl::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +void VCLXAccessibleTabControl::selectAccessibleChild( sal_Int32 nChildIndex ) { OExternalLockGuard aGuard( this ); @@ -410,7 +410,7 @@ void VCLXAccessibleTabControl::selectAccessibleChild( sal_Int32 nChildIndex ) th } -sal_Bool VCLXAccessibleTabControl::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleTabControl::isAccessibleChildSelected( sal_Int32 nChildIndex ) { OExternalLockGuard aGuard( this ); @@ -425,13 +425,13 @@ sal_Bool VCLXAccessibleTabControl::isAccessibleChildSelected( sal_Int32 nChildIn } -void VCLXAccessibleTabControl::clearAccessibleSelection( ) throw (RuntimeException, std::exception) +void VCLXAccessibleTabControl::clearAccessibleSelection( ) { // This method makes no sense in a tab control, and so does nothing. } -void VCLXAccessibleTabControl::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception) +void VCLXAccessibleTabControl::selectAllAccessibleChildren( ) { OExternalLockGuard aGuard( this ); @@ -439,7 +439,7 @@ void VCLXAccessibleTabControl::selectAllAccessibleChildren( ) throw (RuntimeExc } -sal_Int32 VCLXAccessibleTabControl::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTabControl::getSelectedAccessibleChildCount( ) { OExternalLockGuard aGuard( this ); @@ -447,7 +447,7 @@ sal_Int32 VCLXAccessibleTabControl::getSelectedAccessibleChildCount( ) throw (R } -Reference< XAccessible > VCLXAccessibleTabControl::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleTabControl::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) { OExternalLockGuard aGuard( this ); @@ -469,7 +469,7 @@ Reference< XAccessible > VCLXAccessibleTabControl::getSelectedAccessibleChild( s } -void VCLXAccessibleTabControl::deselectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +void VCLXAccessibleTabControl::deselectAccessibleChild( sal_Int32 nChildIndex ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessibletabpage.cxx b/accessibility/source/standard/vclxaccessibletabpage.cxx index 86259281e49e..9f6999ea5131 100644 --- a/accessibility/source/standard/vclxaccessibletabpage.cxx +++ b/accessibility/source/standard/vclxaccessibletabpage.cxx @@ -189,7 +189,7 @@ void VCLXAccessibleTabPage::FillAccessibleStateSet( utl::AccessibleStateSetHelpe // OCommonAccessibleComponent -awt::Rectangle VCLXAccessibleTabPage::implGetBounds() throw (RuntimeException) +awt::Rectangle VCLXAccessibleTabPage::implGetBounds() { awt::Rectangle aBounds( 0, 0, 0, 0 ); @@ -249,19 +249,19 @@ void VCLXAccessibleTabPage::disposing() // XServiceInfo -OUString VCLXAccessibleTabPage::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleTabPage::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleTabPage" ); } -sal_Bool VCLXAccessibleTabPage::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) +sal_Bool VCLXAccessibleTabPage::supportsService( const OUString& rServiceName ) { return cppu::supportsService(this, rServiceName); } -Sequence< OUString > VCLXAccessibleTabPage::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleTabPage::getSupportedServiceNames() { return { "com.sun.star.awt.AccessibleTabPage" }; } @@ -270,7 +270,7 @@ Sequence< OUString > VCLXAccessibleTabPage::getSupportedServiceNames() throw (Ru // XAccessible -Reference< XAccessibleContext > VCLXAccessibleTabPage::getAccessibleContext( ) throw (RuntimeException, std::exception) +Reference< XAccessibleContext > VCLXAccessibleTabPage::getAccessibleContext( ) { OExternalLockGuard aGuard( this ); @@ -281,7 +281,7 @@ Reference< XAccessibleContext > VCLXAccessibleTabPage::getAccessibleContext( ) // XAccessibleContext -sal_Int32 VCLXAccessibleTabPage::getAccessibleChildCount() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTabPage::getAccessibleChildCount() { OExternalLockGuard aGuard( this ); @@ -297,7 +297,7 @@ sal_Int32 VCLXAccessibleTabPage::getAccessibleChildCount() throw (RuntimeExcepti } -Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleChild( sal_Int32 i ) { OExternalLockGuard aGuard( this ); @@ -316,7 +316,7 @@ Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleChild( sal_Int32 i } -Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleParent( ) throw (RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleParent( ) { OExternalLockGuard aGuard( this ); @@ -328,7 +328,7 @@ Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleParent( ) throw (R } -sal_Int32 VCLXAccessibleTabPage::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTabPage::getAccessibleIndexInParent( ) { OExternalLockGuard aGuard( this ); @@ -340,7 +340,7 @@ sal_Int32 VCLXAccessibleTabPage::getAccessibleIndexInParent( ) throw (RuntimeEx } -sal_Int16 VCLXAccessibleTabPage::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 VCLXAccessibleTabPage::getAccessibleRole( ) { OExternalLockGuard aGuard( this ); @@ -348,7 +348,7 @@ sal_Int16 VCLXAccessibleTabPage::getAccessibleRole( ) throw (RuntimeException, } -OUString VCLXAccessibleTabPage::getAccessibleDescription( ) throw (RuntimeException, std::exception) +OUString VCLXAccessibleTabPage::getAccessibleDescription( ) { OExternalLockGuard aGuard( this ); @@ -360,7 +360,7 @@ OUString VCLXAccessibleTabPage::getAccessibleDescription( ) throw (RuntimeExc } -OUString VCLXAccessibleTabPage::getAccessibleName( ) throw (RuntimeException, std::exception) +OUString VCLXAccessibleTabPage::getAccessibleName( ) { OExternalLockGuard aGuard( this ); @@ -368,7 +368,7 @@ OUString VCLXAccessibleTabPage::getAccessibleName( ) throw (RuntimeException, s } -Reference< XAccessibleRelationSet > VCLXAccessibleTabPage::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) +Reference< XAccessibleRelationSet > VCLXAccessibleTabPage::getAccessibleRelationSet( ) { OExternalLockGuard aGuard( this ); @@ -378,7 +378,7 @@ Reference< XAccessibleRelationSet > VCLXAccessibleTabPage::getAccessibleRelation } -Reference< XAccessibleStateSet > VCLXAccessibleTabPage::getAccessibleStateSet( ) throw (RuntimeException, std::exception) +Reference< XAccessibleStateSet > VCLXAccessibleTabPage::getAccessibleStateSet( ) { OExternalLockGuard aGuard( this ); @@ -398,7 +398,7 @@ Reference< XAccessibleStateSet > VCLXAccessibleTabPage::getAccessibleStateSet( } -Locale VCLXAccessibleTabPage::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception) +Locale VCLXAccessibleTabPage::getLocale( ) { OExternalLockGuard aGuard( this ); @@ -409,7 +409,7 @@ Locale VCLXAccessibleTabPage::getLocale( ) throw (IllegalAccessibleComponentSta // XAccessibleComponent -Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleAtPoint( const awt::Point& rPoint ) throw (RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleAtPoint( const awt::Point& rPoint ) { OExternalLockGuard aGuard( this ); @@ -437,7 +437,7 @@ Reference< XAccessible > VCLXAccessibleTabPage::getAccessibleAtPoint( const awt: } -void VCLXAccessibleTabPage::grabFocus( ) throw (RuntimeException, std::exception) +void VCLXAccessibleTabPage::grabFocus( ) { OExternalLockGuard aGuard( this ); @@ -449,7 +449,7 @@ void VCLXAccessibleTabPage::grabFocus( ) throw (RuntimeException, std::exceptio } -sal_Int32 VCLXAccessibleTabPage::getForeground( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTabPage::getForeground( ) { OExternalLockGuard aGuard( this ); @@ -466,7 +466,7 @@ sal_Int32 VCLXAccessibleTabPage::getForeground( ) throw (RuntimeException, std:: } -sal_Int32 VCLXAccessibleTabPage::getBackground( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTabPage::getBackground( ) { OExternalLockGuard aGuard( this ); @@ -486,7 +486,7 @@ sal_Int32 VCLXAccessibleTabPage::getBackground( ) throw (RuntimeException, std: // XAccessibleExtendedComponent -Reference< awt::XFont > VCLXAccessibleTabPage::getFont( ) throw (RuntimeException, std::exception) +Reference< awt::XFont > VCLXAccessibleTabPage::getFont( ) { OExternalLockGuard aGuard( this ); @@ -503,7 +503,7 @@ Reference< awt::XFont > VCLXAccessibleTabPage::getFont( ) throw (RuntimeExcepti } -OUString VCLXAccessibleTabPage::getTitledBorderText( ) throw (RuntimeException, std::exception) +OUString VCLXAccessibleTabPage::getTitledBorderText( ) { OExternalLockGuard aGuard( this ); @@ -511,7 +511,7 @@ OUString VCLXAccessibleTabPage::getTitledBorderText( ) throw (RuntimeException, } -OUString VCLXAccessibleTabPage::getToolTipText( ) throw (RuntimeException, std::exception) +OUString VCLXAccessibleTabPage::getToolTipText( ) { OExternalLockGuard aGuard( this ); @@ -522,7 +522,7 @@ OUString VCLXAccessibleTabPage::getToolTipText( ) throw (RuntimeException, std: // XAccessibleText -sal_Int32 VCLXAccessibleTabPage::getCaretPosition() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTabPage::getCaretPosition() { OExternalLockGuard aGuard( this ); @@ -530,7 +530,7 @@ sal_Int32 VCLXAccessibleTabPage::getCaretPosition() throw (RuntimeException, std } -sal_Bool VCLXAccessibleTabPage::setCaretPosition( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleTabPage::setCaretPosition( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -541,7 +541,7 @@ sal_Bool VCLXAccessibleTabPage::setCaretPosition( sal_Int32 nIndex ) throw (Inde } -Sequence< PropertyValue > VCLXAccessibleTabPage::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Sequence< PropertyValue > VCLXAccessibleTabPage::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) { OExternalLockGuard aGuard( this ); @@ -564,7 +564,7 @@ Sequence< PropertyValue > VCLXAccessibleTabPage::getCharacterAttributes( sal_Int } -awt::Rectangle VCLXAccessibleTabPage::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +awt::Rectangle VCLXAccessibleTabPage::getCharacterBounds( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -584,7 +584,7 @@ awt::Rectangle VCLXAccessibleTabPage::getCharacterBounds( sal_Int32 nIndex ) thr } -sal_Int32 VCLXAccessibleTabPage::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTabPage::getIndexAtPoint( const awt::Point& aPoint ) { OExternalLockGuard aGuard( this ); @@ -604,7 +604,7 @@ sal_Int32 VCLXAccessibleTabPage::getIndexAtPoint( const awt::Point& aPoint ) thr } -sal_Bool VCLXAccessibleTabPage::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleTabPage::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -615,7 +615,7 @@ sal_Bool VCLXAccessibleTabPage::setSelection( sal_Int32 nStartIndex, sal_Int32 n } -sal_Bool VCLXAccessibleTabPage::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleTabPage::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessibletabpagewindow.cxx b/accessibility/source/standard/vclxaccessibletabpagewindow.cxx index 94283017d80e..ec89a48d5c3a 100644 --- a/accessibility/source/standard/vclxaccessibletabpagewindow.cxx +++ b/accessibility/source/standard/vclxaccessibletabpagewindow.cxx @@ -66,7 +66,7 @@ VCLXAccessibleTabPageWindow::~VCLXAccessibleTabPageWindow() // OCommonAccessibleComponent -awt::Rectangle VCLXAccessibleTabPageWindow::implGetBounds() throw (RuntimeException) +awt::Rectangle VCLXAccessibleTabPageWindow::implGetBounds() { awt::Rectangle aBounds( 0, 0, 0, 0 ); @@ -100,7 +100,7 @@ void VCLXAccessibleTabPageWindow::disposing() // XAccessibleContext -Reference< XAccessible > VCLXAccessibleTabPageWindow::getAccessibleParent( ) throw (RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleTabPageWindow::getAccessibleParent( ) { OExternalLockGuard aGuard( this ); @@ -128,7 +128,7 @@ Reference< XAccessible > VCLXAccessibleTabPageWindow::getAccessibleParent( ) th } -sal_Int32 VCLXAccessibleTabPageWindow::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTabPageWindow::getAccessibleIndexInParent( ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessibletextcomponent.cxx b/accessibility/source/standard/vclxaccessibletextcomponent.cxx index 3fa741fa4a13..615f70f6d363 100644 --- a/accessibility/source/standard/vclxaccessibletextcomponent.cxx +++ b/accessibility/source/standard/vclxaccessibletextcomponent.cxx @@ -138,7 +138,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( VCLXAccessibleTextComponent, VCLXAccessibleCom // XAccessibleText -sal_Int32 VCLXAccessibleTextComponent::getCaretPosition() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTextComponent::getCaretPosition() { OExternalLockGuard aGuard( this ); @@ -146,7 +146,7 @@ sal_Int32 VCLXAccessibleTextComponent::getCaretPosition() throw (RuntimeExceptio } -sal_Bool VCLXAccessibleTextComponent::setCaretPosition( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleTextComponent::setCaretPosition( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -154,7 +154,7 @@ sal_Bool VCLXAccessibleTextComponent::setCaretPosition( sal_Int32 nIndex ) throw } -sal_Unicode VCLXAccessibleTextComponent::getCharacter( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Unicode VCLXAccessibleTextComponent::getCharacter( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -162,7 +162,7 @@ sal_Unicode VCLXAccessibleTextComponent::getCharacter( sal_Int32 nIndex ) throw } -Sequence< PropertyValue > VCLXAccessibleTextComponent::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Sequence< PropertyValue > VCLXAccessibleTextComponent::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& aRequestedAttributes ) { OExternalLockGuard aGuard( this ); @@ -236,7 +236,7 @@ Sequence< PropertyValue > VCLXAccessibleTextComponent::getCharacterAttributes( s } -awt::Rectangle VCLXAccessibleTextComponent::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +awt::Rectangle VCLXAccessibleTextComponent::getCharacterBounds( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -252,7 +252,7 @@ awt::Rectangle VCLXAccessibleTextComponent::getCharacterBounds( sal_Int32 nIndex } -sal_Int32 VCLXAccessibleTextComponent::getCharacterCount() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTextComponent::getCharacterCount() { OExternalLockGuard aGuard( this ); @@ -260,7 +260,7 @@ sal_Int32 VCLXAccessibleTextComponent::getCharacterCount() throw (RuntimeExcepti } -sal_Int32 VCLXAccessibleTextComponent::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTextComponent::getIndexAtPoint( const awt::Point& aPoint ) { OExternalLockGuard aGuard( this ); @@ -273,7 +273,7 @@ sal_Int32 VCLXAccessibleTextComponent::getIndexAtPoint( const awt::Point& aPoint } -OUString VCLXAccessibleTextComponent::getSelectedText() throw (RuntimeException, std::exception) +OUString VCLXAccessibleTextComponent::getSelectedText() { OExternalLockGuard aGuard( this ); @@ -281,7 +281,7 @@ OUString VCLXAccessibleTextComponent::getSelectedText() throw (RuntimeException, } -sal_Int32 VCLXAccessibleTextComponent::getSelectionStart() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTextComponent::getSelectionStart() { OExternalLockGuard aGuard( this ); @@ -289,7 +289,7 @@ sal_Int32 VCLXAccessibleTextComponent::getSelectionStart() throw (RuntimeExcepti } -sal_Int32 VCLXAccessibleTextComponent::getSelectionEnd() throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleTextComponent::getSelectionEnd() { OExternalLockGuard aGuard( this ); @@ -297,7 +297,7 @@ sal_Int32 VCLXAccessibleTextComponent::getSelectionEnd() throw (RuntimeException } -sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -308,7 +308,7 @@ sal_Bool VCLXAccessibleTextComponent::setSelection( sal_Int32 nStartIndex, sal_I } -OUString VCLXAccessibleTextComponent::getText() throw (RuntimeException, std::exception) +OUString VCLXAccessibleTextComponent::getText() { OExternalLockGuard aGuard( this ); @@ -316,7 +316,7 @@ OUString VCLXAccessibleTextComponent::getText() throw (RuntimeException, std::ex } -OUString VCLXAccessibleTextComponent::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +OUString VCLXAccessibleTextComponent::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -324,7 +324,7 @@ OUString VCLXAccessibleTextComponent::getTextRange( sal_Int32 nStartIndex, sal_I } -css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) { OExternalLockGuard aGuard( this ); @@ -332,7 +332,7 @@ css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextAtIndex( sal } -css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) { OExternalLockGuard aGuard( this ); @@ -340,7 +340,7 @@ css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextBeforeIndex( } -css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) +css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) { OExternalLockGuard aGuard( this ); @@ -348,7 +348,7 @@ css::accessibility::TextSegment VCLXAccessibleTextComponent::getTextBehindIndex( } -sal_Bool VCLXAccessibleTextComponent::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleTextComponent::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); diff --git a/accessibility/source/standard/vclxaccessibletextfield.cxx b/accessibility/source/standard/vclxaccessibletextfield.cxx index 0b34a576dc77..f3a460c36bbd 100644 --- a/accessibility/source/standard/vclxaccessibletextfield.cxx +++ b/accessibility/source/standard/vclxaccessibletextfield.cxx @@ -67,7 +67,6 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2(VCLXAccessibleTextField, VCLXAccessibleTextComp Reference<XAccessibleContext> SAL_CALL VCLXAccessibleTextField::getAccessibleContext() - throw (RuntimeException, std::exception) { return this; } @@ -76,21 +75,18 @@ Reference<XAccessibleContext> SAL_CALL // XAccessibleContext sal_Int32 SAL_CALL VCLXAccessibleTextField::getAccessibleChildCount() - throw (RuntimeException, std::exception) { return 0; } Reference<XAccessible> SAL_CALL VCLXAccessibleTextField::getAccessibleChild (sal_Int32) - throw (IndexOutOfBoundsException, RuntimeException, std::exception) { throw IndexOutOfBoundsException(); } sal_Int16 SAL_CALL VCLXAccessibleTextField::getAccessibleRole() - throw (RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -98,7 +94,6 @@ sal_Int16 SAL_CALL VCLXAccessibleTextField::getAccessibleRole() } Reference< XAccessible > SAL_CALL VCLXAccessibleTextField::getAccessibleParent( ) - throw (RuntimeException, std::exception) { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); @@ -109,14 +104,12 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleTextField::getAccessibleParent( // XServiceInfo OUString VCLXAccessibleTextField::getImplementationName() - throw (RuntimeException, std::exception) { return OUString( "com.sun.star.comp.toolkit.AccessibleTextField" ); } Sequence< OUString > VCLXAccessibleTextField::getSupportedServiceNames() - throw (RuntimeException, std::exception) { Sequence< OUString > aNames = VCLXAccessibleTextComponent::getSupportedServiceNames(); sal_Int32 nLength = aNames.getLength(); diff --git a/accessibility/source/standard/vclxaccessibletoolbox.cxx b/accessibility/source/standard/vclxaccessibletoolbox.cxx index ab3ff8185dff..2280b4185d02 100644 --- a/accessibility/source/standard/vclxaccessibletoolbox.cxx +++ b/accessibility/source/standard/vclxaccessibletoolbox.cxx @@ -60,11 +60,11 @@ namespace ,m_nIndexInParent(_nIndexInParent) { } - virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getAccessibleIndexInParent( ) override; }; - sal_Int32 SAL_CALL OToolBoxWindowItemContext::getAccessibleIndexInParent( ) throw (css::uno::RuntimeException, std::exception) + sal_Int32 SAL_CALL OToolBoxWindowItemContext::getAccessibleIndexInParent( ) { ::osl::MutexGuard aGuard( m_aMutex ); return m_nIndexInParent; @@ -115,7 +115,7 @@ namespace ) override; // XUnoTunnel - virtual sal_Int64 SAL_CALL getSomething( const Sequence< sal_Int8 >& aIdentifier ) throw (RuntimeException, std::exception) override; + virtual sal_Int64 SAL_CALL getSomething( const Sequence< sal_Int8 >& aIdentifier ) override; static Sequence< sal_Int8 > getUnoTunnelImplementationId(); }; @@ -157,7 +157,7 @@ namespace return pId->getImplementationId(); } - sal_Int64 SAL_CALL OToolBoxWindowItem::getSomething( const Sequence< sal_Int8 >& _rId ) throw (RuntimeException, std::exception) + sal_Int64 SAL_CALL OToolBoxWindowItem::getSomething( const Sequence< sal_Int8 >& _rId ) { if ( ( 16 == _rId.getLength() ) && ( 0 == memcmp( getUnoTunnelImplementationId().getConstArray(), _rId.getConstArray(), 16 ) ) @@ -666,12 +666,12 @@ void SAL_CALL VCLXAccessibleToolBox::disposing() } // XServiceInfo -OUString VCLXAccessibleToolBox::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleToolBox::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleToolBox" ); } -Sequence< OUString > VCLXAccessibleToolBox::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleToolBox::getSupportedServiceNames() { Sequence< OUString > aNames = VCLXAccessibleComponent::getSupportedServiceNames(); sal_Int32 nLength = aNames.getLength(); @@ -681,7 +681,7 @@ Sequence< OUString > VCLXAccessibleToolBox::getSupportedServiceNames() throw (Ru } // XAccessibleContext -sal_Int32 SAL_CALL VCLXAccessibleToolBox::getAccessibleChildCount( ) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleToolBox::getAccessibleChildCount( ) { comphelper::OExternalLockGuard aGuard( this ); @@ -693,7 +693,7 @@ sal_Int32 SAL_CALL VCLXAccessibleToolBox::getAccessibleChildCount( ) throw (Run return nCount; } -Reference< XAccessible > SAL_CALL VCLXAccessibleToolBox::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > SAL_CALL VCLXAccessibleToolBox::getAccessibleChild( sal_Int32 i ) { if ( i < 0 || i >= getAccessibleChildCount() ) throw IndexOutOfBoundsException(); @@ -740,7 +740,7 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleToolBox::getAccessibleChild( sal return nullptr; } -Reference< XAccessible > SAL_CALL VCLXAccessibleToolBox::getAccessibleAtPoint( const awt::Point& _rPoint ) throw (RuntimeException, std::exception) +Reference< XAccessible > SAL_CALL VCLXAccessibleToolBox::getAccessibleAtPoint( const awt::Point& _rPoint ) { comphelper::OExternalLockGuard aGuard( this ); @@ -785,7 +785,7 @@ Reference< XAccessible > VCLXAccessibleToolBox::GetChildAccessible( const VclWin } // XAccessibleSelection -void VCLXAccessibleToolBox::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +void VCLXAccessibleToolBox::selectAccessibleChild( sal_Int32 nChildIndex ) { OExternalLockGuard aGuard( this ); if ( nChildIndex < 0 || nChildIndex >= getAccessibleChildCount() ) @@ -795,7 +795,7 @@ void VCLXAccessibleToolBox::selectAccessibleChild( sal_Int32 nChildIndex ) throw pToolBox->ChangeHighlight( nPos ); } -sal_Bool VCLXAccessibleToolBox::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleToolBox::isAccessibleChildSelected( sal_Int32 nChildIndex ) { OExternalLockGuard aGuard( this ); if ( nChildIndex < 0 || nChildIndex >= getAccessibleChildCount() ) @@ -808,20 +808,20 @@ sal_Bool VCLXAccessibleToolBox::isAccessibleChildSelected( sal_Int32 nChildIndex return false; } -void VCLXAccessibleToolBox::clearAccessibleSelection( ) throw (RuntimeException, std::exception) +void VCLXAccessibleToolBox::clearAccessibleSelection( ) { OExternalLockGuard aGuard( this ); VclPtr< ToolBox > pToolBox = GetAs< ToolBox >(); pToolBox -> LoseFocus(); } -void VCLXAccessibleToolBox::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception) +void VCLXAccessibleToolBox::selectAllAccessibleChildren( ) { OExternalLockGuard aGuard( this ); // intentionally empty. makes no sense for a toolbox } -sal_Int32 VCLXAccessibleToolBox::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleToolBox::getSelectedAccessibleChildCount( ) { OExternalLockGuard aGuard( this ); sal_Int32 nRet = 0; @@ -836,7 +836,7 @@ sal_Int32 VCLXAccessibleToolBox::getSelectedAccessibleChildCount( ) throw (Runt return nRet; } -Reference< XAccessible > VCLXAccessibleToolBox::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessible > VCLXAccessibleToolBox::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) { OExternalLockGuard aGuard( this ); if ( nSelectedChildIndex < 0 || nSelectedChildIndex >= getSelectedAccessibleChildCount() ) @@ -853,7 +853,7 @@ Reference< XAccessible > VCLXAccessibleToolBox::getSelectedAccessibleChild( sal_ return xChild; } -void VCLXAccessibleToolBox::deselectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +void VCLXAccessibleToolBox::deselectAccessibleChild( sal_Int32 nChildIndex ) { OExternalLockGuard aGuard( this ); if ( nChildIndex < 0 || nChildIndex >= getAccessibleChildCount() ) diff --git a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx index 9d189001e403..645c7cbe6663 100644 --- a/accessibility/source/standard/vclxaccessibletoolboxitem.cxx +++ b/accessibility/source/standard/vclxaccessibletoolboxitem.cxx @@ -238,7 +238,7 @@ void VCLXAccessibleToolBoxItem::ToggleEnableState() NotifyAccessibleEvent( AccessibleEventId::STATE_CHANGED, aOldValue[1], aNewValue[1] ); } -awt::Rectangle VCLXAccessibleToolBoxItem::implGetBounds( ) throw (RuntimeException) +awt::Rectangle VCLXAccessibleToolBoxItem::implGetBounds( ) { awt::Rectangle aRect; if ( m_pToolBox ) @@ -266,7 +266,7 @@ void VCLXAccessibleToolBoxItem::implGetSelection( sal_Int32& nStartIndex, sal_In // XInterface IMPLEMENT_FORWARD_REFCOUNT( VCLXAccessibleToolBoxItem, AccessibleTextHelper_BASE ) -Any SAL_CALL VCLXAccessibleToolBoxItem::queryInterface( const Type& _rType ) throw (RuntimeException, std::exception) +Any SAL_CALL VCLXAccessibleToolBoxItem::queryInterface( const Type& _rType ) { // #i33611# - toolbox buttons without text don't support XAccessibleText if ( _rType == cppu::UnoType<XAccessibleText>::get() @@ -293,17 +293,17 @@ void SAL_CALL VCLXAccessibleToolBoxItem::disposing() // XServiceInfo -OUString VCLXAccessibleToolBoxItem::getImplementationName() throw (RuntimeException, std::exception) +OUString VCLXAccessibleToolBoxItem::getImplementationName() { return OUString( "com.sun.star.comp.toolkit.AccessibleToolBoxItem" ); } -sal_Bool VCLXAccessibleToolBoxItem::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception) +sal_Bool VCLXAccessibleToolBoxItem::supportsService( const OUString& rServiceName ) { return cppu::supportsService(this, rServiceName); } -Sequence< OUString > VCLXAccessibleToolBoxItem::getSupportedServiceNames() throw (RuntimeException, std::exception) +Sequence< OUString > VCLXAccessibleToolBoxItem::getSupportedServiceNames() { return {"com.sun.star.accessibility.AccessibleContext", "com.sun.star.accessibility.AccessibleComponent", @@ -313,21 +313,21 @@ Sequence< OUString > VCLXAccessibleToolBoxItem::getSupportedServiceNames() throw // XAccessible -Reference< XAccessibleContext > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleContext( ) throw (RuntimeException, std::exception) +Reference< XAccessibleContext > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleContext( ) { return this; } // XAccessibleContext -sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleChildCount( ) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleChildCount( ) { OContextEntryGuard aGuard( this ); return m_xChild.is() ? 1 : 0; } -Reference< XAccessible > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleChild( sal_Int32 i ) throw (RuntimeException, css::lang::IndexOutOfBoundsException, std::exception) +Reference< XAccessible > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleChild( sal_Int32 i ) { OContextEntryGuard aGuard( this ); @@ -338,28 +338,28 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleChild( return m_xChild; } -Reference< XAccessible > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleParent( ) throw (RuntimeException, std::exception) +Reference< XAccessible > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleParent( ) { OContextEntryGuard aGuard( this ); return m_pToolBox->GetAccessible(); } -sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleIndexInParent( ) { OContextEntryGuard aGuard( this ); return m_nIndexInParent; } -sal_Int16 SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleRole( ) throw (RuntimeException, std::exception) +sal_Int16 SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleRole( ) { OContextEntryGuard aGuard( this ); return m_nRole; } -OUString SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleDescription( ) throw (RuntimeException, std::exception) +OUString SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleDescription( ) { OExternalLockGuard aGuard( this ); @@ -376,7 +376,7 @@ OUString SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleDescription( ) throw } } -OUString SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleName( ) throw (RuntimeException, std::exception) +OUString SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleName( ) { OExternalLockGuard aGuard( this ); @@ -384,7 +384,7 @@ OUString SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleName( ) throw (Runtim return GetText(); } -Reference< XAccessibleRelationSet > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleRelationSet( ) throw (RuntimeException, std::exception) +Reference< XAccessibleRelationSet > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleRelationSet( ) { OContextEntryGuard aGuard( this ); @@ -393,7 +393,7 @@ Reference< XAccessibleRelationSet > SAL_CALL VCLXAccessibleToolBoxItem::getAcces return xSet; } -Reference< XAccessibleStateSet > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleStateSet( ) throw (RuntimeException, std::exception) +Reference< XAccessibleStateSet > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleStateSet( ) { OExternalLockGuard aGuard( this ); @@ -427,12 +427,12 @@ Reference< XAccessibleStateSet > SAL_CALL VCLXAccessibleToolBoxItem::getAccessib // XAccessibleText -sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getCaretPosition() throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getCaretPosition() { return -1; } -sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::setCaretPosition( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::setCaretPosition( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -442,7 +442,7 @@ sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::setCaretPosition( sal_Int32 nIndex return false; } -Sequence< PropertyValue > SAL_CALL VCLXAccessibleToolBoxItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Sequence< PropertyValue > SAL_CALL VCLXAccessibleToolBoxItem::getCharacterAttributes( sal_Int32 nIndex, const Sequence< OUString >& ) { OExternalLockGuard aGuard( this ); @@ -454,7 +454,7 @@ Sequence< PropertyValue > SAL_CALL VCLXAccessibleToolBoxItem::getCharacterAttrib return Sequence< PropertyValue >(); } -awt::Rectangle SAL_CALL VCLXAccessibleToolBoxItem::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +awt::Rectangle SAL_CALL VCLXAccessibleToolBoxItem::getCharacterBounds( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -475,7 +475,7 @@ awt::Rectangle SAL_CALL VCLXAccessibleToolBoxItem::getCharacterBounds( sal_Int32 return aBounds; } -sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getIndexAtPoint( const awt::Point& aPoint ) { OExternalLockGuard aGuard( this ); @@ -494,7 +494,7 @@ sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getIndexAtPoint( const awt::Point& return nIndex; } -sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -504,7 +504,7 @@ sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::setSelection( sal_Int32 nStartIndex return false; } -sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) { OExternalLockGuard aGuard( this ); @@ -538,12 +538,12 @@ sal_Bool SAL_CALL VCLXAccessibleToolBoxItem::copyText( sal_Int32 nStartIndex, sa // XAccessibleComponent -Reference< XAccessible > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleAtPoint( const awt::Point& ) throw (RuntimeException, std::exception) +Reference< XAccessible > SAL_CALL VCLXAccessibleToolBoxItem::getAccessibleAtPoint( const awt::Point& ) { return Reference< XAccessible >(); } -void SAL_CALL VCLXAccessibleToolBoxItem::grabFocus( ) throw (RuntimeException, std::exception) +void SAL_CALL VCLXAccessibleToolBoxItem::grabFocus( ) { Reference< XAccessible > xParent(getAccessibleParent()); @@ -558,7 +558,7 @@ void SAL_CALL VCLXAccessibleToolBoxItem::grabFocus( ) throw (RuntimeException, } } -sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getForeground( ) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getForeground( ) { OExternalLockGuard aGuard( this ); @@ -569,7 +569,7 @@ sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getForeground( ) throw (RuntimeEx return nColor; } -sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getBackground( ) throw (RuntimeException, std::exception) +sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getBackground( ) { OExternalLockGuard aGuard( this ); @@ -581,12 +581,12 @@ sal_Int32 SAL_CALL VCLXAccessibleToolBoxItem::getBackground( ) throw (RuntimeEx } // XAccessibleExtendedComponent -Reference< awt::XFont > SAL_CALL VCLXAccessibleToolBoxItem::getFont( ) throw (RuntimeException, std::exception) +Reference< awt::XFont > SAL_CALL VCLXAccessibleToolBoxItem::getFont( ) { return uno::Reference< awt::XFont >(); } -OUString SAL_CALL VCLXAccessibleToolBoxItem::getTitledBorderText( ) throw (RuntimeException, std::exception) +OUString SAL_CALL VCLXAccessibleToolBoxItem::getTitledBorderText( ) { OExternalLockGuard aGuard( this ); @@ -597,7 +597,7 @@ OUString SAL_CALL VCLXAccessibleToolBoxItem::getTitledBorderText( ) throw (Runt return sRet; } -OUString SAL_CALL VCLXAccessibleToolBoxItem::getToolTipText( ) throw (RuntimeException, std::exception) +OUString SAL_CALL VCLXAccessibleToolBoxItem::getToolTipText( ) { OExternalLockGuard aGuard( this ); @@ -617,13 +617,13 @@ OUString SAL_CALL VCLXAccessibleToolBoxItem::getToolTipText( ) throw (RuntimeEx // XAccessibleAction -sal_Int32 VCLXAccessibleToolBoxItem::getAccessibleActionCount( ) throw (RuntimeException, std::exception) +sal_Int32 VCLXAccessibleToolBoxItem::getAccessibleActionCount( ) { // only one action -> "Click" return 1; } -sal_Bool VCLXAccessibleToolBoxItem::doAccessibleAction ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +sal_Bool VCLXAccessibleToolBoxItem::doAccessibleAction ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -636,7 +636,7 @@ sal_Bool VCLXAccessibleToolBoxItem::doAccessibleAction ( sal_Int32 nIndex ) thro return true; } -OUString VCLXAccessibleToolBoxItem::getAccessibleActionDescription ( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +OUString VCLXAccessibleToolBoxItem::getAccessibleActionDescription ( sal_Int32 nIndex ) { OExternalLockGuard aGuard( this ); @@ -646,7 +646,7 @@ OUString VCLXAccessibleToolBoxItem::getAccessibleActionDescription ( sal_Int32 n return OUString( TK_RES_STRING( RID_STR_ACC_ACTION_CLICK ) ); } -Reference< XAccessibleKeyBinding > VCLXAccessibleToolBoxItem::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) +Reference< XAccessibleKeyBinding > VCLXAccessibleToolBoxItem::getAccessibleActionKeyBinding( sal_Int32 nIndex ) { OContextEntryGuard aGuard( this ); @@ -658,7 +658,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleToolBoxItem::getAccessibleActio // XAccessibleValue -Any VCLXAccessibleToolBoxItem::getCurrentValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleToolBoxItem::getCurrentValue( ) { OExternalLockGuard aGuard( this ); @@ -671,7 +671,7 @@ Any VCLXAccessibleToolBoxItem::getCurrentValue( ) throw (RuntimeException, std: return aValue; } -sal_Bool VCLXAccessibleToolBoxItem::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception) +sal_Bool VCLXAccessibleToolBoxItem::setCurrentValue( const Any& aNumber ) { OExternalLockGuard aGuard( this ); @@ -694,12 +694,12 @@ sal_Bool VCLXAccessibleToolBoxItem::setCurrentValue( const Any& aNumber ) throw return bReturn; } -Any VCLXAccessibleToolBoxItem::getMaximumValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleToolBoxItem::getMaximumValue( ) { return makeAny((sal_Int32)1); } -Any VCLXAccessibleToolBoxItem::getMinimumValue( ) throw (RuntimeException, std::exception) +Any VCLXAccessibleToolBoxItem::getMinimumValue( ) { return makeAny((sal_Int32)0); } |