diff options
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleContextBase.cxx')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleContextBase.cxx | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleContextBase.cxx b/sc/source/ui/Accessibility/AccessibleContextBase.cxx index 3bf756a1c36f..13b541f4e891 100644 --- a/sc/source/ui/Accessibility/AccessibleContextBase.cxx +++ b/sc/source/ui/Accessibility/AccessibleContextBase.cxx @@ -104,7 +104,6 @@ void SAL_CALL ScAccessibleContextBase::disposing() //===== XInterface ===================================================== uno::Any SAL_CALL ScAccessibleContextBase::queryInterface( uno::Type const & rType ) - throw (uno::RuntimeException, std::exception) { uno::Any aAny (ScAccessibleContextBaseWeakImpl::queryInterface(rType)); return aAny.hasValue() ? aAny : ScAccessibleContextBaseImplEvent::queryInterface(rType); @@ -137,7 +136,6 @@ void ScAccessibleContextBase::Notify( SfxBroadcaster&, const SfxHint& rHint ) uno::Reference< XAccessibleContext> SAL_CALL ScAccessibleContextBase::getAccessibleContext() - throw (uno::RuntimeException, std::exception) { return this; } @@ -145,7 +143,6 @@ uno::Reference< XAccessibleContext> SAL_CALL //===== XAccessibleComponent ================================================ sal_Bool SAL_CALL ScAccessibleContextBase::containsPoint(const awt::Point& rPoint ) - throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); @@ -154,14 +151,12 @@ sal_Bool SAL_CALL ScAccessibleContextBase::containsPoint(const awt::Point& rPoin uno::Reference< XAccessible > SAL_CALL ScAccessibleContextBase::getAccessibleAtPoint( const awt::Point& /* rPoint */ ) - throw (uno::RuntimeException, std::exception) { OSL_FAIL("not implemented"); return uno::Reference<XAccessible>(); } awt::Rectangle SAL_CALL ScAccessibleContextBase::getBounds( ) - throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); @@ -169,7 +164,6 @@ awt::Rectangle SAL_CALL ScAccessibleContextBase::getBounds( ) } awt::Point SAL_CALL ScAccessibleContextBase::getLocation( ) - throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); @@ -177,7 +171,6 @@ awt::Point SAL_CALL ScAccessibleContextBase::getLocation( ) } awt::Point SAL_CALL ScAccessibleContextBase::getLocationOnScreen( ) - throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); @@ -185,7 +178,6 @@ awt::Point SAL_CALL ScAccessibleContextBase::getLocationOnScreen( ) } awt::Size SAL_CALL ScAccessibleContextBase::getSize( ) - throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); @@ -193,7 +185,6 @@ awt::Size SAL_CALL ScAccessibleContextBase::getSize( ) } bool SAL_CALL ScAccessibleContextBase::isShowing( ) - throw (uno::RuntimeException) { SolarMutexGuard aGuard; IsObjectValid(); @@ -212,25 +203,21 @@ bool SAL_CALL ScAccessibleContextBase::isShowing( ) } bool SAL_CALL ScAccessibleContextBase::isVisible() - throw (uno::RuntimeException, std::exception) { return true; } void SAL_CALL ScAccessibleContextBase::grabFocus( ) - throw (uno::RuntimeException, std::exception) { OSL_FAIL("not implemented"); } sal_Int32 SAL_CALL ScAccessibleContextBase::getForeground( ) - throw (uno::RuntimeException, std::exception) { return COL_BLACK; } sal_Int32 SAL_CALL ScAccessibleContextBase::getBackground( ) - throw (uno::RuntimeException, std::exception) { return COL_WHITE; } @@ -238,7 +225,6 @@ sal_Int32 SAL_CALL ScAccessibleContextBase::getBackground( ) //===== XAccessibleContext ================================================== sal_Int32 SAL_CALL ScAccessibleContextBase::getAccessibleChildCount() - throw (uno::RuntimeException, std::exception) { OSL_FAIL("should be implemented in the abrevated class"); return 0; @@ -246,8 +232,6 @@ sal_Int32 SAL_CALL ScAccessibleContextBase::getAccessibleChildCount() uno::Reference<XAccessible> SAL_CALL ScAccessibleContextBase::getAccessibleChild(sal_Int32 /* nIndex */) - throw (lang::IndexOutOfBoundsException, uno::RuntimeException, - std::exception) { OSL_FAIL("should be implemented in the abrevated class"); return uno::Reference<XAccessible>(); @@ -255,14 +239,12 @@ uno::Reference<XAccessible> SAL_CALL uno::Reference<XAccessible> SAL_CALL ScAccessibleContextBase::getAccessibleParent() - throw (uno::RuntimeException, std::exception) { return mxParent; } sal_Int32 SAL_CALL ScAccessibleContextBase::getAccessibleIndexInParent() - throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); @@ -296,14 +278,12 @@ sal_Int32 SAL_CALL sal_Int16 SAL_CALL ScAccessibleContextBase::getAccessibleRole() - throw (uno::RuntimeException, std::exception) { return maRole; } OUString SAL_CALL ScAccessibleContextBase::getAccessibleDescription() - throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); @@ -329,7 +309,6 @@ OUString SAL_CALL OUString SAL_CALL ScAccessibleContextBase::getAccessibleName() - throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); @@ -356,22 +335,18 @@ OUString SAL_CALL uno::Reference<XAccessibleRelationSet> SAL_CALL ScAccessibleContextBase::getAccessibleRelationSet() - throw (uno::RuntimeException, std::exception) { return new utl::AccessibleRelationSetHelper(); } uno::Reference<XAccessibleStateSet> SAL_CALL ScAccessibleContextBase::getAccessibleStateSet() - throw (uno::RuntimeException, std::exception) { return uno::Reference<XAccessibleStateSet>(); } lang::Locale SAL_CALL ScAccessibleContextBase::getLocale() - throw (IllegalAccessibleComponentStateException, - uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; IsObjectValid(); @@ -393,7 +368,6 @@ lang::Locale SAL_CALL void SAL_CALL ScAccessibleContextBase::addAccessibleEventListener( const uno::Reference<XAccessibleEventListener>& xListener) - throw (uno::RuntimeException, std::exception) { if (xListener.is()) { @@ -411,7 +385,6 @@ void SAL_CALL void SAL_CALL ScAccessibleContextBase::removeAccessibleEventListener( const uno::Reference<XAccessibleEventListener>& xListener) - throw (uno::RuntimeException, std::exception) { if (xListener.is()) { @@ -436,7 +409,6 @@ void SAL_CALL void SAL_CALL ScAccessibleContextBase::disposing( const lang::EventObject& rSource ) - throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if (rSource.Source == mxParent) @@ -445,26 +417,22 @@ void SAL_CALL ScAccessibleContextBase::disposing( void SAL_CALL ScAccessibleContextBase::notifyEvent( const AccessibleEventObject& /* aEvent */ ) - throw (uno::RuntimeException, std::exception) { } // XServiceInfo OUString SAL_CALL ScAccessibleContextBase::getImplementationName() - throw (uno::RuntimeException, std::exception) { return OUString("ScAccessibleContextBase"); } sal_Bool SAL_CALL ScAccessibleContextBase::supportsService(const OUString& sServiceName) - throw (uno::RuntimeException, std::exception) { return cppu::supportsService(this, sServiceName); } uno::Sequence< OUString> SAL_CALL ScAccessibleContextBase::getSupportedServiceNames() - throw (uno::RuntimeException, std::exception) { return {"com.sun.star.accessibility.Accessible", "com.sun.star.accessibility.AccessibleContext"}; @@ -473,14 +441,12 @@ uno::Sequence< OUString> SAL_CALL //===== XTypeProvider ======================================================= uno::Sequence< uno::Type > SAL_CALL ScAccessibleContextBase::getTypes() - throw (uno::RuntimeException, std::exception) { return comphelper::concatSequences(ScAccessibleContextBaseWeakImpl::getTypes(), ScAccessibleContextBaseImplEvent::getTypes()); } uno::Sequence<sal_Int8> SAL_CALL ScAccessibleContextBase::getImplementationId() - throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); } @@ -489,14 +455,12 @@ uno::Sequence<sal_Int8> SAL_CALL OUString SAL_CALL ScAccessibleContextBase::createAccessibleDescription() - throw (uno::RuntimeException, std::exception) { OSL_FAIL("should be implemented in the abrevated class"); return OUString(); } OUString SAL_CALL ScAccessibleContextBase::createAccessibleName() - throw (uno::RuntimeException, std::exception) { OSL_FAIL("should be implemented in the abrevated class"); return OUString(); @@ -533,21 +497,18 @@ void ScAccessibleContextBase::CommitFocusLost() const } Rectangle ScAccessibleContextBase::GetBoundingBoxOnScreen() const - throw (uno::RuntimeException, std::exception) { OSL_FAIL("not implemented"); return Rectangle(); } Rectangle ScAccessibleContextBase::GetBoundingBox() const - throw (uno::RuntimeException, std::exception) { OSL_FAIL("not implemented"); return Rectangle(); } void ScAccessibleContextBase::IsObjectValid() const - throw (lang::DisposedException) { if (rBHelper.bDisposed || rBHelper.bInDispose) throw lang::DisposedException(); |