diff options
Diffstat (limited to 'editeng/source/accessibility/AccessibleImageBullet.cxx')
-rw-r--r-- | editeng/source/accessibility/AccessibleImageBullet.cxx | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/editeng/source/accessibility/AccessibleImageBullet.cxx b/editeng/source/accessibility/AccessibleImageBullet.cxx index 312a6b18ed06..92f82d7ff1e4 100644 --- a/editeng/source/accessibility/AccessibleImageBullet.cxx +++ b/editeng/source/accessibility/AccessibleImageBullet.cxx @@ -92,20 +92,20 @@ namespace accessibility } } - uno::Reference< XAccessibleContext > SAL_CALL AccessibleImageBullet::getAccessibleContext( ) throw (uno::RuntimeException, std::exception) + uno::Reference< XAccessibleContext > SAL_CALL AccessibleImageBullet::getAccessibleContext( ) { // We implement the XAccessibleContext interface in the same object return uno::Reference< XAccessibleContext > ( this ); } - sal_Int32 SAL_CALL AccessibleImageBullet::getAccessibleChildCount() throw (uno::RuntimeException, std::exception) + sal_Int32 SAL_CALL AccessibleImageBullet::getAccessibleChildCount() { return 0; } - uno::Reference< XAccessible > SAL_CALL AccessibleImageBullet::getAccessibleChild( sal_Int32 i ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception) + uno::Reference< XAccessible > SAL_CALL AccessibleImageBullet::getAccessibleChild( sal_Int32 i ) { (void)i; @@ -114,25 +114,25 @@ namespace accessibility ( static_cast< ::cppu::OWeakObject* > (this) ) ); // static_cast: disambiguate hierarchy } - uno::Reference< XAccessible > SAL_CALL AccessibleImageBullet::getAccessibleParent() throw (uno::RuntimeException, std::exception) + uno::Reference< XAccessible > SAL_CALL AccessibleImageBullet::getAccessibleParent() { return mxParent; } - sal_Int32 SAL_CALL AccessibleImageBullet::getAccessibleIndexInParent() throw (uno::RuntimeException, std::exception) + sal_Int32 SAL_CALL AccessibleImageBullet::getAccessibleIndexInParent() { return mnIndexInParent; } - sal_Int16 SAL_CALL AccessibleImageBullet::getAccessibleRole() throw (uno::RuntimeException, std::exception) + sal_Int16 SAL_CALL AccessibleImageBullet::getAccessibleRole() { return AccessibleRole::GRAPHIC; } - OUString SAL_CALL AccessibleImageBullet::getAccessibleDescription() throw (uno::RuntimeException, std::exception) + OUString SAL_CALL AccessibleImageBullet::getAccessibleDescription() { SolarMutexGuard aGuard; @@ -141,7 +141,7 @@ namespace accessibility return EE_RESSTR(RID_SVXSTR_A11Y_IMAGEBULLET_DESCRIPTION); } - OUString SAL_CALL AccessibleImageBullet::getAccessibleName() throw (uno::RuntimeException, std::exception) + OUString SAL_CALL AccessibleImageBullet::getAccessibleName() { SolarMutexGuard aGuard; @@ -150,14 +150,14 @@ namespace accessibility return EE_RESSTR(RID_SVXSTR_A11Y_IMAGEBULLET_NAME); } - uno::Reference< XAccessibleRelationSet > SAL_CALL AccessibleImageBullet::getAccessibleRelationSet() throw (uno::RuntimeException, std::exception) + uno::Reference< XAccessibleRelationSet > SAL_CALL AccessibleImageBullet::getAccessibleRelationSet() { // no relations, therefore empty return uno::Reference< XAccessibleRelationSet >(); } - uno::Reference< XAccessibleStateSet > SAL_CALL AccessibleImageBullet::getAccessibleStateSet() throw (uno::RuntimeException, std::exception) + uno::Reference< XAccessibleStateSet > SAL_CALL AccessibleImageBullet::getAccessibleStateSet() { SolarMutexGuard aGuard; @@ -171,7 +171,7 @@ namespace accessibility return uno::Reference<XAccessibleStateSet>( new ::utl::AccessibleStateSetHelper (*pStateSet) ); } - lang::Locale SAL_CALL AccessibleImageBullet::getLocale() throw (IllegalAccessibleComponentStateException, uno::RuntimeException, std::exception) + lang::Locale SAL_CALL AccessibleImageBullet::getLocale() { SolarMutexGuard aGuard; @@ -183,14 +183,14 @@ namespace accessibility return LanguageTag(GetTextForwarder().GetLanguage( GetParagraphIndex(), 0 )).getLocale(); } - void SAL_CALL AccessibleImageBullet::addAccessibleEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) throw (uno::RuntimeException, std::exception) + void SAL_CALL AccessibleImageBullet::addAccessibleEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) { if( getNotifierClientId() != -1 ) ::comphelper::AccessibleEventNotifier::addEventListener( getNotifierClientId(), xListener ); } - void SAL_CALL AccessibleImageBullet::removeAccessibleEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) throw (uno::RuntimeException, std::exception) + void SAL_CALL AccessibleImageBullet::removeAccessibleEventListener( const uno::Reference< XAccessibleEventListener >& xListener ) { if( getNotifierClientId() != -1 ) @@ -209,7 +209,7 @@ namespace accessibility } } - sal_Bool SAL_CALL AccessibleImageBullet::containsPoint( const awt::Point& rPoint ) throw (uno::RuntimeException, std::exception) + sal_Bool SAL_CALL AccessibleImageBullet::containsPoint( const awt::Point& rPoint ) { SolarMutexGuard aGuard; @@ -224,14 +224,14 @@ namespace accessibility return aRect.IsInside( aPoint ); } - uno::Reference< XAccessible > SAL_CALL AccessibleImageBullet::getAccessibleAtPoint( const awt::Point& /*aPoint*/ ) throw (uno::RuntimeException, std::exception) + uno::Reference< XAccessible > SAL_CALL AccessibleImageBullet::getAccessibleAtPoint( const awt::Point& /*aPoint*/ ) { // as we have no children, empty reference return uno::Reference< XAccessible >(); } - awt::Rectangle SAL_CALL AccessibleImageBullet::getBounds( ) throw (uno::RuntimeException, std::exception) + awt::Rectangle SAL_CALL AccessibleImageBullet::getBounds( ) { SolarMutexGuard aGuard; @@ -269,7 +269,7 @@ namespace accessibility return awt::Rectangle(); } - awt::Point SAL_CALL AccessibleImageBullet::getLocation( ) throw (uno::RuntimeException, std::exception) + awt::Point SAL_CALL AccessibleImageBullet::getLocation( ) { SolarMutexGuard aGuard; @@ -279,7 +279,7 @@ namespace accessibility return awt::Point( aRect.X, aRect.Y ); } - awt::Point SAL_CALL AccessibleImageBullet::getLocationOnScreen( ) throw (uno::RuntimeException, std::exception) + awt::Point SAL_CALL AccessibleImageBullet::getLocationOnScreen( ) { SolarMutexGuard aGuard; @@ -305,7 +305,7 @@ namespace accessibility ( static_cast< XAccessible* > (this) ) ); // disambiguate hierarchy } - awt::Size SAL_CALL AccessibleImageBullet::getSize( ) throw (uno::RuntimeException, std::exception) + awt::Size SAL_CALL AccessibleImageBullet::getSize( ) { SolarMutexGuard aGuard; @@ -315,7 +315,7 @@ namespace accessibility return awt::Size( aRect.Width, aRect.Height ); } - void SAL_CALL AccessibleImageBullet::grabFocus( ) throw (uno::RuntimeException, std::exception) + void SAL_CALL AccessibleImageBullet::grabFocus( ) { throw uno::RuntimeException("Not focusable", @@ -323,7 +323,7 @@ namespace accessibility ( static_cast< XAccessible* > (this) ) ); // disambiguate hierarchy } - sal_Int32 SAL_CALL AccessibleImageBullet::getForeground( ) throw (css::uno::RuntimeException, std::exception) + sal_Int32 SAL_CALL AccessibleImageBullet::getForeground( ) { // #104444# Added to XAccessibleComponent interface @@ -332,7 +332,7 @@ namespace accessibility return static_cast<sal_Int32>(nColor); } - sal_Int32 SAL_CALL AccessibleImageBullet::getBackground( ) throw (css::uno::RuntimeException, std::exception) + sal_Int32 SAL_CALL AccessibleImageBullet::getBackground( ) { // #104444# Added to XAccessibleComponent interface @@ -344,19 +344,19 @@ namespace accessibility return static_cast<sal_Int32>( aColor.GetColor() ); } - OUString SAL_CALL AccessibleImageBullet::getImplementationName() throw (uno::RuntimeException, std::exception) + OUString SAL_CALL AccessibleImageBullet::getImplementationName() { return OUString("AccessibleImageBullet"); } - sal_Bool SAL_CALL AccessibleImageBullet::supportsService (const OUString& sServiceName) throw (uno::RuntimeException, std::exception) + sal_Bool SAL_CALL AccessibleImageBullet::supportsService (const OUString& sServiceName) { return cppu::supportsService(this, sServiceName); } - uno::Sequence< OUString > SAL_CALL AccessibleImageBullet::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) + uno::Sequence< OUString > SAL_CALL AccessibleImageBullet::getSupportedServiceNames() { const OUString sServiceName ("com.sun.star.accessibility.AccessibleContext"); |