summaryrefslogtreecommitdiff
path: root/accessibility/source/extended
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-26 12:28:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-26 12:54:43 +0000
commite57ca02849c3d87142ff5ff9099a212e72b8139c (patch)
treebcce66b27261553c308779f3e8663a269ed3a671 /accessibility/source/extended
parent8802ebd5172ec4bc412a59d136c82b77ab452281 (diff)
Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'accessibility/source/extended')
-rw-r--r--accessibility/source/extended/AccessibleBrowseBox.cxx7
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxBase.cxx34
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx17
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx26
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx5
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxTable.cxx16
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx18
-rw-r--r--accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx46
-rw-r--r--accessibility/source/extended/AccessibleGridControl.cxx8
-rw-r--r--accessibility/source/extended/AccessibleGridControlBase.cxx28
-rw-r--r--accessibility/source/extended/AccessibleGridControlHeader.cxx16
-rw-r--r--accessibility/source/extended/AccessibleGridControlHeaderCell.cxx8
-rw-r--r--accessibility/source/extended/AccessibleGridControlTable.cxx24
-rw-r--r--accessibility/source/extended/AccessibleGridControlTableBase.cxx18
-rw-r--r--accessibility/source/extended/AccessibleGridControlTableCell.cxx46
-rw-r--r--accessibility/source/extended/accessiblebrowseboxcell.cxx2
-rw-r--r--accessibility/source/extended/accessibleeditbrowseboxcell.cxx30
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrl.cxx34
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrlentry.cxx101
-rw-r--r--accessibility/source/extended/accessiblelistbox.cxx33
-rw-r--r--accessibility/source/extended/accessiblelistboxentry.cxx124
-rw-r--r--accessibility/source/extended/accessibletabbar.cxx44
-rw-r--r--accessibility/source/extended/accessibletabbarpage.cxx44
-rw-r--r--accessibility/source/extended/accessibletabbarpagelist.cxx58
-rw-r--r--accessibility/source/extended/accessibletablistbox.cxx4
-rw-r--r--accessibility/source/extended/accessibletablistboxtable.cxx16
-rw-r--r--accessibility/source/extended/textwindowaccessibility.cxx80
27 files changed, 306 insertions, 581 deletions
diff --git a/accessibility/source/extended/AccessibleBrowseBox.cxx b/accessibility/source/extended/AccessibleBrowseBox.cxx
index 07baad096774..bfef475f1fe3 100644
--- a/accessibility/source/extended/AccessibleBrowseBox.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBox.cxx
@@ -108,7 +108,6 @@ void SAL_CALL AccessibleBrowseBox::disposing()
// css::accessibility::XAccessibleContext
sal_Int32 SAL_CALL AccessibleBrowseBox::getAccessibleChildCount()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -119,7 +118,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBox::getAccessibleChildCount()
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
AccessibleBrowseBox::getAccessibleChild( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -147,7 +145,6 @@ AccessibleBrowseBox::getAccessibleChild( sal_Int32 nChildIndex )
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
AccessibleBrowseBox::getAccessibleAtPoint( const awt::Point& rPoint )
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -177,7 +174,6 @@ AccessibleBrowseBox::getAccessibleAtPoint( const awt::Point& rPoint )
void SAL_CALL AccessibleBrowseBox::grabFocus()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -188,7 +184,6 @@ void SAL_CALL AccessibleBrowseBox::grabFocus()
// XServiceInfo
OUString SAL_CALL AccessibleBrowseBox::getImplementationName()
- throw ( uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.comp.svtools.AccessibleBrowseBox" );
}
@@ -318,7 +313,7 @@ void AccessibleBrowseBoxAccess::dispose()
}
-css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL AccessibleBrowseBoxAccess::getAccessibleContext() throw ( RuntimeException, std::exception )
+css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL AccessibleBrowseBoxAccess::getAccessibleContext()
{
::osl::MutexGuard aGuard( m_aMutex );
diff --git a/accessibility/source/extended/AccessibleBrowseBoxBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxBase.cxx
index ccb2c3728062..3b17348b31c1 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxBase.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxBase.cxx
@@ -115,7 +115,6 @@ void SAL_CALL AccessibleBrowseBoxBase::disposing()
// css::accessibility::XAccessibleContext
Reference< css::accessibility::XAccessible > SAL_CALL AccessibleBrowseBoxBase::getAccessibleParent()
- throw ( uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( getMutex() );
ensureIsAlive();
@@ -123,7 +122,6 @@ Reference< css::accessibility::XAccessible > SAL_CALL AccessibleBrowseBoxBase::g
}
sal_Int32 SAL_CALL AccessibleBrowseBoxBase::getAccessibleIndexInParent()
- throw ( uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( getMutex() );
ensureIsAlive();
@@ -159,7 +157,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxBase::getAccessibleIndexInParent()
}
OUString SAL_CALL AccessibleBrowseBoxBase::getAccessibleDescription()
- throw ( uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( getMutex() );
ensureIsAlive();
@@ -167,7 +164,6 @@ OUString SAL_CALL AccessibleBrowseBoxBase::getAccessibleDescription()
}
OUString SAL_CALL AccessibleBrowseBoxBase::getAccessibleName()
- throw ( uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( getMutex() );
ensureIsAlive();
@@ -176,7 +172,6 @@ OUString SAL_CALL AccessibleBrowseBoxBase::getAccessibleName()
Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL
AccessibleBrowseBoxBase::getAccessibleRelationSet()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
// BrowseBox does not have relations.
@@ -185,7 +180,6 @@ AccessibleBrowseBoxBase::getAccessibleRelationSet()
Reference< css::accessibility::XAccessibleStateSet > SAL_CALL
AccessibleBrowseBoxBase::getAccessibleStateSet()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard( getMutex() );
// don't check whether alive -> StateSet may contain DEFUNC
@@ -193,7 +187,6 @@ AccessibleBrowseBoxBase::getAccessibleStateSet()
}
lang::Locale SAL_CALL AccessibleBrowseBoxBase::getLocale()
- throw ( IllegalAccessibleComponentStateException, uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( getMutex() );
ensureIsAlive();
@@ -210,36 +203,31 @@ lang::Locale SAL_CALL AccessibleBrowseBoxBase::getLocale()
// css::accessibility::XAccessibleComponent
sal_Bool SAL_CALL AccessibleBrowseBoxBase::containsPoint( const css::awt::Point& rPoint )
- throw ( uno::RuntimeException, std::exception )
{
return Rectangle( Point(), getBoundingBox().GetSize() ).IsInside( VCLPoint( rPoint ) );
}
awt::Rectangle SAL_CALL AccessibleBrowseBoxBase::getBounds()
- throw ( uno::RuntimeException, std::exception )
{
return AWTRectangle( getBoundingBox() );
}
awt::Point SAL_CALL AccessibleBrowseBoxBase::getLocation()
- throw ( uno::RuntimeException, std::exception )
{
return AWTPoint( getBoundingBox().TopLeft() );
}
awt::Point SAL_CALL AccessibleBrowseBoxBase::getLocationOnScreen()
- throw ( uno::RuntimeException, std::exception )
{
return AWTPoint( getBoundingBoxOnScreen().TopLeft() );
}
awt::Size SAL_CALL AccessibleBrowseBoxBase::getSize()
- throw ( uno::RuntimeException, std::exception )
{
return AWTSize( getBoundingBox().GetSize() );
}
-void SAL_CALL AccessibleBrowseBoxBase::focusGained( const css::awt::FocusEvent& ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL AccessibleBrowseBoxBase::focusGained( const css::awt::FocusEvent& )
{
com::sun::star::uno::Any aFocused;
com::sun::star::uno::Any aEmpty;
@@ -249,7 +237,7 @@ void SAL_CALL AccessibleBrowseBoxBase::focusGained( const css::awt::FocusEvent&
}
-void SAL_CALL AccessibleBrowseBoxBase::focusLost( const css::awt::FocusEvent& ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL AccessibleBrowseBoxBase::focusLost( const css::awt::FocusEvent& )
{
com::sun::star::uno::Any aFocused;
com::sun::star::uno::Any aEmpty;
@@ -261,7 +249,6 @@ void SAL_CALL AccessibleBrowseBoxBase::focusLost( const css::awt::FocusEvent& )
void SAL_CALL AccessibleBrowseBoxBase::addAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener>& _rxListener )
- throw ( uno::RuntimeException, std::exception )
{
if ( _rxListener.is() )
{
@@ -275,7 +262,6 @@ void SAL_CALL AccessibleBrowseBoxBase::addAccessibleEventListener(
void SAL_CALL AccessibleBrowseBoxBase::removeAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener>& _rxListener )
- throw ( uno::RuntimeException, std::exception )
{
if( _rxListener.is() && getClientId( ) )
{
@@ -298,7 +284,6 @@ void SAL_CALL AccessibleBrowseBoxBase::removeAccessibleEventListener(
// XTypeProvider
Sequence< sal_Int8 > SAL_CALL AccessibleBrowseBoxBase::getImplementationId()
- throw ( uno::RuntimeException, std::exception )
{
return css::uno::Sequence<sal_Int8>();
}
@@ -307,13 +292,11 @@ Sequence< sal_Int8 > SAL_CALL AccessibleBrowseBoxBase::getImplementationId()
sal_Bool SAL_CALL AccessibleBrowseBoxBase::supportsService(
const OUString& rServiceName )
- throw ( uno::RuntimeException, std::exception )
{
return cppu::supportsService(this, rServiceName);
}
Sequence< OUString > SAL_CALL AccessibleBrowseBoxBase::getSupportedServiceNames()
- throw ( uno::RuntimeException, std::exception )
{
const OUString aServiceName( "com.sun.star.accessibility.AccessibleContext" );
return Sequence< OUString >( &aServiceName, 1 );
@@ -394,14 +377,12 @@ bool AccessibleBrowseBoxBase::isAlive() const
}
void AccessibleBrowseBoxBase::ensureIsAlive() const
- throw ( lang::DisposedException )
{
if( !isAlive() )
throw lang::DisposedException();
}
Rectangle AccessibleBrowseBoxBase::getBoundingBox()
- throw ( lang::DisposedException )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -415,7 +396,6 @@ Rectangle AccessibleBrowseBoxBase::getBoundingBox()
}
Rectangle AccessibleBrowseBoxBase::getBoundingBoxOnScreen()
- throw ( lang::DisposedException )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -450,7 +430,6 @@ void AccessibleBrowseBoxBase::commitEvent(
}
sal_Int16 SAL_CALL AccessibleBrowseBoxBase::getAccessibleRole()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
sal_Int16 nRole = AccessibleRole::UNKNOWN;
@@ -481,17 +460,16 @@ sal_Int16 SAL_CALL AccessibleBrowseBoxBase::getAccessibleRole()
}
Reference<XAccessible > SAL_CALL AccessibleBrowseBoxBase::getAccessibleAtPoint( const css::awt::Point& )
- throw ( uno::RuntimeException, std::exception )
{
return nullptr;
}
-void SAL_CALL AccessibleBrowseBoxBase::disposing( const css::lang::EventObject& ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL AccessibleBrowseBoxBase::disposing( const css::lang::EventObject& )
{
m_xFocusWindow = nullptr;
}
-sal_Int32 SAL_CALL AccessibleBrowseBoxBase::getForeground( ) throw (css::uno::RuntimeException, std::exception)
+sal_Int32 SAL_CALL AccessibleBrowseBoxBase::getForeground( )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -516,7 +494,7 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxBase::getForeground( ) throw (css::uno::R
return nColor;
}
-sal_Int32 SAL_CALL AccessibleBrowseBoxBase::getBackground( ) throw (css::uno::RuntimeException, std::exception)
+sal_Int32 SAL_CALL AccessibleBrowseBoxBase::getBackground( )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -543,7 +521,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( BrowseBoxAccessibleElement, AccessibleBrowseBo
// css::accessibility::XAccessible
-Reference< css::accessibility::XAccessibleContext > SAL_CALL BrowseBoxAccessibleElement::getAccessibleContext() throw ( uno::RuntimeException, std::exception )
+Reference< css::accessibility::XAccessibleContext > SAL_CALL BrowseBoxAccessibleElement::getAccessibleContext()
{
ensureIsAlive();
return this;
diff --git a/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx
index c8490babdcc8..da749b76fb38 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxCheckBoxCell.cxx
@@ -44,7 +44,7 @@ namespace accessibility
IMPLEMENT_FORWARD_XTYPEPROVIDER2( AccessibleCheckBoxCell, AccessibleBrowseBoxCell, AccessibleCheckBoxCell_BASE )
- Reference< XAccessibleContext > SAL_CALL AccessibleCheckBoxCell::getAccessibleContext( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleContext > SAL_CALL AccessibleCheckBoxCell::getAccessibleContext( )
{
ensureIsAlive();
return this;
@@ -66,7 +66,7 @@ namespace accessibility
// XAccessibleValue
- Any SAL_CALL AccessibleCheckBoxCell::getCurrentValue( ) throw (RuntimeException, std::exception)
+ Any SAL_CALL AccessibleCheckBoxCell::getCurrentValue( )
{
::osl::MutexGuard aGuard( getMutex() );
@@ -86,12 +86,12 @@ namespace accessibility
return makeAny(nValue);
}
- sal_Bool SAL_CALL AccessibleCheckBoxCell::setCurrentValue( const Any& ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleCheckBoxCell::setCurrentValue( const Any& )
{
return false;
}
- Any SAL_CALL AccessibleCheckBoxCell::getMaximumValue( ) throw (RuntimeException, std::exception)
+ Any SAL_CALL AccessibleCheckBoxCell::getMaximumValue( )
{
::osl::MutexGuard aGuard( getMutex() );
@@ -105,7 +105,7 @@ namespace accessibility
return aValue;
}
- Any SAL_CALL AccessibleCheckBoxCell::getMinimumValue( ) throw (RuntimeException, std::exception)
+ Any SAL_CALL AccessibleCheckBoxCell::getMinimumValue( )
{
Any aValue;
aValue <<= (sal_Int32) 0;
@@ -114,23 +114,22 @@ namespace accessibility
}
// XAccessibleContext
- sal_Int32 SAL_CALL AccessibleCheckBoxCell::getAccessibleChildCount( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleCheckBoxCell::getAccessibleChildCount( )
{
return 0;
}
- css::uno::Reference< css::accessibility::XAccessible > SAL_CALL AccessibleCheckBoxCell::getAccessibleChild( sal_Int32 ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ css::uno::Reference< css::accessibility::XAccessible > SAL_CALL AccessibleCheckBoxCell::getAccessibleChild( sal_Int32 )
{
throw css::lang::IndexOutOfBoundsException();
}
- OUString SAL_CALL AccessibleCheckBoxCell::getImplementationName() throw ( css::uno::RuntimeException, std::exception )
+ OUString SAL_CALL AccessibleCheckBoxCell::getImplementationName()
{
return OUString( "com.sun.star.comp.svtools.TableCheckBoxCell" );
}
sal_Int32 SAL_CALL AccessibleCheckBoxCell::getAccessibleIndexInParent()
- throw ( css::uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( getMutex() );
diff --git a/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx b/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx
index cd9ce964e298..00d04c7756e1 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxHeaderBar.cxx
@@ -54,7 +54,6 @@ AccessibleBrowseBoxHeaderBar::~AccessibleBrowseBoxHeaderBar()
Reference< XAccessible > SAL_CALL
AccessibleBrowseBoxHeaderBar::getAccessibleChild( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -64,7 +63,6 @@ AccessibleBrowseBoxHeaderBar::getAccessibleChild( sal_Int32 nChildIndex )
}
sal_Int32 SAL_CALL AccessibleBrowseBoxHeaderBar::getAccessibleIndexInParent()
- throw ( uno::RuntimeException, std::exception )
{
return isRowBar() ? BBINDEX_ROWHEADERBAR : BBINDEX_COLUMNHEADERBAR;
}
@@ -73,7 +71,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxHeaderBar::getAccessibleIndexInParent()
Reference< XAccessible > SAL_CALL
AccessibleBrowseBoxHeaderBar::getAccessibleAtPoint( const awt::Point& rPoint )
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -88,7 +85,6 @@ AccessibleBrowseBoxHeaderBar::getAccessibleAtPoint( const awt::Point& rPoint )
}
void SAL_CALL AccessibleBrowseBoxHeaderBar::grabFocus()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
// focus on header not supported
@@ -97,7 +93,6 @@ void SAL_CALL AccessibleBrowseBoxHeaderBar::grabFocus()
// XAccessibleTable -----------------------------------------------------------
OUString SAL_CALL AccessibleBrowseBoxHeaderBar::getAccessibleRowDescription( sal_Int32 nRow )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
@@ -107,7 +102,6 @@ OUString SAL_CALL AccessibleBrowseBoxHeaderBar::getAccessibleRowDescription( sal
}
OUString SAL_CALL AccessibleBrowseBoxHeaderBar::getAccessibleColumnDescription( sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
@@ -117,21 +111,18 @@ OUString SAL_CALL AccessibleBrowseBoxHeaderBar::getAccessibleColumnDescription(
}
Reference< XAccessibleTable > SAL_CALL AccessibleBrowseBoxHeaderBar::getAccessibleRowHeaders()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
return nullptr; // no headers in headers
}
Reference< XAccessibleTable > SAL_CALL AccessibleBrowseBoxHeaderBar::getAccessibleColumnHeaders()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
return nullptr; // no headers in headers
}
Sequence< sal_Int32 > SAL_CALL AccessibleBrowseBoxHeaderBar::getSelectedAccessibleRows()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -144,7 +135,6 @@ Sequence< sal_Int32 > SAL_CALL AccessibleBrowseBoxHeaderBar::getSelectedAccessib
}
Sequence< sal_Int32 > SAL_CALL AccessibleBrowseBoxHeaderBar::getSelectedAccessibleColumns()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -157,7 +147,6 @@ Sequence< sal_Int32 > SAL_CALL AccessibleBrowseBoxHeaderBar::getSelectedAccessib
}
sal_Bool SAL_CALL AccessibleBrowseBoxHeaderBar::isAccessibleRowSelected( sal_Int32 nRow )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
@@ -167,7 +156,6 @@ sal_Bool SAL_CALL AccessibleBrowseBoxHeaderBar::isAccessibleRowSelected( sal_Int
}
sal_Bool SAL_CALL AccessibleBrowseBoxHeaderBar::isAccessibleColumnSelected( sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
@@ -178,7 +166,6 @@ sal_Bool SAL_CALL AccessibleBrowseBoxHeaderBar::isAccessibleColumnSelected( sal_
Reference< XAccessible > SAL_CALL AccessibleBrowseBoxHeaderBar::getAccessibleCellAt(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
@@ -190,7 +177,6 @@ Reference< XAccessible > SAL_CALL AccessibleBrowseBoxHeaderBar::getAccessibleCel
sal_Bool SAL_CALL AccessibleBrowseBoxHeaderBar::isAccessibleSelected(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -202,7 +188,6 @@ sal_Bool SAL_CALL AccessibleBrowseBoxHeaderBar::isAccessibleSelected(
// XAccessibleSelection -------------------------------------------------------
void SAL_CALL AccessibleBrowseBoxHeaderBar::selectAccessibleChild( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -215,7 +200,6 @@ void SAL_CALL AccessibleBrowseBoxHeaderBar::selectAccessibleChild( sal_Int32 nCh
}
sal_Bool SAL_CALL AccessibleBrowseBoxHeaderBar::isAccessibleChildSelected( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
// using interface methods - no mutex
return isRowBar() ?
@@ -224,7 +208,6 @@ sal_Bool SAL_CALL AccessibleBrowseBoxHeaderBar::isAccessibleChildSelected( sal_I
}
void SAL_CALL AccessibleBrowseBoxHeaderBar::clearAccessibleSelection()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -233,7 +216,6 @@ void SAL_CALL AccessibleBrowseBoxHeaderBar::clearAccessibleSelection()
}
void SAL_CALL AccessibleBrowseBoxHeaderBar::selectAllAccessibleChildren()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -246,7 +228,6 @@ void SAL_CALL AccessibleBrowseBoxHeaderBar::selectAllAccessibleChildren()
}
sal_Int32 SAL_CALL AccessibleBrowseBoxHeaderBar::getSelectedAccessibleChildCount()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -256,7 +237,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxHeaderBar::getSelectedAccessibleChildCount
Reference< XAccessible > SAL_CALL
AccessibleBrowseBoxHeaderBar::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -268,7 +248,6 @@ AccessibleBrowseBoxHeaderBar::getSelectedAccessibleChild( sal_Int32 nSelectedChi
void SAL_CALL AccessibleBrowseBoxHeaderBar::deselectAccessibleChild(
sal_Int32 nSelectedChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -286,7 +265,6 @@ void SAL_CALL AccessibleBrowseBoxHeaderBar::deselectAccessibleChild(
// XInterface -----------------------------------------------------------------
Any SAL_CALL AccessibleBrowseBoxHeaderBar::queryInterface( const uno::Type& rType )
- throw ( uno::RuntimeException, std::exception )
{
Any aAny( AccessibleBrowseBoxTableBase::queryInterface( rType ) );
return aAny.hasValue() ?
@@ -306,13 +284,11 @@ void SAL_CALL AccessibleBrowseBoxHeaderBar::release() throw ()
// XServiceInfo ---------------------------------------------------------------
OUString SAL_CALL AccessibleBrowseBoxHeaderBar::getImplementationName()
- throw ( uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.comp.svtools.AccessibleBrowseBoxHeaderBar" );
}
Sequence< sal_Int8 > SAL_CALL AccessibleBrowseBoxHeaderBar::getImplementationId()
- throw ( uno::RuntimeException, std::exception )
{
return css::uno::Sequence<sal_Int8>();
}
@@ -353,7 +329,6 @@ Reference< XAccessible > AccessibleBrowseBoxHeaderBar::implGetChild(
sal_Int32 AccessibleBrowseBoxHeaderBar::implGetChildIndexFromSelectedIndex(
sal_Int32 nSelectedChildIndex )
- throw ( lang::IndexOutOfBoundsException )
{
Sequence< sal_Int32 > aSelSeq;
if( isRowBar() )
@@ -368,7 +343,6 @@ sal_Int32 AccessibleBrowseBoxHeaderBar::implGetChildIndexFromSelectedIndex(
}
void AccessibleBrowseBoxHeaderBar::ensureIsValidHeaderIndex( sal_Int32 nIndex )
- throw ( lang::IndexOutOfBoundsException )
{
if( isRowBar() )
ensureIsValidRow( nIndex );
diff --git a/accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx
index 2f706338a75c..ce5c3ef7f3f4 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxHeaderCell.cxx
@@ -81,7 +81,6 @@ AccessibleBrowseBoxHeaderCell::AccessibleBrowseBoxHeaderCell(sal_Int32 _nColumnR
The count of visible children.
*/
sal_Int32 SAL_CALL AccessibleBrowseBoxHeaderCell::getAccessibleChildCount()
- throw ( RuntimeException, std::exception )
{
return 0;
}
@@ -91,7 +90,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxHeaderCell::getAccessibleChildCount()
The XAccessible interface of the specified child.
*/
Reference<XAccessible > SAL_CALL AccessibleBrowseBoxHeaderCell::getAccessibleChild( sal_Int32 )
- throw ( IndexOutOfBoundsException,RuntimeException, std::exception )
{
throw IndexOutOfBoundsException();
}
@@ -99,7 +97,6 @@ Reference<XAccessible > SAL_CALL AccessibleBrowseBoxHeaderCell::getAccessibleChi
/** Grabs the focus to the column header. */
void SAL_CALL AccessibleBrowseBoxHeaderCell::grabFocus()
- throw ( css::uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -114,7 +111,6 @@ void SAL_CALL AccessibleBrowseBoxHeaderCell::grabFocus()
The name of this class.
*/
OUString SAL_CALL AccessibleBrowseBoxHeaderCell::getImplementationName()
- throw ( css::uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.comp.svtools.AccessibleBrowseBoxHeaderCell" );
}
@@ -148,7 +144,6 @@ Rectangle AccessibleBrowseBoxHeaderCell::implGetBoundingBoxOnScreen()
}
sal_Int32 SAL_CALL AccessibleBrowseBoxHeaderCell::getAccessibleIndexInParent()
- throw ( RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( getMutex() );
ensureIsAlive();
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTable.cxx b/accessibility/source/extended/AccessibleBrowseBoxTable.cxx
index 756146d0792d..61d7c2b21773 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxTable.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxTable.cxx
@@ -49,7 +49,6 @@ AccessibleBrowseBoxTable::~AccessibleBrowseBoxTable()
Reference< XAccessible > SAL_CALL
AccessibleBrowseBoxTable::getAccessibleChild( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -60,7 +59,6 @@ AccessibleBrowseBoxTable::getAccessibleChild( sal_Int32 nChildIndex )
}
sal_Int32 SAL_CALL AccessibleBrowseBoxTable::getAccessibleIndexInParent()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
return BBINDEX_TABLE;
@@ -70,7 +68,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxTable::getAccessibleIndexInParent()
Reference< XAccessible > SAL_CALL
AccessibleBrowseBoxTable::getAccessibleAtPoint( const awt::Point& rPoint )
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -85,7 +82,6 @@ AccessibleBrowseBoxTable::getAccessibleAtPoint( const awt::Point& rPoint )
}
void SAL_CALL AccessibleBrowseBoxTable::grabFocus()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -95,7 +91,6 @@ void SAL_CALL AccessibleBrowseBoxTable::grabFocus()
// XAccessibleTable -----------------------------------------------------------
OUString SAL_CALL AccessibleBrowseBoxTable::getAccessibleRowDescription( sal_Int32 nRow )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -104,7 +99,6 @@ OUString SAL_CALL AccessibleBrowseBoxTable::getAccessibleRowDescription( sal_Int
}
OUString SAL_CALL AccessibleBrowseBoxTable::getAccessibleColumnDescription( sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -114,7 +108,6 @@ OUString SAL_CALL AccessibleBrowseBoxTable::getAccessibleColumnDescription( sal_
}
Reference< XAccessibleTable > SAL_CALL AccessibleBrowseBoxTable::getAccessibleRowHeaders()
- throw ( uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( getMutex() );
ensureIsAlive();
@@ -122,7 +115,6 @@ Reference< XAccessibleTable > SAL_CALL AccessibleBrowseBoxTable::getAccessibleRo
}
Reference< XAccessibleTable > SAL_CALL AccessibleBrowseBoxTable::getAccessibleColumnHeaders()
- throw ( uno::RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( getMutex() );
ensureIsAlive();
@@ -130,7 +122,6 @@ Reference< XAccessibleTable > SAL_CALL AccessibleBrowseBoxTable::getAccessibleCo
}
Sequence< sal_Int32 > SAL_CALL AccessibleBrowseBoxTable::getSelectedAccessibleRows()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -141,7 +132,6 @@ Sequence< sal_Int32 > SAL_CALL AccessibleBrowseBoxTable::getSelectedAccessibleRo
}
Sequence< sal_Int32 > SAL_CALL AccessibleBrowseBoxTable::getSelectedAccessibleColumns()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -152,7 +142,6 @@ Sequence< sal_Int32 > SAL_CALL AccessibleBrowseBoxTable::getSelectedAccessibleCo
}
sal_Bool SAL_CALL AccessibleBrowseBoxTable::isAccessibleRowSelected( sal_Int32 nRow )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -162,7 +151,6 @@ sal_Bool SAL_CALL AccessibleBrowseBoxTable::isAccessibleRowSelected( sal_Int32 n
}
sal_Bool SAL_CALL AccessibleBrowseBoxTable::isAccessibleColumnSelected( sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -173,7 +161,6 @@ sal_Bool SAL_CALL AccessibleBrowseBoxTable::isAccessibleColumnSelected( sal_Int3
Reference< XAccessible > SAL_CALL AccessibleBrowseBoxTable::getAccessibleCellAt(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -184,7 +171,6 @@ Reference< XAccessible > SAL_CALL AccessibleBrowseBoxTable::getAccessibleCellAt(
sal_Bool SAL_CALL AccessibleBrowseBoxTable::isAccessibleSelected(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -196,7 +182,6 @@ sal_Bool SAL_CALL AccessibleBrowseBoxTable::isAccessibleSelected(
// XServiceInfo ---------------------------------------------------------------
OUString SAL_CALL AccessibleBrowseBoxTable::getImplementationName()
- throw ( uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.comp.svtools.AccessibleBrowseBoxTable" );
}
@@ -217,7 +202,6 @@ Rectangle AccessibleBrowseBoxTable::implGetBoundingBoxOnScreen()
Reference< XAccessibleTable > AccessibleBrowseBoxTable::implGetHeaderBar(
sal_Int32 nChildIndex )
- throw ( uno::RuntimeException )
{
Reference< XAccessible > xRet;
Reference< XAccessibleContext > xContext( mxParent, uno::UNO_QUERY );
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx
index 153ff855716a..f862854379b8 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxTableBase.cxx
@@ -53,7 +53,6 @@ AccessibleBrowseBoxTableBase::~AccessibleBrowseBoxTableBase()
// XAccessibleContext ---------------------------------------------------------
sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleChildCount()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -61,7 +60,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleChildCount()
}
sal_Int16 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRole()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
return AccessibleRole::TABLE;
@@ -70,7 +68,6 @@ sal_Int16 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRole()
// XAccessibleTable -----------------------------------------------------------
sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRowCount()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -78,7 +75,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRowCount()
}
sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleColumnCount()
- throw ( uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -87,7 +83,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleColumnCount()
sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRowExtentAt(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -97,7 +92,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRowExtentAt(
sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleColumnExtentAt(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -106,14 +100,12 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleColumnExtentAt(
}
Reference< XAccessible > SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleCaption()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
return nullptr; // not supported
}
Reference< XAccessible > SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleSummary()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
return nullptr; // not supported
@@ -121,7 +113,6 @@ Reference< XAccessible > SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleSum
sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleIndex(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -130,7 +121,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleIndex(
}
sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRow( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -139,7 +129,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleRow( sal_Int32 nCh
}
sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleColumn( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -150,7 +139,6 @@ sal_Int32 SAL_CALL AccessibleBrowseBoxTableBase::getAccessibleColumn( sal_Int32
// XInterface -----------------------------------------------------------------
Any SAL_CALL AccessibleBrowseBoxTableBase::queryInterface( const uno::Type& rType )
- throw ( uno::RuntimeException, std::exception )
{
Any aAny( BrowseBoxAccessibleElement::queryInterface( rType ) );
return aAny.hasValue() ?
@@ -170,7 +158,6 @@ void SAL_CALL AccessibleBrowseBoxTableBase::release() throw ()
// XTypeProvider --------------------------------------------------------------
Sequence< uno::Type > SAL_CALL AccessibleBrowseBoxTableBase::getTypes()
- throw ( uno::RuntimeException, std::exception )
{
return ::comphelper::concatSequences(
BrowseBoxAccessibleElement::getTypes(),
@@ -178,7 +165,6 @@ Sequence< uno::Type > SAL_CALL AccessibleBrowseBoxTableBase::getTypes()
}
Sequence< sal_Int8 > SAL_CALL AccessibleBrowseBoxTableBase::getImplementationId()
- throw ( uno::RuntimeException, std::exception )
{
return css::uno::Sequence<sal_Int8>();
}
@@ -279,7 +265,6 @@ void AccessibleBrowseBoxTableBase::implGetSelectedColumns( Sequence< sal_Int32 >
}
void AccessibleBrowseBoxTableBase::ensureIsValidRow( sal_Int32 nRow )
- throw ( lang::IndexOutOfBoundsException )
{
if( nRow >= implGetRowCount() )
throw lang::IndexOutOfBoundsException(
@@ -287,7 +272,6 @@ void AccessibleBrowseBoxTableBase::ensureIsValidRow( sal_Int32 nRow )
}
void AccessibleBrowseBoxTableBase::ensureIsValidColumn( sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException )
{
if( nColumn >= implGetColumnCount() )
throw lang::IndexOutOfBoundsException(
@@ -296,14 +280,12 @@ void AccessibleBrowseBoxTableBase::ensureIsValidColumn( sal_Int32 nColumn )
void AccessibleBrowseBoxTableBase::ensureIsValidAddress(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException )
{
ensureIsValidRow( nRow );
ensureIsValidColumn( nColumn );
}
void AccessibleBrowseBoxTableBase::ensureIsValidIndex( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException )
{
if( nChildIndex >= implGetChildCount() )
throw lang::IndexOutOfBoundsException(
diff --git a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
index edf942981311..ea8f6694d290 100644
--- a/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
+++ b/accessibility/source/extended/AccessibleBrowseBoxTableCell.cxx
@@ -28,7 +28,7 @@ namespace accessibility
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 >= _sText.getLength() )
throw css::lang::IndexOutOfBoundsException();
@@ -98,7 +98,6 @@ namespace accessibility
/** Queries for a new interface. */
css::uno::Any SAL_CALL AccessibleBrowseBoxTableCell::queryInterface( const css::uno::Type& rType )
- throw ( css::uno::RuntimeException, std::exception )
{
Any aRet = AccessibleBrowseBoxCell::queryInterface(rType);
if ( !aRet.hasValue() )
@@ -118,7 +117,7 @@ namespace accessibility
AccessibleBrowseBoxCell::release();
}
- css::awt::Rectangle SAL_CALL AccessibleBrowseBoxTableCell::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ css::awt::Rectangle SAL_CALL AccessibleBrowseBoxTableCell::getCharacterBounds( sal_Int32 nIndex )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -136,7 +135,7 @@ namespace accessibility
return aRect;
}
- sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getIndexAtPoint( const css::awt::Point& _aPoint ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getIndexAtPoint( const css::awt::Point& _aPoint )
{
//! TODO CTL bidi
// OSL_FAIL("Need to be done by base class!");
@@ -150,14 +149,12 @@ namespace accessibility
The name of this class.
*/
OUString SAL_CALL AccessibleBrowseBoxTableCell::getImplementationName()
- throw ( css::uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.comp.svtools.AccessibleBrowseBoxTableCell" );
}
/** @return The count of visible children. */
sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getAccessibleChildCount()
- throw ( css::uno::RuntimeException, std::exception )
{
return 0;
}
@@ -165,8 +162,6 @@ namespace accessibility
/** @return The XAccessible interface of the specified child. */
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
AccessibleBrowseBoxTableCell::getAccessibleChild( sal_Int32 )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception )
{
throw css::lang::IndexOutOfBoundsException();
}
@@ -200,7 +195,7 @@ namespace accessibility
// XAccessible ------------------------------------------------------------
/** @return The XAccessibleContext interface of this object. */
- Reference< XAccessibleContext > SAL_CALL AccessibleBrowseBoxTableCell::getAccessibleContext() throw ( RuntimeException, std::exception )
+ Reference< XAccessibleContext > SAL_CALL AccessibleBrowseBoxTableCell::getAccessibleContext()
{
ensureIsAlive();
return this;
@@ -209,7 +204,6 @@ namespace accessibility
// XAccessibleContext -----------------------------------------------------
sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getAccessibleIndexInParent()
- throw ( css::uno::RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -217,12 +211,12 @@ namespace accessibility
return /*BBINDEX_FIRSTCONTROL*/ m_nOffset + ( getRowPos() * mpBrowseBox->GetColumnCount() ) + getColumnPos();
}
- sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getCaretPosition( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getCaretPosition( )
{
return -1;
}
- sal_Bool SAL_CALL AccessibleBrowseBoxTableCell::setCaretPosition ( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleBrowseBoxTableCell::setCaretPosition ( sal_Int32 nIndex )
{
SolarMethodGuard aGuard(getMutex());
@@ -231,13 +225,13 @@ namespace accessibility
return false;
}
- sal_Unicode SAL_CALL AccessibleBrowseBoxTableCell::getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Unicode SAL_CALL AccessibleBrowseBoxTableCell::getCharacter( sal_Int32 nIndex )
{
SolarMethodGuard aGuard(getMutex());
return OCommonAccessibleText::getCharacter( nIndex );
}
- css::uno::Sequence< css::beans::PropertyValue > SAL_CALL AccessibleBrowseBoxTableCell::getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ css::uno::Sequence< css::beans::PropertyValue > SAL_CALL AccessibleBrowseBoxTableCell::getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& )
{
SolarMethodGuard aGuard(getMutex());
@@ -248,32 +242,32 @@ namespace accessibility
return css::uno::Sequence< css::beans::PropertyValue >();
}
- sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getCharacterCount( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getCharacterCount( )
{
SolarMethodGuard aGuard(getMutex());
return OCommonAccessibleText::getCharacterCount( );
}
- OUString SAL_CALL AccessibleBrowseBoxTableCell::getSelectedText( ) throw (css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleBrowseBoxTableCell::getSelectedText( )
{
SolarMethodGuard aGuard(getMutex());
return OCommonAccessibleText::getSelectedText( );
}
- sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getSelectionStart( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getSelectionStart( )
{
SolarMethodGuard aGuard(getMutex());
return OCommonAccessibleText::getSelectionStart( );
}
- sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getSelectionEnd( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleBrowseBoxTableCell::getSelectionEnd( )
{
SolarMethodGuard aGuard(getMutex());
return OCommonAccessibleText::getSelectionEnd( );
}
- sal_Bool SAL_CALL AccessibleBrowseBoxTableCell::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleBrowseBoxTableCell::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{
SolarMethodGuard aGuard(getMutex());
@@ -282,37 +276,37 @@ namespace accessibility
return false;
}
- OUString SAL_CALL AccessibleBrowseBoxTableCell::getText( ) throw (css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleBrowseBoxTableCell::getText( )
{
SolarMethodGuard aGuard(getMutex());
return OCommonAccessibleText::getText( );
}
- OUString SAL_CALL AccessibleBrowseBoxTableCell::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleBrowseBoxTableCell::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{
SolarMethodGuard aGuard(getMutex());
return OCommonAccessibleText::getTextRange( nStartIndex, nEndIndex );
}
- css::accessibility::TextSegment SAL_CALL AccessibleBrowseBoxTableCell::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+ css::accessibility::TextSegment SAL_CALL AccessibleBrowseBoxTableCell::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
SolarMethodGuard aGuard(getMutex());
return OCommonAccessibleText::getTextAtIndex( nIndex ,aTextType);
}
- css::accessibility::TextSegment SAL_CALL AccessibleBrowseBoxTableCell::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+ css::accessibility::TextSegment SAL_CALL AccessibleBrowseBoxTableCell::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
SolarMethodGuard aGuard(getMutex());
return OCommonAccessibleText::getTextBeforeIndex( nIndex ,aTextType);
}
- css::accessibility::TextSegment SAL_CALL AccessibleBrowseBoxTableCell::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+ css::accessibility::TextSegment SAL_CALL AccessibleBrowseBoxTableCell::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
SolarMethodGuard aGuard(getMutex());
return OCommonAccessibleText::getTextBehindIndex( nIndex ,aTextType);
}
- sal_Bool SAL_CALL AccessibleBrowseBoxTableCell::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleBrowseBoxTableCell::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{
SolarMethodGuard aGuard(getMutex());
@@ -323,7 +317,7 @@ namespace accessibility
//!!! don't know how to put a string into the clipboard
return false;
}
- void AccessibleBrowseBoxTableCell::disposing( const EventObject& _rSource ) throw (RuntimeException, std::exception)
+ void AccessibleBrowseBoxTableCell::disposing( const EventObject& _rSource )
{
if ( _rSource.Source == mxParent )
{
diff --git a/accessibility/source/extended/AccessibleGridControl.cxx b/accessibility/source/extended/AccessibleGridControl.cxx
index 1203e9a7576f..d95a19e83117 100644
--- a/accessibility/source/extended/AccessibleGridControl.cxx
+++ b/accessibility/source/extended/AccessibleGridControl.cxx
@@ -108,7 +108,6 @@ void SAL_CALL AccessibleGridControl::disposing()
// css::accessibility::XAccessibleContext ---------------------------------------------------------
sal_Int32 SAL_CALL AccessibleGridControl::getAccessibleChildCount()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
ensureIsAlive();
@@ -118,7 +117,6 @@ sal_Int32 SAL_CALL AccessibleGridControl::getAccessibleChildCount()
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
AccessibleGridControl::getAccessibleChild( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -158,7 +156,6 @@ AccessibleGridControl::getAccessibleChild( sal_Int32 nChildIndex )
sal_Int16 SAL_CALL AccessibleGridControl::getAccessibleRole()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -171,7 +168,6 @@ sal_Int16 SAL_CALL AccessibleGridControl::getAccessibleRole()
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
AccessibleGridControl::getAccessibleAtPoint( const awt::Point& rPoint )
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
ensureIsAlive();
@@ -201,7 +197,6 @@ AccessibleGridControl::getAccessibleAtPoint( const awt::Point& rPoint )
void SAL_CALL AccessibleGridControl::grabFocus()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
ensureIsAlive();
@@ -211,7 +206,6 @@ void SAL_CALL AccessibleGridControl::grabFocus()
// XServiceInfo ---------------------------------------------------------------
OUString SAL_CALL AccessibleGridControl::getImplementationName()
- throw ( uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.accessibility.AccessibleGridControl" );
}
@@ -405,7 +399,7 @@ void AccessibleGridControlAccess::DisposeAccessImpl()
}
-css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL AccessibleGridControlAccess::getAccessibleContext() throw ( RuntimeException, std::exception )
+css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL AccessibleGridControlAccess::getAccessibleContext()
{
SolarMutexGuard g;
diff --git a/accessibility/source/extended/AccessibleGridControlBase.cxx b/accessibility/source/extended/AccessibleGridControlBase.cxx
index 74d421416ea4..8e3d81df9d53 100644
--- a/accessibility/source/extended/AccessibleGridControlBase.cxx
+++ b/accessibility/source/extended/AccessibleGridControlBase.cxx
@@ -84,7 +84,6 @@ void SAL_CALL AccessibleGridControlBase::disposing()
// css::accessibility::XAccessibleContext
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL AccessibleGridControlBase::getAccessibleParent()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -93,7 +92,6 @@ css::uno::Reference< css::accessibility::XAccessible > SAL_CALL AccessibleGridCo
}
sal_Int32 SAL_CALL AccessibleGridControlBase::getAccessibleIndexInParent()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -129,7 +127,6 @@ sal_Int32 SAL_CALL AccessibleGridControlBase::getAccessibleIndexInParent()
}
OUString SAL_CALL AccessibleGridControlBase::getAccessibleDescription()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -138,7 +135,6 @@ OUString SAL_CALL AccessibleGridControlBase::getAccessibleDescription()
}
OUString SAL_CALL AccessibleGridControlBase::getAccessibleName()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -148,7 +144,6 @@ OUString SAL_CALL AccessibleGridControlBase::getAccessibleName()
css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL
AccessibleGridControlBase::getAccessibleRelationSet()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -159,7 +154,6 @@ AccessibleGridControlBase::getAccessibleRelationSet()
css::uno::Reference< css::accessibility::XAccessibleStateSet > SAL_CALL
AccessibleGridControlBase::getAccessibleStateSet()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -168,7 +162,6 @@ AccessibleGridControlBase::getAccessibleStateSet()
}
lang::Locale SAL_CALL AccessibleGridControlBase::getLocale()
- throw ( IllegalAccessibleComponentStateException, uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -186,31 +179,26 @@ lang::Locale SAL_CALL AccessibleGridControlBase::getLocale()
// css::accessibility::XAccessibleComponent
sal_Bool SAL_CALL AccessibleGridControlBase::containsPoint( const awt::Point& rPoint )
- throw ( uno::RuntimeException, std::exception )
{
return Rectangle( Point(), getBoundingBox().GetSize() ).IsInside( VCLPoint( rPoint ) );
}
awt::Rectangle SAL_CALL AccessibleGridControlBase::getBounds()
- throw ( uno::RuntimeException, std::exception )
{
return AWTRectangle( getBoundingBox() );
}
awt::Point SAL_CALL AccessibleGridControlBase::getLocation()
- throw ( uno::RuntimeException, std::exception )
{
return AWTPoint( getBoundingBox().TopLeft() );
}
awt::Point SAL_CALL AccessibleGridControlBase::getLocationOnScreen()
- throw ( uno::RuntimeException, std::exception )
{
return AWTPoint( getBoundingBoxOnScreen().TopLeft() );
}
awt::Size SAL_CALL AccessibleGridControlBase::getSize()
- throw ( uno::RuntimeException, std::exception )
{
return AWTSize( getBoundingBox().GetSize() );
}
@@ -219,7 +207,6 @@ awt::Size SAL_CALL AccessibleGridControlBase::getSize()
void SAL_CALL AccessibleGridControlBase::addAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener>& _rxListener )
- throw ( uno::RuntimeException, std::exception )
{
if ( _rxListener.is() )
{
@@ -234,7 +221,6 @@ void SAL_CALL AccessibleGridControlBase::addAccessibleEventListener(
void SAL_CALL AccessibleGridControlBase::removeAccessibleEventListener(
const css::uno::Reference< css::accessibility::XAccessibleEventListener>& _rxListener )
- throw ( uno::RuntimeException, std::exception )
{
if( _rxListener.is() && getClientId( ) )
{
@@ -257,7 +243,6 @@ void SAL_CALL AccessibleGridControlBase::removeAccessibleEventListener(
// XTypeProvider
Sequence< sal_Int8 > SAL_CALL AccessibleGridControlBase::getImplementationId()
- throw ( uno::RuntimeException, std::exception )
{
return css::uno::Sequence<sal_Int8>();
}
@@ -266,13 +251,11 @@ Sequence< sal_Int8 > SAL_CALL AccessibleGridControlBase::getImplementationId()
sal_Bool SAL_CALL AccessibleGridControlBase::supportsService(
const OUString& rServiceName )
- throw ( uno::RuntimeException, std::exception )
{
return cppu::supportsService(this, rServiceName);
}
Sequence< OUString > SAL_CALL AccessibleGridControlBase::getSupportedServiceNames()
- throw ( uno::RuntimeException, std::exception )
{
return { "com.sun.star.accessibility.AccessibleContext" };
}
@@ -319,14 +302,12 @@ bool AccessibleGridControlBase::isAlive() const
}
void AccessibleGridControlBase::ensureIsAlive() const
- throw ( lang::DisposedException )
{
if( !isAlive() )
throw lang::DisposedException();
}
Rectangle AccessibleGridControlBase::getBoundingBox()
- throw ( lang::DisposedException )
{
SolarMutexGuard aSolarGuard;
ensureIsAlive();
@@ -339,7 +320,6 @@ Rectangle AccessibleGridControlBase::getBoundingBox()
}
Rectangle AccessibleGridControlBase::getBoundingBoxOnScreen()
- throw ( lang::DisposedException )
{
SolarMutexGuard aSolarGuard;
ensureIsAlive();
@@ -374,7 +354,6 @@ void AccessibleGridControlBase::commitEvent(
}
sal_Int16 SAL_CALL AccessibleGridControlBase::getAccessibleRole()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
sal_Int16 nRole = AccessibleRole::UNKNOWN;
@@ -402,12 +381,11 @@ sal_Int16 SAL_CALL AccessibleGridControlBase::getAccessibleRole()
}
css::uno::Reference<css::accessibility::XAccessible > SAL_CALL AccessibleGridControlBase::getAccessibleAtPoint( const css::awt::Point& )
- throw ( uno::RuntimeException, std::exception )
{
return nullptr;
}
-sal_Int32 SAL_CALL AccessibleGridControlBase::getForeground( ) throw (css::uno::RuntimeException, std::exception)
+sal_Int32 SAL_CALL AccessibleGridControlBase::getForeground( )
{
SolarMutexGuard aSolarGuard;
@@ -432,7 +410,7 @@ sal_Int32 SAL_CALL AccessibleGridControlBase::getForeground( ) throw (css::uno:
return nColor;
}
-sal_Int32 SAL_CALL AccessibleGridControlBase::getBackground( ) throw (css::uno::RuntimeException, std::exception)
+sal_Int32 SAL_CALL AccessibleGridControlBase::getBackground( )
{
SolarMutexGuard aSolarGuard;
@@ -465,7 +443,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( GridControlAccessibleElement, AccessibleGridCo
// css::accessibility::XAccessible
-css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL GridControlAccessibleElement::getAccessibleContext() throw ( uno::RuntimeException, std::exception )
+css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL GridControlAccessibleElement::getAccessibleContext()
{
SolarMutexGuard g;
diff --git a/accessibility/source/extended/AccessibleGridControlHeader.cxx b/accessibility/source/extended/AccessibleGridControlHeader.cxx
index c8d5c5551f2f..f3786228c4f5 100644
--- a/accessibility/source/extended/AccessibleGridControlHeader.cxx
+++ b/accessibility/source/extended/AccessibleGridControlHeader.cxx
@@ -56,7 +56,6 @@ AccessibleGridControlHeader::~AccessibleGridControlHeader()
Reference< XAccessible > SAL_CALL
AccessibleGridControlHeader::getAccessibleChild( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -78,7 +77,6 @@ AccessibleGridControlHeader::getAccessibleChild( sal_Int32 nChildIndex )
}
sal_Int32 SAL_CALL AccessibleGridControlHeader::getAccessibleIndexInParent()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
if(m_eObjType == svt::table::TCTYPE_ROWHEADERBAR && m_aTable.HasColHeader())
@@ -91,7 +89,6 @@ sal_Int32 SAL_CALL AccessibleGridControlHeader::getAccessibleIndexInParent()
Reference< XAccessible > SAL_CALL
AccessibleGridControlHeader::getAccessibleAtPoint( const awt::Point& rPoint )
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -104,7 +101,6 @@ AccessibleGridControlHeader::getAccessibleAtPoint( const awt::Point& rPoint )
}
void SAL_CALL AccessibleGridControlHeader::grabFocus()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
// focus on header not supported
@@ -113,7 +109,6 @@ void SAL_CALL AccessibleGridControlHeader::grabFocus()
// XAccessibleTable -----------------------------------------------------------
OUString SAL_CALL AccessibleGridControlHeader::getAccessibleRowDescription( sal_Int32 nRow )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -123,7 +118,6 @@ OUString SAL_CALL AccessibleGridControlHeader::getAccessibleRowDescription( sal_
}
OUString SAL_CALL AccessibleGridControlHeader::getAccessibleColumnDescription( sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -133,7 +127,6 @@ OUString SAL_CALL AccessibleGridControlHeader::getAccessibleColumnDescription( s
}
Reference< XAccessibleTable > SAL_CALL AccessibleGridControlHeader::getAccessibleRowHeaders()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -142,7 +135,6 @@ Reference< XAccessibleTable > SAL_CALL AccessibleGridControlHeader::getAccessibl
}
Reference< XAccessibleTable > SAL_CALL AccessibleGridControlHeader::getAccessibleColumnHeaders()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -151,27 +143,23 @@ Reference< XAccessibleTable > SAL_CALL AccessibleGridControlHeader::getAccessibl
}
//not selectable
Sequence< sal_Int32 > SAL_CALL AccessibleGridControlHeader::getSelectedAccessibleRows()
- throw ( uno::RuntimeException, std::exception )
{
Sequence< sal_Int32 > aSelSeq(0);
return aSelSeq;
}
//columns aren't selectable
Sequence< sal_Int32 > SAL_CALL AccessibleGridControlHeader::getSelectedAccessibleColumns()
- throw ( uno::RuntimeException, std::exception )
{
Sequence< sal_Int32 > aSelSeq(0);
return aSelSeq;
}
//row headers not selectable
sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleRowSelected( sal_Int32 /*nRow*/ )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
return false;
}
//columns aren't selectable
sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleColumnSelected( sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
(void)nColumn;
return false;
@@ -179,14 +167,12 @@ sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleColumnSelected( sal_I
//not implemented
Reference< XAccessible > SAL_CALL AccessibleGridControlHeader::getAccessibleCellAt(
sal_Int32 /*nRow*/, sal_Int32 /*nColumn*/ )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
return nullptr;
}
// not selectable
sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleSelected(
sal_Int32 /*nRow*/, sal_Int32 /*nColumn */)
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
return false;
}
@@ -194,13 +180,11 @@ sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleSelected(
// XServiceInfo ---------------------------------------------------------------
OUString SAL_CALL AccessibleGridControlHeader::getImplementationName()
- throw ( uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.accessibility.AccessibleGridControlHeader" );
}
Sequence< sal_Int8 > SAL_CALL AccessibleGridControlHeader::getImplementationId()
- throw ( uno::RuntimeException, std::exception )
{
return css::uno::Sequence<sal_Int8>();
}
diff --git a/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx b/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx
index 8d9825936692..49a84aa0d356 100644
--- a/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx
+++ b/accessibility/source/extended/AccessibleGridControlHeaderCell.cxx
@@ -72,7 +72,6 @@ AccessibleGridControlHeaderCell::AccessibleGridControlHeaderCell(sal_Int32 _nCol
The count of visible children.
*/
sal_Int32 SAL_CALL AccessibleGridControlHeaderCell::getAccessibleChildCount()
- throw ( RuntimeException, std::exception )
{
return 0;
}
@@ -82,7 +81,6 @@ sal_Int32 SAL_CALL AccessibleGridControlHeaderCell::getAccessibleChildCount()
The XAccessible interface of the specified child.
*/
Reference<XAccessible > SAL_CALL AccessibleGridControlHeaderCell::getAccessibleChild( sal_Int32 )
- throw ( IndexOutOfBoundsException,RuntimeException, std::exception )
{
throw IndexOutOfBoundsException();
}
@@ -90,7 +88,6 @@ Reference<XAccessible > SAL_CALL AccessibleGridControlHeaderCell::getAccessibleC
/** Queries for a new interface. */
css::uno::Any SAL_CALL AccessibleGridControlHeaderCell::queryInterface( const css::uno::Type& rType )
- throw ( css::uno::RuntimeException, std::exception )
{
Any aRet = AccessibleGridControlCell::queryInterface(rType);
return aRet;
@@ -108,7 +105,7 @@ Reference<XAccessible > SAL_CALL AccessibleGridControlHeaderCell::getAccessibleC
AccessibleGridControlCell::release();
}
/** @return The XAccessibleContext interface of this object. */
- Reference< css::accessibility::XAccessibleContext > SAL_CALL AccessibleGridControlHeaderCell::getAccessibleContext() throw ( RuntimeException, std::exception )
+ Reference< css::accessibility::XAccessibleContext > SAL_CALL AccessibleGridControlHeaderCell::getAccessibleContext()
{
ensureIsAlive();
return this;
@@ -117,7 +114,6 @@ Reference<XAccessible > SAL_CALL AccessibleGridControlHeaderCell::getAccessibleC
/** Grabs the focus to the column header. */
void SAL_CALL AccessibleGridControlHeaderCell::grabFocus()
- throw ( css::uno::RuntimeException, std::exception )
{
}
@@ -125,7 +121,6 @@ void SAL_CALL AccessibleGridControlHeaderCell::grabFocus()
The name of this class.
*/
OUString SAL_CALL AccessibleGridControlHeaderCell::getImplementationName()
- throw ( css::uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.accessibility.AccessibleGridControlHeaderCell" );
}
@@ -157,7 +152,6 @@ Rectangle AccessibleGridControlHeaderCell::implGetBoundingBoxOnScreen()
}
sal_Int32 SAL_CALL AccessibleGridControlHeaderCell::getAccessibleIndexInParent()
- throw ( RuntimeException, std::exception )
{
SolarMutexGuard g;
diff --git a/accessibility/source/extended/AccessibleGridControlTable.cxx b/accessibility/source/extended/AccessibleGridControlTable.cxx
index 38a04749c0ec..68262003f0f9 100644
--- a/accessibility/source/extended/AccessibleGridControlTable.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTable.cxx
@@ -52,7 +52,6 @@ AccessibleGridControlTable::~AccessibleGridControlTable()
Reference< XAccessible > SAL_CALL
AccessibleGridControlTable::getAccessibleChild( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -74,7 +73,6 @@ AccessibleGridControlTable::getAccessibleChild( sal_Int32 nChildIndex )
}
sal_Int32 SAL_CALL AccessibleGridControlTable::getAccessibleIndexInParent()
- throw ( uno::RuntimeException, std::exception )
{
ensureIsAlive();
if(m_aTable.HasRowHeader() && m_aTable.HasColHeader())
@@ -89,7 +87,6 @@ sal_Int32 SAL_CALL AccessibleGridControlTable::getAccessibleIndexInParent()
Reference< XAccessible > SAL_CALL
AccessibleGridControlTable::getAccessibleAtPoint( const awt::Point& rPoint )
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -104,7 +101,6 @@ AccessibleGridControlTable::getAccessibleAtPoint( const awt::Point& rPoint )
}
void SAL_CALL AccessibleGridControlTable::grabFocus()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -115,7 +111,6 @@ void SAL_CALL AccessibleGridControlTable::grabFocus()
// XAccessibleTable -----------------------------------------------------------
OUString SAL_CALL AccessibleGridControlTable::getAccessibleRowDescription( sal_Int32 nRow )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -125,7 +120,6 @@ OUString SAL_CALL AccessibleGridControlTable::getAccessibleRowDescription( sal_I
}
OUString SAL_CALL AccessibleGridControlTable::getAccessibleColumnDescription( sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -135,7 +129,6 @@ OUString SAL_CALL AccessibleGridControlTable::getAccessibleColumnDescription( sa
}
Reference< XAccessibleTable > SAL_CALL AccessibleGridControlTable::getAccessibleRowHeaders()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -147,7 +140,6 @@ Reference< XAccessibleTable > SAL_CALL AccessibleGridControlTable::getAccessible
}
Reference< XAccessibleTable > SAL_CALL AccessibleGridControlTable::getAccessibleColumnHeaders()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -156,7 +148,6 @@ Reference< XAccessibleTable > SAL_CALL AccessibleGridControlTable::getAccessible
}
Sequence< sal_Int32 > SAL_CALL AccessibleGridControlTable::getSelectedAccessibleRows()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -168,14 +159,12 @@ Sequence< sal_Int32 > SAL_CALL AccessibleGridControlTable::getSelectedAccessible
//columns aren't selectable
Sequence< sal_Int32 > SAL_CALL AccessibleGridControlTable::getSelectedAccessibleColumns()
- throw ( uno::RuntimeException, std::exception )
{
Sequence< sal_Int32 > aSelSeq(0);
return aSelSeq;
}
sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleRowSelected( sal_Int32 nRow )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -196,7 +185,6 @@ sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleRowSelected( sal_Int32
//columns aren't selectable
sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleColumnSelected( sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
(void) nColumn;
return false;
@@ -204,7 +192,6 @@ sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleColumnSelected( sal_In
Reference< XAccessible > SAL_CALL AccessibleGridControlTable::getAccessibleCellAt(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -228,7 +215,6 @@ Reference< XAccessible > SAL_CALL AccessibleGridControlTable::getAccessibleCellA
sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleSelected(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -239,7 +225,6 @@ sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleSelected(
return isAccessibleRowSelected(nRow);
}
void SAL_CALL AccessibleGridControlTable::selectAccessibleChild( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -250,7 +235,6 @@ void SAL_CALL AccessibleGridControlTable::selectAccessibleChild( sal_Int32 nChil
m_aTable.SelectRow( nRow, true );
}
sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleChildSelected( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -261,7 +245,6 @@ sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleChildSelected( sal_Int
return isAccessibleRowSelected(nRow);
}
void SAL_CALL AccessibleGridControlTable::clearAccessibleSelection()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -269,7 +252,6 @@ void SAL_CALL AccessibleGridControlTable::clearAccessibleSelection()
m_aTable.SelectAllRows( false );
}
void SAL_CALL AccessibleGridControlTable::selectAllAccessibleChildren()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -279,7 +261,6 @@ void SAL_CALL AccessibleGridControlTable::selectAllAccessibleChildren()
selectedRows[i]=i;
}
sal_Int32 SAL_CALL AccessibleGridControlTable::getSelectedAccessibleChildCount()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -290,7 +271,6 @@ sal_Int32 SAL_CALL AccessibleGridControlTable::getSelectedAccessibleChildCount()
}
Reference< XAccessible > SAL_CALL
AccessibleGridControlTable::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -303,7 +283,6 @@ AccessibleGridControlTable::getSelectedAccessibleChild( sal_Int32 nSelectedChild
//not implemented yet, because only row selection possible
void SAL_CALL AccessibleGridControlTable::deselectAccessibleChild(
sal_Int32 nSelectedChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -313,7 +292,6 @@ void SAL_CALL AccessibleGridControlTable::deselectAccessibleChild(
// XInterface -----------------------------------------------------------------
Any SAL_CALL AccessibleGridControlTable::queryInterface( const uno::Type& rType )
- throw ( uno::RuntimeException, std::exception )
{
Any aAny( AccessibleGridControlTableBase::queryInterface( rType ) );
return aAny.hasValue() ?
@@ -332,7 +310,6 @@ void SAL_CALL AccessibleGridControlTable::release() throw ()
// XServiceInfo ---------------------------------------------------------------
OUString SAL_CALL AccessibleGridControlTable::getImplementationName()
- throw ( uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.accessibility.AccessibleGridControlTable" );
}
@@ -367,7 +344,6 @@ Rectangle AccessibleGridControlTable::implGetBoundingBoxOnScreen()
// internal helper methods ----------------------------------------------------
Reference< XAccessibleTable > AccessibleGridControlTable::implGetHeaderBar(
sal_Int32 nChildIndex )
- throw ( uno::RuntimeException )
{
Reference< XAccessible > xRet;
Reference< XAccessibleContext > xContext( m_xParent, uno::UNO_QUERY );
diff --git a/accessibility/source/extended/AccessibleGridControlTableBase.cxx b/accessibility/source/extended/AccessibleGridControlTableBase.cxx
index 0a3e09008f6f..acf58c091cd9 100644
--- a/accessibility/source/extended/AccessibleGridControlTableBase.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTableBase.cxx
@@ -52,7 +52,6 @@ AccessibleGridControlTableBase::~AccessibleGridControlTableBase()
// XAccessibleContext ---------------------------------------------------------
sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleChildCount()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -68,7 +67,6 @@ sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleChildCount()
}
sal_Int16 SAL_CALL AccessibleGridControlTableBase::getAccessibleRole()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -79,7 +77,6 @@ sal_Int16 SAL_CALL AccessibleGridControlTableBase::getAccessibleRole()
// XAccessibleTable -----------------------------------------------------------
sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleRowCount()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -88,7 +85,6 @@ sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleRowCount()
}
sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleColumnCount()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -98,7 +94,6 @@ sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleColumnCount()
sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleRowExtentAt(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -109,7 +104,6 @@ sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleRowExtentAt(
sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleColumnExtentAt(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -119,7 +113,6 @@ sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleColumnExtentAt(
}
Reference< XAccessible > SAL_CALL AccessibleGridControlTableBase::getAccessibleCaption()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -128,7 +121,6 @@ Reference< XAccessible > SAL_CALL AccessibleGridControlTableBase::getAccessibleC
}
Reference< XAccessible > SAL_CALL AccessibleGridControlTableBase::getAccessibleSummary()
- throw ( uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -138,7 +130,6 @@ Reference< XAccessible > SAL_CALL AccessibleGridControlTableBase::getAccessibleS
sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleIndex(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -148,7 +139,6 @@ sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleIndex(
}
sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleRow( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -158,7 +148,6 @@ sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleRow( sal_Int32 n
}
sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleColumn( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -170,7 +159,6 @@ sal_Int32 SAL_CALL AccessibleGridControlTableBase::getAccessibleColumn( sal_Int3
// XInterface -----------------------------------------------------------------
Any SAL_CALL AccessibleGridControlTableBase::queryInterface( const uno::Type& rType )
- throw ( uno::RuntimeException, std::exception )
{
Any aAny( GridControlAccessibleElement::queryInterface( rType ) );
return aAny.hasValue() ?
@@ -190,7 +178,6 @@ void SAL_CALL AccessibleGridControlTableBase::release() throw ()
// XTypeProvider --------------------------------------------------------------
Sequence< uno::Type > SAL_CALL AccessibleGridControlTableBase::getTypes()
- throw ( uno::RuntimeException, std::exception )
{
return ::comphelper::concatSequences(
GridControlAccessibleElement::getTypes(),
@@ -198,7 +185,6 @@ Sequence< uno::Type > SAL_CALL AccessibleGridControlTableBase::getTypes()
}
Sequence< sal_Int8 > SAL_CALL AccessibleGridControlTableBase::getImplementationId()
- throw ( uno::RuntimeException, std::exception )
{
return css::uno::Sequence<sal_Int8>();
}
@@ -226,7 +212,6 @@ void AccessibleGridControlTableBase::implGetSelectedRows( Sequence< sal_Int32 >&
}
void AccessibleGridControlTableBase::ensureIsValidRow( sal_Int32 nRow )
- throw ( lang::IndexOutOfBoundsException )
{
if( nRow >= m_aTable.GetRowCount() )
throw lang::IndexOutOfBoundsException(
@@ -234,7 +219,6 @@ void AccessibleGridControlTableBase::ensureIsValidRow( sal_Int32 nRow )
}
void AccessibleGridControlTableBase::ensureIsValidColumn( sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException )
{
if( nColumn >= m_aTable.GetColumnCount() )
throw lang::IndexOutOfBoundsException(
@@ -243,14 +227,12 @@ void AccessibleGridControlTableBase::ensureIsValidColumn( sal_Int32 nColumn )
void AccessibleGridControlTableBase::ensureIsValidAddress(
sal_Int32 nRow, sal_Int32 nColumn )
- throw ( lang::IndexOutOfBoundsException )
{
ensureIsValidRow( nRow );
ensureIsValidColumn( nColumn );
}
void AccessibleGridControlTableBase::ensureIsValidIndex( sal_Int32 nChildIndex )
- throw ( lang::IndexOutOfBoundsException )
{
if( nChildIndex >= m_aTable.GetRowCount()*m_aTable.GetColumnCount() )
throw lang::IndexOutOfBoundsException(
diff --git a/accessibility/source/extended/AccessibleGridControlTableCell.cxx b/accessibility/source/extended/AccessibleGridControlTableCell.cxx
index 016eea27fc5b..55378092f535 100644
--- a/accessibility/source/extended/AccessibleGridControlTableCell.cxx
+++ b/accessibility/source/extended/AccessibleGridControlTableCell.cxx
@@ -31,7 +31,7 @@ namespace accessibility
// FIXME this is a copy'n'paste from
// source/extended/AccessibleBrowseBoxTableCell.cxx, get rid of that...
/// @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 >= _sText.getLength() )
throw css::lang::IndexOutOfBoundsException();
@@ -75,7 +75,7 @@ namespace accessibility
}
- void SAL_CALL AccessibleGridControlCell::grabFocus() throw ( RuntimeException, std::exception )
+ void SAL_CALL AccessibleGridControlCell::grabFocus()
{
SolarMutexGuard aSolarGuard;
@@ -114,7 +114,6 @@ namespace accessibility
/** Queries for a new interface. */
css::uno::Any SAL_CALL AccessibleGridControlTableCell::queryInterface(
const css::uno::Type& rType )
- throw ( css::uno::RuntimeException, std::exception )
{
Any aRet = AccessibleGridControlCell::queryInterface(rType);
if ( !aRet.hasValue() )
@@ -134,7 +133,7 @@ namespace accessibility
AccessibleGridControlCell::release();
}
- css::awt::Rectangle SAL_CALL AccessibleGridControlTableCell::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ css::awt::Rectangle SAL_CALL AccessibleGridControlTableCell::getCharacterBounds( sal_Int32 nIndex )
{
SolarMutexGuard aSolarGuard;
@@ -145,7 +144,7 @@ namespace accessibility
return AWTRectangle( m_aTable.GetFieldCharacterBounds( getRowPos(), getColumnPos(), nIndex ) );
}
- sal_Int32 SAL_CALL AccessibleGridControlTableCell::getIndexAtPoint( const css::awt::Point& _aPoint ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleGridControlTableCell::getIndexAtPoint( const css::awt::Point& _aPoint )
{
SolarMutexGuard aSolarGuard;
@@ -158,22 +157,18 @@ namespace accessibility
The name of this class.
*/
OUString SAL_CALL AccessibleGridControlTableCell::getImplementationName()
- throw ( css::uno::RuntimeException, std::exception )
{
return OUString( "com.sun.star.accessibility.AccessibleGridControlTableCell" );
}
/** @return The count of visible children. */
sal_Int32 SAL_CALL AccessibleGridControlTableCell::getAccessibleChildCount()
- throw ( css::uno::RuntimeException, std::exception )
{
return 0;
}
/** @return The css::accessibility::XAccessible interface of the specified child. */
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL AccessibleGridControlTableCell::getAccessibleChild( sal_Int32 )
- throw ( css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception )
{
throw css::lang::IndexOutOfBoundsException();
}
@@ -205,7 +200,7 @@ namespace accessibility
// css::accessibility::XAccessible
/** @return The css::accessibility::XAccessibleContext interface of this object. */
- css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL AccessibleGridControlTableCell::getAccessibleContext() throw ( RuntimeException, std::exception )
+ css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL AccessibleGridControlTableCell::getAccessibleContext()
{
SolarMutexGuard g;
@@ -216,7 +211,6 @@ namespace accessibility
// css::accessibility::XAccessibleContext
sal_Int32 SAL_CALL AccessibleGridControlTableCell::getAccessibleIndexInParent()
- throw ( css::uno::RuntimeException, std::exception )
{
SolarMutexGuard aSolarGuard;
@@ -225,11 +219,11 @@ namespace accessibility
return ( getRowPos() * m_aTable.GetColumnCount() ) + getColumnPos();
}
- sal_Int32 SAL_CALL AccessibleGridControlTableCell::getCaretPosition( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleGridControlTableCell::getCaretPosition( )
{
return -1;
}
- sal_Bool SAL_CALL AccessibleGridControlTableCell::setCaretPosition ( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleGridControlTableCell::setCaretPosition ( sal_Int32 nIndex )
{
SolarMutexGuard aSolarGuard;
@@ -238,13 +232,13 @@ namespace accessibility
return false;
}
- sal_Unicode SAL_CALL AccessibleGridControlTableCell::getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Unicode SAL_CALL AccessibleGridControlTableCell::getCharacter( sal_Int32 nIndex )
{
SolarMutexGuard aSolarGuard;
return OCommonAccessibleText::getCharacter( nIndex );
}
- css::uno::Sequence< css::beans::PropertyValue > SAL_CALL AccessibleGridControlTableCell::getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ css::uno::Sequence< css::beans::PropertyValue > SAL_CALL AccessibleGridControlTableCell::getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& )
{
SolarMutexGuard aSolarGuard;
@@ -255,32 +249,32 @@ namespace accessibility
return css::uno::Sequence< css::beans::PropertyValue >();
}
- sal_Int32 SAL_CALL AccessibleGridControlTableCell::getCharacterCount( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleGridControlTableCell::getCharacterCount( )
{
SolarMutexGuard aSolarGuard;
return OCommonAccessibleText::getCharacterCount( );
}
- OUString SAL_CALL AccessibleGridControlTableCell::getSelectedText( ) throw (css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleGridControlTableCell::getSelectedText( )
{
SolarMutexGuard aSolarGuard;
return OCommonAccessibleText::getSelectedText( );
}
- sal_Int32 SAL_CALL AccessibleGridControlTableCell::getSelectionStart( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleGridControlTableCell::getSelectionStart( )
{
SolarMutexGuard aSolarGuard;
return OCommonAccessibleText::getSelectionStart( );
}
- sal_Int32 SAL_CALL AccessibleGridControlTableCell::getSelectionEnd( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleGridControlTableCell::getSelectionEnd( )
{
SolarMutexGuard aSolarGuard;
return OCommonAccessibleText::getSelectionEnd( );
}
- sal_Bool SAL_CALL AccessibleGridControlTableCell::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleGridControlTableCell::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{
SolarMutexGuard aSolarGuard;
@@ -289,37 +283,37 @@ namespace accessibility
return false;
}
- OUString SAL_CALL AccessibleGridControlTableCell::getText( ) throw (css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleGridControlTableCell::getText( )
{
SolarMutexGuard aSolarGuard;
return OCommonAccessibleText::getText( );
}
- OUString SAL_CALL AccessibleGridControlTableCell::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleGridControlTableCell::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{
SolarMutexGuard aSolarGuard;
return OCommonAccessibleText::getTextRange( nStartIndex, nEndIndex );
}
- css::accessibility::TextSegment SAL_CALL AccessibleGridControlTableCell::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+ css::accessibility::TextSegment SAL_CALL AccessibleGridControlTableCell::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
SolarMutexGuard aSolarGuard;
return OCommonAccessibleText::getTextAtIndex( nIndex ,aTextType);
}
- css::accessibility::TextSegment SAL_CALL AccessibleGridControlTableCell::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+ css::accessibility::TextSegment SAL_CALL AccessibleGridControlTableCell::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
SolarMutexGuard aSolarGuard;
return OCommonAccessibleText::getTextBeforeIndex( nIndex ,aTextType);
}
- css::accessibility::TextSegment SAL_CALL AccessibleGridControlTableCell::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+ css::accessibility::TextSegment SAL_CALL AccessibleGridControlTableCell::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
SolarMutexGuard aSolarGuard;
return OCommonAccessibleText::getTextBehindIndex( nIndex ,aTextType);
}
- sal_Bool SAL_CALL AccessibleGridControlTableCell::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleGridControlTableCell::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{
SolarMutexGuard aSolarGuard;
diff --git a/accessibility/source/extended/accessiblebrowseboxcell.cxx b/accessibility/source/extended/accessiblebrowseboxcell.cxx
index 576f00816192..099dde455ee7 100644
--- a/accessibility/source/extended/accessiblebrowseboxcell.cxx
+++ b/accessibility/source/extended/accessiblebrowseboxcell.cxx
@@ -48,7 +48,7 @@ namespace accessibility
{
}
- void SAL_CALL AccessibleBrowseBoxCell::grabFocus() throw ( RuntimeException, std::exception )
+ void SAL_CALL AccessibleBrowseBoxCell::grabFocus()
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
diff --git a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
index 2ce764c93ee2..acb2935f3d8a 100644
--- a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
+++ b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx
@@ -58,7 +58,7 @@ namespace accessibility
}
}
- OUString SAL_CALL EditBrowseBoxTableCell::getImplementationName() throw ( css::uno::RuntimeException, std::exception )
+ OUString SAL_CALL EditBrowseBoxTableCell::getImplementationName()
{
return OUString( "com.sun.star.comp.svtools.TableCellProxy" );
}
@@ -67,13 +67,13 @@ namespace accessibility
IMPLEMENT_FORWARD_XTYPEPROVIDER2( EditBrowseBoxTableCell, AccessibleBrowseBoxCell, OAccessibleContextWrapperHelper )
- void EditBrowseBoxTableCell::notifyTranslatedEvent( const AccessibleEventObject& _rEvent ) throw (RuntimeException)
+ void EditBrowseBoxTableCell::notifyTranslatedEvent( const AccessibleEventObject& _rEvent )
{
commitEvent( _rEvent.EventId, _rEvent.NewValue, _rEvent.OldValue );
}
// css::accessibility::XAccessibleComponent
- sal_Int32 SAL_CALL EditBrowseBoxTableCell::getForeground( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL EditBrowseBoxTableCell::getForeground( )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -84,7 +84,7 @@ namespace accessibility
return 0;
}
- sal_Int32 SAL_CALL EditBrowseBoxTableCell::getBackground( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL EditBrowseBoxTableCell::getBackground( )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -95,12 +95,12 @@ namespace accessibility
return 0;
}
- css::uno::Reference< css::accessibility::XAccessible > SAL_CALL EditBrowseBoxTableCell::getAccessibleParent( ) throw (RuntimeException, std::exception)
+ css::uno::Reference< css::accessibility::XAccessible > SAL_CALL EditBrowseBoxTableCell::getAccessibleParent( )
{
return m_xParentAccessible;
}
- OUString SAL_CALL EditBrowseBoxTableCell::getAccessibleDescription() throw ( RuntimeException, std::exception )
+ OUString SAL_CALL EditBrowseBoxTableCell::getAccessibleDescription()
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -108,7 +108,7 @@ namespace accessibility
return m_xInnerContext->getAccessibleDescription();
}
- OUString SAL_CALL EditBrowseBoxTableCell::getAccessibleName() throw ( RuntimeException, std::exception )
+ OUString SAL_CALL EditBrowseBoxTableCell::getAccessibleName()
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -117,7 +117,7 @@ namespace accessibility
+ TK_RES_STRING(RID_STR_ACC_ROW_NUM).replaceAll("%ROWNUMBER", OUString::number(getRowPos()));
}
- css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL EditBrowseBoxTableCell::getAccessibleRelationSet() throw ( RuntimeException, std::exception )
+ css::uno::Reference< css::accessibility::XAccessibleRelationSet > SAL_CALL EditBrowseBoxTableCell::getAccessibleRelationSet()
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -125,7 +125,7 @@ namespace accessibility
return baseGetAccessibleRelationSet( );
}
- css::uno::Reference<css::accessibility::XAccessibleStateSet > SAL_CALL EditBrowseBoxTableCell::getAccessibleStateSet() throw ( RuntimeException, std::exception )
+ css::uno::Reference<css::accessibility::XAccessibleStateSet > SAL_CALL EditBrowseBoxTableCell::getAccessibleStateSet()
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -134,7 +134,7 @@ namespace accessibility
// TODO: shouldn't we add an ACTIVE here? Isn't the EditBrowseBoxTableCell always ACTIVE?
}
- sal_Int32 SAL_CALL EditBrowseBoxTableCell::getAccessibleChildCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL EditBrowseBoxTableCell::getAccessibleChildCount( )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -142,7 +142,7 @@ namespace accessibility
return baseGetAccessibleChildCount();
}
- css::uno::Reference< css::accessibility::XAccessible > SAL_CALL EditBrowseBoxTableCell::getAccessibleChild( sal_Int32 i ) throw (css::lang::IndexOutOfBoundsException, RuntimeException, std::exception)
+ css::uno::Reference< css::accessibility::XAccessible > SAL_CALL EditBrowseBoxTableCell::getAccessibleChild( sal_Int32 i )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -150,7 +150,7 @@ namespace accessibility
return baseGetAccessibleChild( i );
}
- sal_Int16 SAL_CALL EditBrowseBoxTableCell::getAccessibleRole() throw ( RuntimeException, std::exception )
+ sal_Int16 SAL_CALL EditBrowseBoxTableCell::getAccessibleRole()
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
@@ -158,7 +158,7 @@ namespace accessibility
return m_xInnerContext->getAccessibleRole( );
}
- void SAL_CALL EditBrowseBoxTableCell::dispose() throw( RuntimeException, std::exception )
+ void SAL_CALL EditBrowseBoxTableCell::dispose()
{
// simply disambiguate. Note that the OComponentHelper base in AccessibleBrowseBoxCell
// will call our "disposing()", which will call "dispose()" on the OAccessibleContextWrapperHelper
@@ -166,7 +166,7 @@ namespace accessibility
AccessibleBrowseBoxCell::dispose();
}
- void SAL_CALL EditBrowseBoxTableCell::disposing( const css::lang::EventObject& _rSource ) throw (RuntimeException, std::exception)
+ void SAL_CALL EditBrowseBoxTableCell::disposing( const css::lang::EventObject& _rSource )
{
AccessibleBrowseBoxCell::disposing( _rSource );
OAccessibleContextWrapperHelper::disposing( _rSource );
@@ -200,7 +200,7 @@ namespace accessibility
{
}
- css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL EditBrowseBoxTableCellAccess::getAccessibleContext( ) throw (RuntimeException, std::exception)
+ css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL EditBrowseBoxTableCellAccess::getAccessibleContext( )
{
if ( !m_pBrowseBox || !m_xControlAccessible.is() )
throw DisposedException();
diff --git a/accessibility/source/extended/accessibleiconchoicectrl.cxx b/accessibility/source/extended/accessibleiconchoicectrl.cxx
index 21c4a4a7889d..901adda5ce18 100644
--- a/accessibility/source/extended/accessibleiconchoicectrl.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrl.cxx
@@ -127,26 +127,26 @@ namespace accessibility
// XServiceInfo
- OUString SAL_CALL AccessibleIconChoiceCtrl::getImplementationName() throw (RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleIconChoiceCtrl::getImplementationName()
{
return OUString( "com.sun.star.comp.svtools.AccessibleIconChoiceControl" );
}
- Sequence< OUString > SAL_CALL AccessibleIconChoiceCtrl::getSupportedServiceNames() throw (RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL AccessibleIconChoiceCtrl::getSupportedServiceNames()
{
return {"com.sun.star.accessibility.AccessibleContext",
"com.sun.star.accessibility.AccessibleComponent",
"com.sun.star.awt.AccessibleIconChoiceControl"};
}
- sal_Bool SAL_CALL AccessibleIconChoiceCtrl::supportsService( const OUString& _rServiceName ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleIconChoiceCtrl::supportsService( const OUString& _rServiceName )
{
return cppu::supportsService(this, _rServiceName);
}
// XAccessible
- Reference< XAccessibleContext > SAL_CALL AccessibleIconChoiceCtrl::getAccessibleContext( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleContext > SAL_CALL AccessibleIconChoiceCtrl::getAccessibleContext( )
{
ensureAlive();
return this;
@@ -154,7 +154,7 @@ namespace accessibility
// XAccessibleContext
- sal_Int32 SAL_CALL AccessibleIconChoiceCtrl::getAccessibleChildCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleIconChoiceCtrl::getAccessibleChildCount( )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -162,7 +162,7 @@ namespace accessibility
return getCtrl()->GetEntryCount();
}
- Reference< XAccessible > SAL_CALL AccessibleIconChoiceCtrl::getAccessibleChild( sal_Int32 i ) throw (RuntimeException, IndexOutOfBoundsException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleIconChoiceCtrl::getAccessibleChild( sal_Int32 i )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -175,7 +175,7 @@ namespace accessibility
return new AccessibleIconChoiceCtrlEntry( *pCtrl, i, this );
}
- Reference< XAccessible > SAL_CALL AccessibleIconChoiceCtrl::getAccessibleParent( ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleIconChoiceCtrl::getAccessibleParent( )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -183,13 +183,13 @@ namespace accessibility
return m_xParent;
}
- sal_Int16 SAL_CALL AccessibleIconChoiceCtrl::getAccessibleRole( ) throw (RuntimeException, std::exception)
+ sal_Int16 SAL_CALL AccessibleIconChoiceCtrl::getAccessibleRole( )
{
//return AccessibleRole::TREE;
return AccessibleRole::LIST;
}
- OUString SAL_CALL AccessibleIconChoiceCtrl::getAccessibleDescription( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleIconChoiceCtrl::getAccessibleDescription( )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -197,7 +197,7 @@ namespace accessibility
return getCtrl()->GetAccessibleDescription();
}
- OUString SAL_CALL AccessibleIconChoiceCtrl::getAccessibleName( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleIconChoiceCtrl::getAccessibleName( )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -211,7 +211,7 @@ namespace accessibility
// XAccessibleSelection
- void SAL_CALL AccessibleIconChoiceCtrl::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL AccessibleIconChoiceCtrl::selectAccessibleChild( sal_Int32 nChildIndex )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -225,7 +225,7 @@ namespace accessibility
pCtrl->SetCursor( pEntry );
}
- sal_Bool SAL_CALL AccessibleIconChoiceCtrl::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleIconChoiceCtrl::isAccessibleChildSelected( sal_Int32 nChildIndex )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -239,7 +239,7 @@ namespace accessibility
return ( pCtrl->GetCursor() == pEntry );
}
- void SAL_CALL AccessibleIconChoiceCtrl::clearAccessibleSelection( ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleIconChoiceCtrl::clearAccessibleSelection( )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -247,7 +247,7 @@ namespace accessibility
getCtrl()->SetNoSelection();
}
- void SAL_CALL AccessibleIconChoiceCtrl::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleIconChoiceCtrl::selectAllAccessibleChildren( )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -263,7 +263,7 @@ namespace accessibility
}
}
- sal_Int32 SAL_CALL AccessibleIconChoiceCtrl::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleIconChoiceCtrl::getSelectedAccessibleChildCount( )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -282,7 +282,7 @@ namespace accessibility
return nSelCount;
}
- Reference< XAccessible > SAL_CALL AccessibleIconChoiceCtrl::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleIconChoiceCtrl::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -311,7 +311,7 @@ namespace accessibility
return xChild;
}
- void SAL_CALL AccessibleIconChoiceCtrl::deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL AccessibleIconChoiceCtrl::deselectAccessibleChild( sal_Int32 nSelectedChildIndex )
{
::comphelper::OExternalLockGuard aGuard( this );
diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
index ba08bff38279..05d03deccc4f 100644
--- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
@@ -43,7 +43,7 @@
namespace
{
/// @throws css::lang::IndexOutOfBoundsException
- void checkActionIndex_Impl( sal_Int32 _nIndex ) throw (css::lang::IndexOutOfBoundsException)
+ void checkActionIndex_Impl( sal_Int32 _nIndex )
{
if ( _nIndex < 0 || _nIndex >= ACCESSIBLE_ACTION_COUNT )
// only three actions
@@ -87,7 +87,6 @@ namespace accessibility
}
void AccessibleIconChoiceCtrlEntry::disposing( const css::lang::EventObject& _rSource )
-throw(RuntimeException, std::exception)
{
if ( _rSource.Source == m_xParent )
{
@@ -152,7 +151,6 @@ throw(RuntimeException, std::exception)
}
Rectangle AccessibleIconChoiceCtrlEntry::GetBoundingBox()
- throw (lang::DisposedException, uno::RuntimeException)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -162,7 +160,6 @@ throw(RuntimeException, std::exception)
}
Rectangle AccessibleIconChoiceCtrlEntry::GetBoundingBoxOnScreen()
- throw (lang::DisposedException, uno::RuntimeException)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -171,7 +168,7 @@ throw(RuntimeException, std::exception)
return GetBoundingBoxOnScreen_Impl();
}
- void AccessibleIconChoiceCtrlEntry::EnsureIsAlive() const throw ( lang::DisposedException )
+ void AccessibleIconChoiceCtrlEntry::EnsureIsAlive() const
{
if ( !IsAlive_Impl() )
throw lang::DisposedException();
@@ -202,7 +199,7 @@ throw(RuntimeException, std::exception)
// XTypeProvider
- Sequence< sal_Int8 > AccessibleIconChoiceCtrlEntry::getImplementationId() throw (RuntimeException, std::exception)
+ Sequence< sal_Int8 > AccessibleIconChoiceCtrlEntry::getImplementationId()
{
return css::uno::Sequence<sal_Int8>();
}
@@ -231,26 +228,26 @@ throw(RuntimeException, std::exception)
// XServiceInfo
- OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getImplementationName() throw(RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getImplementationName()
{
return OUString( "com.sun.star.comp.svtools.AccessibleIconChoiceControlEntry" );
}
- Sequence< OUString > SAL_CALL AccessibleIconChoiceCtrlEntry::getSupportedServiceNames() throw(RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL AccessibleIconChoiceCtrlEntry::getSupportedServiceNames()
{
return {"com.sun.star.accessibility.AccessibleContext",
"com.sun.star.accessibility.AccessibleComponent",
"com.sun.star.awt.AccessibleIconChoiceControlEntry"};
}
- sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::supportsService( const OUString& _rServiceName ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::supportsService( const OUString& _rServiceName )
{
return cppu::supportsService(this, _rServiceName);
}
// XAccessible
- Reference< XAccessibleContext > SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleContext( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleContext > SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleContext( )
{
EnsureIsAlive();
return this;
@@ -258,17 +255,17 @@ throw(RuntimeException, std::exception)
// XAccessibleContext
- sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleChildCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleChildCount( )
{
return 0; // no children
}
- Reference< XAccessible > SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleChild( sal_Int32 ) throw (IndexOutOfBoundsException,RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleChild( sal_Int32 )
{
throw IndexOutOfBoundsException();
}
- Reference< XAccessible > SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleParent( ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleParent( )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -276,26 +273,26 @@ throw(RuntimeException, std::exception)
return m_xParent;
}
- sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleIndexInParent( )
{
::osl::MutexGuard aGuard( m_aMutex );
return m_nIndex;
}
- sal_Int16 SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleRole( ) throw (RuntimeException, std::exception)
+ sal_Int16 SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleRole( )
{
//return AccessibleRole::LABEL;
return AccessibleRole::LIST_ITEM;
}
- OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleDescription( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleDescription( )
{
// no description for every item
return OUString();
}
- OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleName( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleName( )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -303,12 +300,12 @@ throw(RuntimeException, std::exception)
return implGetText();
}
- Reference< XAccessibleRelationSet > SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleRelationSet( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleRelationSet > SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleRelationSet( )
{
return new utl::AccessibleRelationSetHelper;
}
- Reference< XAccessibleStateSet > SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleStateSet( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleStateSet > SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleStateSet( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -337,7 +334,7 @@ throw(RuntimeException, std::exception)
return xStateSet;
}
- Locale SAL_CALL AccessibleIconChoiceCtrlEntry::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception)
+ Locale SAL_CALL AccessibleIconChoiceCtrlEntry::getLocale( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -347,42 +344,42 @@ throw(RuntimeException, std::exception)
// XAccessibleComponent
- sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::containsPoint( const awt::Point& rPoint ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::containsPoint( const awt::Point& rPoint )
{
return Rectangle( Point(), GetBoundingBox().GetSize() ).IsInside( VCLPoint( rPoint ) );
}
- Reference< XAccessible > SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleAtPoint( const awt::Point& ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleAtPoint( const awt::Point& )
{
return Reference< XAccessible >();
}
- awt::Rectangle SAL_CALL AccessibleIconChoiceCtrlEntry::getBounds( ) throw (RuntimeException, std::exception)
+ awt::Rectangle SAL_CALL AccessibleIconChoiceCtrlEntry::getBounds( )
{
return AWTRectangle( GetBoundingBox() );
}
- awt::Point SAL_CALL AccessibleIconChoiceCtrlEntry::getLocation( ) throw (RuntimeException, std::exception)
+ awt::Point SAL_CALL AccessibleIconChoiceCtrlEntry::getLocation( )
{
return AWTPoint( GetBoundingBox().TopLeft() );
}
- awt::Point SAL_CALL AccessibleIconChoiceCtrlEntry::getLocationOnScreen( ) throw (RuntimeException, std::exception)
+ awt::Point SAL_CALL AccessibleIconChoiceCtrlEntry::getLocationOnScreen( )
{
return AWTPoint( GetBoundingBoxOnScreen().TopLeft() );
}
- awt::Size SAL_CALL AccessibleIconChoiceCtrlEntry::getSize( ) throw (RuntimeException, std::exception)
+ awt::Size SAL_CALL AccessibleIconChoiceCtrlEntry::getSize( )
{
return AWTSize( GetBoundingBox().GetSize() );
}
- void SAL_CALL AccessibleIconChoiceCtrlEntry::grabFocus( ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleIconChoiceCtrlEntry::grabFocus( )
{
// do nothing, because no focus for each item
}
- sal_Int32 AccessibleIconChoiceCtrlEntry::getForeground( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleIconChoiceCtrlEntry::getForeground( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -399,7 +396,7 @@ throw(RuntimeException, std::exception)
return nColor;
}
- sal_Int32 AccessibleIconChoiceCtrlEntry::getBackground( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleIconChoiceCtrlEntry::getBackground( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -419,7 +416,7 @@ throw(RuntimeException, std::exception)
// XAccessibleText
- awt::Rectangle SAL_CALL AccessibleIconChoiceCtrlEntry::getCharacterBounds( sal_Int32 _nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ awt::Rectangle SAL_CALL AccessibleIconChoiceCtrlEntry::getCharacterBounds( sal_Int32 _nIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -439,7 +436,7 @@ throw(RuntimeException, std::exception)
return aBounds;
}
- sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getIndexAtPoint( const awt::Point& aPoint )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -468,7 +465,7 @@ throw(RuntimeException, std::exception)
return nIndex;
}
- sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -486,7 +483,7 @@ throw(RuntimeException, std::exception)
// XAccessibleEventBroadcaster
- void SAL_CALL AccessibleIconChoiceCtrlEntry::addAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleIconChoiceCtrlEntry::addAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener )
{
if (xListener.is())
{
@@ -497,7 +494,7 @@ throw(RuntimeException, std::exception)
}
}
- void SAL_CALL AccessibleIconChoiceCtrlEntry::removeAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleIconChoiceCtrlEntry::removeAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener )
{
if (xListener.is())
{
@@ -517,11 +514,11 @@ throw(RuntimeException, std::exception)
}
}
- sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getCaretPosition( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getCaretPosition( )
{
return -1;
}
- sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::setCaretPosition ( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::setCaretPosition ( sal_Int32 nIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -532,14 +529,14 @@ throw(RuntimeException, std::exception)
return false;
}
- sal_Unicode SAL_CALL AccessibleIconChoiceCtrlEntry::getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Unicode SAL_CALL AccessibleIconChoiceCtrlEntry::getCharacter( sal_Int32 nIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getCharacter( nIndex );
}
- css::uno::Sequence< css::beans::PropertyValue > SAL_CALL AccessibleIconChoiceCtrlEntry::getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ css::uno::Sequence< css::beans::PropertyValue > SAL_CALL AccessibleIconChoiceCtrlEntry::getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -552,7 +549,7 @@ throw(RuntimeException, std::exception)
return css::uno::Sequence< css::beans::PropertyValue >();
}
- sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getCharacterCount( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getCharacterCount( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -560,28 +557,28 @@ throw(RuntimeException, std::exception)
return OCommonAccessibleText::getCharacterCount( );
}
- OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getSelectedText( ) throw (css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getSelectedText( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getSelectedText( );
}
- sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getSelectionStart( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getSelectionStart( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getSelectionStart( );
}
- sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getSelectionEnd( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getSelectionEnd( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getSelectionEnd( );
}
- sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -592,35 +589,35 @@ throw(RuntimeException, std::exception)
return false;
}
- OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getText( ) throw (css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getText( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getText( );
}
- OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getTextRange( nStartIndex, nEndIndex );
}
- css::accessibility::TextSegment SAL_CALL AccessibleIconChoiceCtrlEntry::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+ css::accessibility::TextSegment SAL_CALL AccessibleIconChoiceCtrlEntry::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getTextAtIndex( nIndex ,aTextType);
}
- css::accessibility::TextSegment SAL_CALL AccessibleIconChoiceCtrlEntry::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+ css::accessibility::TextSegment SAL_CALL AccessibleIconChoiceCtrlEntry::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getTextBeforeIndex( nIndex ,aTextType);
}
- css::accessibility::TextSegment SAL_CALL AccessibleIconChoiceCtrlEntry::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+ css::accessibility::TextSegment SAL_CALL AccessibleIconChoiceCtrlEntry::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -632,7 +629,7 @@ throw(RuntimeException, std::exception)
// XAccessibleAction
- sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleActionCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleActionCount( )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -640,7 +637,7 @@ throw(RuntimeException, std::exception)
return ACCESSIBLE_ACTION_COUNT;
}
- sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::doAccessibleAction( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleIconChoiceCtrlEntry::doAccessibleAction( sal_Int32 nIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -660,7 +657,7 @@ throw(RuntimeException, std::exception)
return bRet;
}
- OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleActionDescription( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleIconChoiceCtrlEntry::getAccessibleActionDescription( sal_Int32 nIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -671,7 +668,7 @@ throw(RuntimeException, std::exception)
return OUString( "Select" );
}
- Reference< XAccessibleKeyBinding > AccessibleIconChoiceCtrlEntry::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Reference< XAccessibleKeyBinding > AccessibleIconChoiceCtrlEntry::getAccessibleActionKeyBinding( sal_Int32 nIndex )
{
::osl::MutexGuard aGuard( m_aMutex );
diff --git a/accessibility/source/extended/accessiblelistbox.cxx b/accessibility/source/extended/accessiblelistbox.cxx
index 2cb64e3814bb..b88cc9a58ec0 100644
--- a/accessibility/source/extended/accessiblelistbox.cxx
+++ b/accessibility/source/extended/accessiblelistbox.cxx
@@ -317,26 +317,26 @@ namespace accessibility
// XServiceInfo
- OUString SAL_CALL AccessibleListBox::getImplementationName() throw(RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleListBox::getImplementationName()
{
return OUString( "com.sun.star.comp.svtools.AccessibleTreeListBox" );
}
- Sequence< OUString > SAL_CALL AccessibleListBox::getSupportedServiceNames() throw(RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL AccessibleListBox::getSupportedServiceNames()
{
return {"com.sun.star.accessibility.AccessibleContext",
"com.sun.star.accessibility.AccessibleComponent",
"com.sun.star.awt.AccessibleTreeListBox"};
}
- sal_Bool SAL_CALL AccessibleListBox::supportsService( const OUString& _rServiceName ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleListBox::supportsService( const OUString& _rServiceName )
{
return cppu::supportsService(this, _rServiceName);
}
// XAccessible
- Reference< XAccessibleContext > SAL_CALL AccessibleListBox::getAccessibleContext( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleContext > SAL_CALL AccessibleListBox::getAccessibleContext( )
{
ensureAlive();
return this;
@@ -344,7 +344,7 @@ namespace accessibility
// XAccessibleContext
- sal_Int32 SAL_CALL AccessibleListBox::getAccessibleChildCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleListBox::getAccessibleChildCount( )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -358,7 +358,7 @@ namespace accessibility
return nCount;
}
- Reference< XAccessible > SAL_CALL AccessibleListBox::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException,RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleListBox::getAccessibleChild( sal_Int32 i )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -372,7 +372,7 @@ namespace accessibility
return new AccessibleListBoxEntry( *getListBox(), pEntry, nullptr );
}
- Reference< XAccessible > SAL_CALL AccessibleListBox::getAccessibleParent( ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleListBox::getAccessibleParent( )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -410,7 +410,6 @@ namespace accessibility
}
sal_Int16 SAL_CALL AccessibleListBox::getAccessibleRole()
- throw (RuntimeException, std::exception)
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -434,7 +433,7 @@ namespace accessibility
return AccessibleRole::TREE;
}
- OUString SAL_CALL AccessibleListBox::getAccessibleDescription( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleListBox::getAccessibleDescription( )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -442,7 +441,7 @@ namespace accessibility
return getListBox()->GetAccessibleDescription();
}
- OUString SAL_CALL AccessibleListBox::getAccessibleName( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleListBox::getAccessibleName( )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -452,7 +451,7 @@ namespace accessibility
// XAccessibleSelection
- void SAL_CALL AccessibleListBox::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL AccessibleListBox::selectAccessibleChild( sal_Int32 nChildIndex )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -465,7 +464,7 @@ namespace accessibility
getListBox()->Select( pEntry );
}
- sal_Bool SAL_CALL AccessibleListBox::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleListBox::isAccessibleChildSelected( sal_Int32 nChildIndex )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -478,7 +477,7 @@ namespace accessibility
return getListBox()->IsSelected( pEntry );
}
- void SAL_CALL AccessibleListBox::clearAccessibleSelection( ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleListBox::clearAccessibleSelection( )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -493,7 +492,7 @@ namespace accessibility
}
}
- void SAL_CALL AccessibleListBox::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleListBox::selectAllAccessibleChildren( )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -508,7 +507,7 @@ namespace accessibility
}
}
- sal_Int32 SAL_CALL AccessibleListBox::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleListBox::getSelectedAccessibleChildCount( )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -517,7 +516,7 @@ namespace accessibility
return getListBox()->GetSelectionCount();
}
- Reference< XAccessible > SAL_CALL AccessibleListBox::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleListBox::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex )
{
::comphelper::OExternalLockGuard aGuard( this );
@@ -547,7 +546,7 @@ namespace accessibility
return xChild;
}
- void SAL_CALL AccessibleListBox::deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL AccessibleListBox::deselectAccessibleChild( sal_Int32 nSelectedChildIndex )
{
::comphelper::OExternalLockGuard aGuard( this );
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx
index ba5500f93ca3..40431c7699b4 100644
--- a/accessibility/source/extended/accessiblelistboxentry.cxx
+++ b/accessibility/source/extended/accessiblelistboxentry.cxx
@@ -48,7 +48,7 @@
namespace
{
/// @throws css::lang::IndexOutOfBoundsException
- void checkActionIndex_Impl( sal_Int32 _nIndex ) throw (css::lang::IndexOutOfBoundsException)
+ void checkActionIndex_Impl( sal_Int32 _nIndex )
{
if ( _nIndex < 0 || _nIndex >= ACCESSIBLE_ACTION_COUNT )
// only three actions
@@ -165,7 +165,6 @@ namespace accessibility
}
Rectangle AccessibleListBoxEntry::GetBoundingBox()
- throw (lang::DisposedException, uno::RuntimeException)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -175,7 +174,6 @@ namespace accessibility
}
Rectangle AccessibleListBoxEntry::GetBoundingBoxOnScreen()
- throw (lang::DisposedException, uno::RuntimeException)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -184,7 +182,7 @@ namespace accessibility
return GetBoundingBoxOnScreen_Impl();
}
- void AccessibleListBoxEntry::EnsureIsAlive() const throw ( lang::DisposedException )
+ void AccessibleListBoxEntry::EnsureIsAlive() const
{
if ( !IsAlive_Impl() )
throw lang::DisposedException();
@@ -215,7 +213,7 @@ namespace accessibility
// XTypeProvider
- Sequence< sal_Int8 > AccessibleListBoxEntry::getImplementationId() throw (RuntimeException, std::exception)
+ Sequence< sal_Int8 > AccessibleListBoxEntry::getImplementationId()
{
return css::uno::Sequence<sal_Int8>();
}
@@ -223,7 +221,7 @@ namespace accessibility
// XComponent/ListBoxAccessibleBase
- void SAL_CALL AccessibleListBoxEntry::dispose() throw ( uno::RuntimeException, std::exception )
+ void SAL_CALL AccessibleListBoxEntry::dispose()
{
AccessibleListBoxEntry_BASE::dispose();
}
@@ -256,26 +254,26 @@ namespace accessibility
// XServiceInfo
- OUString SAL_CALL AccessibleListBoxEntry::getImplementationName() throw(RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleListBoxEntry::getImplementationName()
{
return OUString( "com.sun.star.comp.svtools.AccessibleTreeListBoxEntry" );
}
- Sequence< OUString > SAL_CALL AccessibleListBoxEntry::getSupportedServiceNames() throw(RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL AccessibleListBoxEntry::getSupportedServiceNames()
{
return {"com.sun.star.accessibility.AccessibleContext",
"com.sun.star.accessibility.AccessibleComponent",
"com.sun.star.awt.AccessibleTreeListBoxEntry"};
}
- sal_Bool SAL_CALL AccessibleListBoxEntry::supportsService( const OUString& _rServiceName ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleListBoxEntry::supportsService( const OUString& _rServiceName )
{
return cppu::supportsService(this, _rServiceName);
}
// XAccessible
- Reference< XAccessibleContext > SAL_CALL AccessibleListBoxEntry::getAccessibleContext( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleContext > SAL_CALL AccessibleListBoxEntry::getAccessibleContext( )
{
EnsureIsAlive();
return this;
@@ -283,7 +281,7 @@ namespace accessibility
// XAccessibleContext
- sal_Int32 SAL_CALL AccessibleListBoxEntry::getAccessibleChildCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleListBoxEntry::getAccessibleChildCount( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -297,7 +295,7 @@ namespace accessibility
return nCount;
}
- Reference< XAccessible > SAL_CALL AccessibleListBoxEntry::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException,RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleListBoxEntry::getAccessibleChild( sal_Int32 i )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -348,7 +346,7 @@ namespace accessibility
}
- Reference< XAccessible > SAL_CALL AccessibleListBoxEntry::getAccessibleParent( ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleListBoxEntry::getAccessibleParent( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -357,7 +355,7 @@ namespace accessibility
return implGetParentAccessible( );
}
- sal_Int32 SAL_CALL AccessibleListBoxEntry::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleListBoxEntry::getAccessibleIndexInParent( )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -394,7 +392,7 @@ namespace accessibility
return nCase;
}
- sal_Int16 SAL_CALL AccessibleListBoxEntry::getAccessibleRole( ) throw (RuntimeException, std::exception)
+ sal_Int16 SAL_CALL AccessibleListBoxEntry::getAccessibleRole( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -432,7 +430,7 @@ namespace accessibility
return AccessibleRole::UNKNOWN;
}
- OUString SAL_CALL AccessibleListBoxEntry::getAccessibleDescription( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleListBoxEntry::getAccessibleDescription( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -466,7 +464,7 @@ namespace accessibility
}
}
- OUString SAL_CALL AccessibleListBoxEntry::getAccessibleName( ) throw (RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleListBoxEntry::getAccessibleName( )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -486,7 +484,7 @@ namespace accessibility
return sRet;
}
- Reference< XAccessibleRelationSet > SAL_CALL AccessibleListBoxEntry::getAccessibleRelationSet( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleRelationSet > SAL_CALL AccessibleListBoxEntry::getAccessibleRelationSet( )
{
Reference< XAccessibleRelationSet > xRelSet;
Reference< XAccessible > xParent;
@@ -503,7 +501,7 @@ namespace accessibility
return xRelSet;
}
- Reference< XAccessibleStateSet > SAL_CALL AccessibleListBoxEntry::getAccessibleStateSet( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleStateSet > SAL_CALL AccessibleListBoxEntry::getAccessibleStateSet( )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -541,7 +539,7 @@ namespace accessibility
return xStateSet;
}
- Locale SAL_CALL AccessibleListBoxEntry::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception)
+ Locale SAL_CALL AccessibleListBoxEntry::getLocale( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -551,12 +549,12 @@ namespace accessibility
// XAccessibleComponent
- sal_Bool SAL_CALL AccessibleListBoxEntry::containsPoint( const awt::Point& rPoint ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleListBoxEntry::containsPoint( const awt::Point& rPoint )
{
return Rectangle( Point(), GetBoundingBox().GetSize() ).IsInside( VCLPoint( rPoint ) );
}
- Reference< XAccessible > SAL_CALL AccessibleListBoxEntry::getAccessibleAtPoint( const awt::Point& _aPoint ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleListBoxEntry::getAccessibleAtPoint( const awt::Point& _aPoint )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -574,32 +572,32 @@ namespace accessibility
return xAcc;
}
- awt::Rectangle SAL_CALL AccessibleListBoxEntry::getBounds( ) throw (RuntimeException, std::exception)
+ awt::Rectangle SAL_CALL AccessibleListBoxEntry::getBounds( )
{
return AWTRectangle( GetBoundingBox() );
}
- awt::Point SAL_CALL AccessibleListBoxEntry::getLocation( ) throw (RuntimeException, std::exception)
+ awt::Point SAL_CALL AccessibleListBoxEntry::getLocation( )
{
return AWTPoint( GetBoundingBox().TopLeft() );
}
- awt::Point SAL_CALL AccessibleListBoxEntry::getLocationOnScreen( ) throw (RuntimeException, std::exception)
+ awt::Point SAL_CALL AccessibleListBoxEntry::getLocationOnScreen( )
{
return AWTPoint( GetBoundingBoxOnScreen().TopLeft() );
}
- awt::Size SAL_CALL AccessibleListBoxEntry::getSize( ) throw (RuntimeException, std::exception)
+ awt::Size SAL_CALL AccessibleListBoxEntry::getSize( )
{
return AWTSize( GetBoundingBox().GetSize() );
}
- void SAL_CALL AccessibleListBoxEntry::grabFocus( ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleListBoxEntry::grabFocus( )
{
// do nothing, because no focus for each item
}
- sal_Int32 AccessibleListBoxEntry::getForeground( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleListBoxEntry::getForeground( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -616,7 +614,7 @@ namespace accessibility
return nColor;
}
- sal_Int32 AccessibleListBoxEntry::getBackground( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleListBoxEntry::getBackground( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -636,7 +634,7 @@ namespace accessibility
// XAccessibleText
- awt::Rectangle SAL_CALL AccessibleListBoxEntry::getCharacterBounds( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ awt::Rectangle SAL_CALL AccessibleListBoxEntry::getCharacterBounds( sal_Int32 nIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -661,7 +659,7 @@ namespace accessibility
return aBounds;
}
- sal_Int32 SAL_CALL AccessibleListBoxEntry::getIndexAtPoint( const awt::Point& aPoint ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleListBoxEntry::getIndexAtPoint( const awt::Point& aPoint )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -683,7 +681,7 @@ namespace accessibility
return nIndex;
}
- sal_Bool SAL_CALL AccessibleListBoxEntry::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleListBoxEntry::copyText( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -702,7 +700,7 @@ namespace accessibility
// XAccessibleEventBroadcaster
- void SAL_CALL AccessibleListBoxEntry::addAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleListBoxEntry::addAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener )
{
if (xListener.is())
{
@@ -713,7 +711,7 @@ namespace accessibility
}
}
- void SAL_CALL AccessibleListBoxEntry::removeAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleListBoxEntry::removeAccessibleEventListener( const Reference< XAccessibleEventListener >& xListener )
{
if (xListener.is())
{
@@ -736,7 +734,7 @@ namespace accessibility
// XAccessibleAction
- sal_Int32 SAL_CALL AccessibleListBoxEntry::getAccessibleActionCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleListBoxEntry::getAccessibleActionCount( )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -757,7 +755,7 @@ namespace accessibility
return 0;
}
- sal_Bool SAL_CALL AccessibleListBoxEntry::doAccessibleAction( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleListBoxEntry::doAccessibleAction( sal_Int32 nIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -795,7 +793,7 @@ namespace accessibility
return bRet;
}
- OUString SAL_CALL AccessibleListBoxEntry::getAccessibleActionDescription( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleListBoxEntry::getAccessibleActionDescription( sal_Int32 nIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -833,7 +831,7 @@ namespace accessibility
throw IndexOutOfBoundsException();
}
- Reference< XAccessibleKeyBinding > AccessibleListBoxEntry::getAccessibleActionKeyBinding( sal_Int32 nIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Reference< XAccessibleKeyBinding > AccessibleListBoxEntry::getAccessibleActionKeyBinding( sal_Int32 nIndex )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -845,7 +843,7 @@ namespace accessibility
// XAccessibleSelection
- void SAL_CALL AccessibleListBoxEntry::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL AccessibleListBoxEntry::selectAccessibleChild( sal_Int32 nChildIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -859,7 +857,7 @@ namespace accessibility
getListBox()->Select( pEntry );
}
- sal_Bool SAL_CALL AccessibleListBoxEntry::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleListBoxEntry::isAccessibleChildSelected( sal_Int32 nChildIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -874,7 +872,7 @@ namespace accessibility
return getListBox()->IsSelected( pEntry );
}
- void SAL_CALL AccessibleListBoxEntry::clearAccessibleSelection( ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleListBoxEntry::clearAccessibleSelection( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -893,7 +891,7 @@ namespace accessibility
}
}
- void SAL_CALL AccessibleListBoxEntry::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleListBoxEntry::selectAllAccessibleChildren( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -912,7 +910,7 @@ namespace accessibility
}
}
- sal_Int32 SAL_CALL AccessibleListBoxEntry::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleListBoxEntry::getSelectedAccessibleChildCount( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -935,7 +933,7 @@ namespace accessibility
return nSelCount;
}
- Reference< XAccessible > SAL_CALL AccessibleListBoxEntry::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleListBoxEntry::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -968,7 +966,7 @@ namespace accessibility
return xChild;
}
- void SAL_CALL AccessibleListBoxEntry::deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL AccessibleListBoxEntry::deselectAccessibleChild( sal_Int32 nSelectedChildIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -982,11 +980,11 @@ namespace accessibility
getListBox()->Select( pEntry, false );
}
- sal_Int32 SAL_CALL AccessibleListBoxEntry::getCaretPosition( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleListBoxEntry::getCaretPosition( )
{
return -1;
}
- sal_Bool SAL_CALL AccessibleListBoxEntry::setCaretPosition ( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleListBoxEntry::setCaretPosition ( sal_Int32 nIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -997,14 +995,14 @@ namespace accessibility
return false;
}
- sal_Unicode SAL_CALL AccessibleListBoxEntry::getCharacter( sal_Int32 nIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Unicode SAL_CALL AccessibleListBoxEntry::getCharacter( sal_Int32 nIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getCharacter( nIndex );
}
- css::uno::Sequence< css::beans::PropertyValue > SAL_CALL AccessibleListBoxEntry::getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ css::uno::Sequence< css::beans::PropertyValue > SAL_CALL AccessibleListBoxEntry::getCharacterAttributes( sal_Int32 nIndex, const css::uno::Sequence< OUString >& )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -1017,7 +1015,7 @@ namespace accessibility
return css::uno::Sequence< css::beans::PropertyValue >();
}
- sal_Int32 SAL_CALL AccessibleListBoxEntry::getCharacterCount( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleListBoxEntry::getCharacterCount( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -1025,28 +1023,28 @@ namespace accessibility
return OCommonAccessibleText::getCharacterCount( );
}
- OUString SAL_CALL AccessibleListBoxEntry::getSelectedText( ) throw (css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleListBoxEntry::getSelectedText( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getSelectedText( );
}
- sal_Int32 SAL_CALL AccessibleListBoxEntry::getSelectionStart( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleListBoxEntry::getSelectionStart( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getSelectionStart( );
}
- sal_Int32 SAL_CALL AccessibleListBoxEntry::getSelectionEnd( ) throw (css::uno::RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleListBoxEntry::getSelectionEnd( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getSelectionEnd( );
}
- sal_Bool SAL_CALL AccessibleListBoxEntry::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleListBoxEntry::setSelection( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -1057,35 +1055,35 @@ namespace accessibility
return false;
}
- OUString SAL_CALL AccessibleListBoxEntry::getText( ) throw (css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleListBoxEntry::getText( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getText( );
}
- OUString SAL_CALL AccessibleListBoxEntry::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex ) throw (css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception)
+ OUString SAL_CALL AccessibleListBoxEntry::getTextRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getTextRange( nStartIndex, nEndIndex );
}
- css::accessibility::TextSegment SAL_CALL AccessibleListBoxEntry::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+ css::accessibility::TextSegment SAL_CALL AccessibleListBoxEntry::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getTextAtIndex( nIndex ,aTextType);
}
- css::accessibility::TextSegment SAL_CALL AccessibleListBoxEntry::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+ css::accessibility::TextSegment SAL_CALL AccessibleListBoxEntry::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
EnsureIsAlive();
return OCommonAccessibleText::getTextBeforeIndex( nIndex ,aTextType);
}
- css::accessibility::TextSegment SAL_CALL AccessibleListBoxEntry::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+ css::accessibility::TextSegment SAL_CALL AccessibleListBoxEntry::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -1097,7 +1095,7 @@ namespace accessibility
// XAccessibleValue
- Any AccessibleListBoxEntry::getCurrentValue( ) throw (RuntimeException, std::exception)
+ Any AccessibleListBoxEntry::getCurrentValue( )
{
::osl::MutexGuard aGuard( m_aMutex );
Any aValue;
@@ -1108,7 +1106,7 @@ namespace accessibility
}
- sal_Bool AccessibleListBoxEntry::setCurrentValue( const Any& aNumber ) throw (RuntimeException, std::exception)
+ sal_Bool AccessibleListBoxEntry::setCurrentValue( const Any& aNumber )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -1139,7 +1137,7 @@ namespace accessibility
}
- Any AccessibleListBoxEntry::getMaximumValue( ) throw (RuntimeException, std::exception)
+ Any AccessibleListBoxEntry::getMaximumValue( )
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -1159,7 +1157,7 @@ namespace accessibility
}
- Any AccessibleListBoxEntry::getMinimumValue( ) throw (RuntimeException, std::exception)
+ Any AccessibleListBoxEntry::getMinimumValue( )
{
::osl::MutexGuard aGuard( m_aMutex );
diff --git a/accessibility/source/extended/accessibletabbar.cxx b/accessibility/source/extended/accessibletabbar.cxx
index 431dbd05f786..2e00081c2357 100644
--- a/accessibility/source/extended/accessibletabbar.cxx
+++ b/accessibility/source/extended/accessibletabbar.cxx
@@ -145,7 +145,7 @@ namespace accessibility
// OCommonAccessibleComponent
- awt::Rectangle AccessibleTabBar::implGetBounds() throw (RuntimeException)
+ awt::Rectangle AccessibleTabBar::implGetBounds()
{
awt::Rectangle aBounds;
if ( m_pTabBar )
@@ -188,19 +188,19 @@ namespace accessibility
// XServiceInfo
- OUString AccessibleTabBar::getImplementationName() throw (RuntimeException, std::exception)
+ OUString AccessibleTabBar::getImplementationName()
{
return OUString( "com.sun.star.comp.svtools.AccessibleTabBar" );
}
- sal_Bool AccessibleTabBar::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception)
+ sal_Bool AccessibleTabBar::supportsService( const OUString& rServiceName )
{
return cppu::supportsService(this, rServiceName);
}
- Sequence< OUString > AccessibleTabBar::getSupportedServiceNames() throw (RuntimeException, std::exception)
+ Sequence< OUString > AccessibleTabBar::getSupportedServiceNames()
{
return { "com.sun.star.awt.AccessibleTabBar" };
}
@@ -209,7 +209,7 @@ namespace accessibility
// XAccessible
- Reference< XAccessibleContext > AccessibleTabBar::getAccessibleContext( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleContext > AccessibleTabBar::getAccessibleContext( )
{
OExternalLockGuard aGuard( this );
@@ -220,7 +220,7 @@ namespace accessibility
// XAccessibleContext
- sal_Int32 AccessibleTabBar::getAccessibleChildCount() throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBar::getAccessibleChildCount()
{
OExternalLockGuard aGuard( this );
@@ -228,7 +228,7 @@ namespace accessibility
}
- Reference< XAccessible > AccessibleTabBar::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Reference< XAccessible > AccessibleTabBar::getAccessibleChild( sal_Int32 i )
{
OExternalLockGuard aGuard( this );
@@ -262,7 +262,7 @@ namespace accessibility
}
- Reference< XAccessible > AccessibleTabBar::getAccessibleParent( ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > AccessibleTabBar::getAccessibleParent( )
{
OExternalLockGuard aGuard( this );
@@ -278,7 +278,7 @@ namespace accessibility
}
- sal_Int32 AccessibleTabBar::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBar::getAccessibleIndexInParent( )
{
OExternalLockGuard aGuard( this );
@@ -304,7 +304,7 @@ namespace accessibility
}
- sal_Int16 AccessibleTabBar::getAccessibleRole( ) throw (RuntimeException, std::exception)
+ sal_Int16 AccessibleTabBar::getAccessibleRole( )
{
OExternalLockGuard aGuard( this );
@@ -312,7 +312,7 @@ namespace accessibility
}
- OUString AccessibleTabBar::getAccessibleDescription( ) throw (RuntimeException, std::exception)
+ OUString AccessibleTabBar::getAccessibleDescription( )
{
OExternalLockGuard aGuard( this );
@@ -324,7 +324,7 @@ namespace accessibility
}
- OUString AccessibleTabBar::getAccessibleName( ) throw (RuntimeException, std::exception)
+ OUString AccessibleTabBar::getAccessibleName( )
{
OExternalLockGuard aGuard( this );
@@ -336,7 +336,7 @@ namespace accessibility
}
- Reference< XAccessibleRelationSet > AccessibleTabBar::getAccessibleRelationSet( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleRelationSet > AccessibleTabBar::getAccessibleRelationSet( )
{
OExternalLockGuard aGuard( this );
@@ -346,7 +346,7 @@ namespace accessibility
}
- Reference< XAccessibleStateSet > AccessibleTabBar::getAccessibleStateSet( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleStateSet > AccessibleTabBar::getAccessibleStateSet( )
{
OExternalLockGuard aGuard( this );
@@ -366,7 +366,7 @@ namespace accessibility
}
- Locale AccessibleTabBar::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception)
+ Locale AccessibleTabBar::getLocale( )
{
OExternalLockGuard aGuard( this );
@@ -377,7 +377,7 @@ namespace accessibility
// XAccessibleComponent
- Reference< XAccessible > AccessibleTabBar::getAccessibleAtPoint( const awt::Point& rPoint ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > AccessibleTabBar::getAccessibleAtPoint( const awt::Point& rPoint )
{
OExternalLockGuard aGuard( this );
@@ -405,7 +405,7 @@ namespace accessibility
}
- void AccessibleTabBar::grabFocus( ) throw (RuntimeException, std::exception)
+ void AccessibleTabBar::grabFocus( )
{
OExternalLockGuard aGuard( this );
@@ -414,7 +414,7 @@ namespace accessibility
}
- sal_Int32 AccessibleTabBar::getForeground( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBar::getForeground( )
{
OExternalLockGuard aGuard( this );
@@ -438,7 +438,7 @@ namespace accessibility
}
- sal_Int32 AccessibleTabBar::getBackground( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBar::getBackground( )
{
OExternalLockGuard aGuard( this );
@@ -458,7 +458,7 @@ namespace accessibility
// XAccessibleExtendedComponent
- Reference< awt::XFont > AccessibleTabBar::getFont( ) throw (RuntimeException, std::exception)
+ Reference< awt::XFont > AccessibleTabBar::getFont( )
{
OExternalLockGuard aGuard( this );
@@ -483,7 +483,7 @@ namespace accessibility
}
- OUString AccessibleTabBar::getTitledBorderText( ) throw (RuntimeException, std::exception)
+ OUString AccessibleTabBar::getTitledBorderText( )
{
OExternalLockGuard aGuard( this );
@@ -495,7 +495,7 @@ namespace accessibility
}
- OUString AccessibleTabBar::getToolTipText( ) throw (RuntimeException, std::exception)
+ OUString AccessibleTabBar::getToolTipText( )
{
OExternalLockGuard aGuard( this );
diff --git a/accessibility/source/extended/accessibletabbarpage.cxx b/accessibility/source/extended/accessibletabbarpage.cxx
index 9d50f4822e0b..29c3ad441c50 100644
--- a/accessibility/source/extended/accessibletabbarpage.cxx
+++ b/accessibility/source/extended/accessibletabbarpage.cxx
@@ -163,7 +163,7 @@ namespace accessibility
// OCommonAccessibleComponent
- awt::Rectangle AccessibleTabBarPage::implGetBounds() throw (RuntimeException)
+ awt::Rectangle AccessibleTabBarPage::implGetBounds()
{
awt::Rectangle aBounds;
if ( m_pTabBar )
@@ -216,19 +216,19 @@ namespace accessibility
// XServiceInfo
- OUString AccessibleTabBarPage::getImplementationName() throw (RuntimeException, std::exception)
+ OUString AccessibleTabBarPage::getImplementationName()
{
return OUString( "com.sun.star.comp.svtools.AccessibleTabBarPage" );
}
- sal_Bool AccessibleTabBarPage::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception)
+ sal_Bool AccessibleTabBarPage::supportsService( const OUString& rServiceName )
{
return cppu::supportsService(this, rServiceName);
}
- Sequence< OUString > AccessibleTabBarPage::getSupportedServiceNames() throw (RuntimeException, std::exception)
+ Sequence< OUString > AccessibleTabBarPage::getSupportedServiceNames()
{
return { "com.sun.star.awt.AccessibleTabBarPage" };
}
@@ -237,7 +237,7 @@ namespace accessibility
// XAccessible
- Reference< XAccessibleContext > AccessibleTabBarPage::getAccessibleContext( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleContext > AccessibleTabBarPage::getAccessibleContext( )
{
OExternalLockGuard aGuard( this );
@@ -248,7 +248,7 @@ namespace accessibility
// XAccessibleContext
- sal_Int32 AccessibleTabBarPage::getAccessibleChildCount() throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBarPage::getAccessibleChildCount()
{
OExternalLockGuard aGuard( this );
@@ -256,7 +256,7 @@ namespace accessibility
}
- Reference< XAccessible > AccessibleTabBarPage::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Reference< XAccessible > AccessibleTabBarPage::getAccessibleChild( sal_Int32 i )
{
OExternalLockGuard aGuard( this );
@@ -267,7 +267,7 @@ namespace accessibility
}
- Reference< XAccessible > AccessibleTabBarPage::getAccessibleParent( ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > AccessibleTabBarPage::getAccessibleParent( )
{
OExternalLockGuard aGuard( this );
@@ -275,7 +275,7 @@ namespace accessibility
}
- sal_Int32 AccessibleTabBarPage::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBarPage::getAccessibleIndexInParent( )
{
OExternalLockGuard aGuard( this );
@@ -287,7 +287,7 @@ namespace accessibility
}
- sal_Int16 AccessibleTabBarPage::getAccessibleRole( ) throw (RuntimeException, std::exception)
+ sal_Int16 AccessibleTabBarPage::getAccessibleRole( )
{
OExternalLockGuard aGuard( this );
@@ -295,7 +295,7 @@ namespace accessibility
}
- OUString AccessibleTabBarPage::getAccessibleDescription( ) throw (RuntimeException, std::exception)
+ OUString AccessibleTabBarPage::getAccessibleDescription( )
{
OExternalLockGuard aGuard( this );
@@ -307,7 +307,7 @@ namespace accessibility
}
- OUString AccessibleTabBarPage::getAccessibleName( ) throw (RuntimeException, std::exception)
+ OUString AccessibleTabBarPage::getAccessibleName( )
{
OExternalLockGuard aGuard( this );
@@ -315,7 +315,7 @@ namespace accessibility
}
- Reference< XAccessibleRelationSet > AccessibleTabBarPage::getAccessibleRelationSet( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleRelationSet > AccessibleTabBarPage::getAccessibleRelationSet( )
{
OExternalLockGuard aGuard( this );
@@ -325,7 +325,7 @@ namespace accessibility
}
- Reference< XAccessibleStateSet > AccessibleTabBarPage::getAccessibleStateSet( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleStateSet > AccessibleTabBarPage::getAccessibleStateSet( )
{
OExternalLockGuard aGuard( this );
@@ -345,7 +345,7 @@ namespace accessibility
}
- Locale AccessibleTabBarPage::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception)
+ Locale AccessibleTabBarPage::getLocale( )
{
OExternalLockGuard aGuard( this );
@@ -356,7 +356,7 @@ namespace accessibility
// XAccessibleComponent
- Reference< XAccessible > AccessibleTabBarPage::getAccessibleAtPoint( const awt::Point& ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > AccessibleTabBarPage::getAccessibleAtPoint( const awt::Point& )
{
OExternalLockGuard aGuard( this );
@@ -364,13 +364,13 @@ namespace accessibility
}
- void AccessibleTabBarPage::grabFocus( ) throw (RuntimeException, std::exception)
+ void AccessibleTabBarPage::grabFocus( )
{
// no focus
}
- sal_Int32 AccessibleTabBarPage::getForeground( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBarPage::getForeground( )
{
OExternalLockGuard aGuard( this );
@@ -387,7 +387,7 @@ namespace accessibility
}
- sal_Int32 AccessibleTabBarPage::getBackground( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBarPage::getBackground( )
{
OExternalLockGuard aGuard( this );
@@ -407,7 +407,7 @@ namespace accessibility
// XAccessibleExtendedComponent
- Reference< awt::XFont > AccessibleTabBarPage::getFont( ) throw (RuntimeException, std::exception)
+ Reference< awt::XFont > AccessibleTabBarPage::getFont( )
{
OExternalLockGuard aGuard( this );
@@ -424,7 +424,7 @@ namespace accessibility
}
- OUString AccessibleTabBarPage::getTitledBorderText( ) throw (RuntimeException, std::exception)
+ OUString AccessibleTabBarPage::getTitledBorderText( )
{
OExternalLockGuard aGuard( this );
@@ -432,7 +432,7 @@ namespace accessibility
}
- OUString AccessibleTabBarPage::getToolTipText( ) throw (RuntimeException, std::exception)
+ OUString AccessibleTabBarPage::getToolTipText( )
{
OExternalLockGuard aGuard( this );
diff --git a/accessibility/source/extended/accessibletabbarpagelist.cxx b/accessibility/source/extended/accessibletabbarpagelist.cxx
index 05848a598b66..eac83b7fd20c 100644
--- a/accessibility/source/extended/accessibletabbarpagelist.cxx
+++ b/accessibility/source/extended/accessibletabbarpagelist.cxx
@@ -321,7 +321,7 @@ namespace accessibility
// OCommonAccessibleComponent
- awt::Rectangle AccessibleTabBarPageList::implGetBounds() throw (RuntimeException)
+ awt::Rectangle AccessibleTabBarPageList::implGetBounds()
{
awt::Rectangle aBounds;
if ( m_pTabBar )
@@ -364,19 +364,19 @@ namespace accessibility
// XServiceInfo
- OUString AccessibleTabBarPageList::getImplementationName() throw (RuntimeException, std::exception)
+ OUString AccessibleTabBarPageList::getImplementationName()
{
return OUString( "com.sun.star.comp.svtools.AccessibleTabBarPageList" );
}
- sal_Bool AccessibleTabBarPageList::supportsService( const OUString& rServiceName ) throw (RuntimeException, std::exception)
+ sal_Bool AccessibleTabBarPageList::supportsService( const OUString& rServiceName )
{
return cppu::supportsService(this, rServiceName);
}
- Sequence< OUString > AccessibleTabBarPageList::getSupportedServiceNames() throw (RuntimeException, std::exception)
+ Sequence< OUString > AccessibleTabBarPageList::getSupportedServiceNames()
{
return { "com.sun.star.awt.AccessibleTabBarPageList" };
}
@@ -385,7 +385,7 @@ namespace accessibility
// XAccessible
- Reference< XAccessibleContext > AccessibleTabBarPageList::getAccessibleContext( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleContext > AccessibleTabBarPageList::getAccessibleContext( )
{
OExternalLockGuard aGuard( this );
@@ -396,7 +396,7 @@ namespace accessibility
// XAccessibleContext
- sal_Int32 AccessibleTabBarPageList::getAccessibleChildCount() throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBarPageList::getAccessibleChildCount()
{
OExternalLockGuard aGuard( this );
@@ -404,7 +404,7 @@ namespace accessibility
}
- Reference< XAccessible > AccessibleTabBarPageList::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Reference< XAccessible > AccessibleTabBarPageList::getAccessibleChild( sal_Int32 i )
{
OExternalLockGuard aGuard( this );
@@ -429,7 +429,7 @@ namespace accessibility
}
- Reference< XAccessible > AccessibleTabBarPageList::getAccessibleParent( ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > AccessibleTabBarPageList::getAccessibleParent( )
{
OExternalLockGuard aGuard( this );
@@ -441,7 +441,7 @@ namespace accessibility
}
- sal_Int32 AccessibleTabBarPageList::getAccessibleIndexInParent( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBarPageList::getAccessibleIndexInParent( )
{
OExternalLockGuard aGuard( this );
@@ -449,7 +449,7 @@ namespace accessibility
}
- sal_Int16 AccessibleTabBarPageList::getAccessibleRole( ) throw (RuntimeException, std::exception)
+ sal_Int16 AccessibleTabBarPageList::getAccessibleRole( )
{
OExternalLockGuard aGuard( this );
@@ -457,7 +457,7 @@ namespace accessibility
}
- OUString AccessibleTabBarPageList::getAccessibleDescription( ) throw (RuntimeException, std::exception)
+ OUString AccessibleTabBarPageList::getAccessibleDescription( )
{
OExternalLockGuard aGuard( this );
@@ -465,7 +465,7 @@ namespace accessibility
}
- OUString AccessibleTabBarPageList::getAccessibleName( ) throw (RuntimeException, std::exception)
+ OUString AccessibleTabBarPageList::getAccessibleName( )
{
OExternalLockGuard aGuard( this );
@@ -473,7 +473,7 @@ namespace accessibility
}
- Reference< XAccessibleRelationSet > AccessibleTabBarPageList::getAccessibleRelationSet( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleRelationSet > AccessibleTabBarPageList::getAccessibleRelationSet( )
{
OExternalLockGuard aGuard( this );
@@ -483,7 +483,7 @@ namespace accessibility
}
- Reference< XAccessibleStateSet > AccessibleTabBarPageList::getAccessibleStateSet( ) throw (RuntimeException, std::exception)
+ Reference< XAccessibleStateSet > AccessibleTabBarPageList::getAccessibleStateSet( )
{
OExternalLockGuard aGuard( this );
@@ -503,7 +503,7 @@ namespace accessibility
}
- Locale AccessibleTabBarPageList::getLocale( ) throw (IllegalAccessibleComponentStateException, RuntimeException, std::exception)
+ Locale AccessibleTabBarPageList::getLocale( )
{
OExternalLockGuard aGuard( this );
@@ -514,7 +514,7 @@ namespace accessibility
// XAccessibleComponent
- Reference< XAccessible > AccessibleTabBarPageList::getAccessibleAtPoint( const awt::Point& rPoint ) throw (RuntimeException, std::exception)
+ Reference< XAccessible > AccessibleTabBarPageList::getAccessibleAtPoint( const awt::Point& rPoint )
{
OExternalLockGuard aGuard( this );
@@ -542,13 +542,13 @@ namespace accessibility
}
- void AccessibleTabBarPageList::grabFocus( ) throw (RuntimeException, std::exception)
+ void AccessibleTabBarPageList::grabFocus( )
{
// no focus
}
- sal_Int32 AccessibleTabBarPageList::getForeground( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBarPageList::getForeground( )
{
OExternalLockGuard aGuard( this );
@@ -565,7 +565,7 @@ namespace accessibility
}
- sal_Int32 AccessibleTabBarPageList::getBackground( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBarPageList::getBackground( )
{
OExternalLockGuard aGuard( this );
@@ -585,7 +585,7 @@ namespace accessibility
// XAccessibleExtendedComponent
- Reference< awt::XFont > AccessibleTabBarPageList::getFont( ) throw (RuntimeException, std::exception)
+ Reference< awt::XFont > AccessibleTabBarPageList::getFont( )
{
OExternalLockGuard aGuard( this );
@@ -602,7 +602,7 @@ namespace accessibility
}
- OUString AccessibleTabBarPageList::getTitledBorderText( ) throw (RuntimeException, std::exception)
+ OUString AccessibleTabBarPageList::getTitledBorderText( )
{
OExternalLockGuard aGuard( this );
@@ -610,7 +610,7 @@ namespace accessibility
}
- OUString AccessibleTabBarPageList::getToolTipText( ) throw (RuntimeException, std::exception)
+ OUString AccessibleTabBarPageList::getToolTipText( )
{
OExternalLockGuard aGuard( this );
@@ -621,7 +621,7 @@ namespace accessibility
// XAccessibleSelection
- void AccessibleTabBarPageList::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void AccessibleTabBarPageList::selectAccessibleChild( sal_Int32 nChildIndex )
{
OExternalLockGuard aGuard( this );
@@ -638,7 +638,7 @@ namespace accessibility
}
- sal_Bool AccessibleTabBarPageList::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ sal_Bool AccessibleTabBarPageList::isAccessibleChildSelected( sal_Int32 nChildIndex )
{
OExternalLockGuard aGuard( this );
@@ -653,13 +653,13 @@ namespace accessibility
}
- void AccessibleTabBarPageList::clearAccessibleSelection( ) throw (RuntimeException, std::exception)
+ void AccessibleTabBarPageList::clearAccessibleSelection( )
{
// This method makes no sense in a TabBar, and so does nothing.
}
- void AccessibleTabBarPageList::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception)
+ void AccessibleTabBarPageList::selectAllAccessibleChildren( )
{
OExternalLockGuard aGuard( this );
@@ -667,7 +667,7 @@ namespace accessibility
}
- sal_Int32 AccessibleTabBarPageList::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 AccessibleTabBarPageList::getSelectedAccessibleChildCount( )
{
OExternalLockGuard aGuard( this );
@@ -675,7 +675,7 @@ namespace accessibility
}
- Reference< XAccessible > AccessibleTabBarPageList::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Reference< XAccessible > AccessibleTabBarPageList::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex )
{
OExternalLockGuard aGuard( this );
@@ -697,7 +697,7 @@ namespace accessibility
}
- void AccessibleTabBarPageList::deselectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void AccessibleTabBarPageList::deselectAccessibleChild( sal_Int32 nChildIndex )
{
OExternalLockGuard aGuard( this );
diff --git a/accessibility/source/extended/accessibletablistbox.cxx b/accessibility/source/extended/accessibletablistbox.cxx
index 5f7824d190cb..6da361b0b910 100644
--- a/accessibility/source/extended/accessibletablistbox.cxx
+++ b/accessibility/source/extended/accessibletablistbox.cxx
@@ -75,13 +75,12 @@ namespace accessibility
// XAccessibleContext ---------------------------------------------------------
sal_Int32 SAL_CALL AccessibleTabListBox::getAccessibleChildCount()
- throw ( uno::RuntimeException, std::exception )
{
return 2; // header and table
}
- Reference< XAccessibleContext > SAL_CALL AccessibleTabListBox::getAccessibleContext() throw ( RuntimeException, std::exception )
+ Reference< XAccessibleContext > SAL_CALL AccessibleTabListBox::getAccessibleContext()
{
return this;
}
@@ -89,7 +88,6 @@ namespace accessibility
Reference< XAccessible > SAL_CALL
AccessibleTabListBox::getAccessibleChild( sal_Int32 nChildIndex )
- throw ( IndexOutOfBoundsException, RuntimeException, std::exception )
{
SolarMethodGuard aGuard(getMutex());
ensureIsAlive();
diff --git a/accessibility/source/extended/accessibletablistboxtable.cxx b/accessibility/source/extended/accessibletablistboxtable.cxx
index 2536ba06943e..d50f98ad56c8 100644
--- a/accessibility/source/extended/accessibletablistboxtable.cxx
+++ b/accessibility/source/extended/accessibletablistboxtable.cxx
@@ -311,14 +311,14 @@ namespace accessibility
// XServiceInfo
- OUString AccessibleTabListBoxTable::getImplementationName() throw (RuntimeException, std::exception)
+ OUString AccessibleTabListBoxTable::getImplementationName()
{
return OUString( "com.sun.star.comp.svtools.AccessibleTabListBoxTable" );
}
// XAccessibleSelection
- void SAL_CALL AccessibleTabListBoxTable::selectAccessibleChild( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL AccessibleTabListBoxTable::selectAccessibleChild( sal_Int32 nChildIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getMutex() );
@@ -329,7 +329,7 @@ namespace accessibility
implSelectRow( implGetRow( nChildIndex ), true );
}
- sal_Bool SAL_CALL AccessibleTabListBoxTable::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ sal_Bool SAL_CALL AccessibleTabListBoxTable::isAccessibleChildSelected( sal_Int32 nChildIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getMutex() );
@@ -340,7 +340,7 @@ namespace accessibility
return m_pTabListBox && m_pTabListBox->IsSelected( m_pTabListBox->GetEntry( implGetRow( nChildIndex ) ) );
}
- void SAL_CALL AccessibleTabListBoxTable::clearAccessibleSelection( ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleTabListBoxTable::clearAccessibleSelection( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getMutex() );
@@ -350,7 +350,7 @@ namespace accessibility
m_pTabListBox->SetNoSelection();
}
- void SAL_CALL AccessibleTabListBoxTable::selectAllAccessibleChildren( ) throw (RuntimeException, std::exception)
+ void SAL_CALL AccessibleTabListBoxTable::selectAllAccessibleChildren( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getMutex() );
@@ -360,7 +360,7 @@ namespace accessibility
m_pTabListBox->SelectAll();
}
- sal_Int32 SAL_CALL AccessibleTabListBoxTable::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception)
+ sal_Int32 SAL_CALL AccessibleTabListBoxTable::getSelectedAccessibleChildCount( )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getMutex() );
@@ -370,7 +370,7 @@ namespace accessibility
return implGetColumnCount() * implGetSelRowCount();
}
- Reference< XAccessible > SAL_CALL AccessibleTabListBoxTable::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ Reference< XAccessible > SAL_CALL AccessibleTabListBoxTable::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getMutex() );
@@ -386,7 +386,7 @@ namespace accessibility
return getAccessibleCellAt( nRow, nColumn );
}
- void SAL_CALL AccessibleTabListBoxTable::deselectAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception)
+ void SAL_CALL AccessibleTabListBoxTable::deselectAccessibleChild( sal_Int32 nSelectedChildIndex )
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( getMutex() );
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx
index c7180e8e13c4..5ee6a1d63cbb 100644
--- a/accessibility/source/extended/textwindowaccessibility.cxx
+++ b/accessibility/source/extended/textwindowaccessibility.cxx
@@ -106,7 +106,7 @@ void Paragraph::notifyEvent(::sal_Int16 nEventId,
// virtual
css::uno::Reference< css::accessibility::XAccessibleContext > SAL_CALL
-Paragraph::getAccessibleContext() throw (css::uno::RuntimeException, std::exception)
+Paragraph::getAccessibleContext()
{
checkDisposed();
return this;
@@ -114,7 +114,6 @@ Paragraph::getAccessibleContext() throw (css::uno::RuntimeException, std::except
// virtual
::sal_Int32 SAL_CALL Paragraph::getAccessibleChildCount()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return 0;
@@ -123,8 +122,6 @@ Paragraph::getAccessibleContext() throw (css::uno::RuntimeException, std::except
// virtual
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
Paragraph::getAccessibleChild(::sal_Int32)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
throw css::lang::IndexOutOfBoundsException(
@@ -136,7 +133,6 @@ Paragraph::getAccessibleChild(::sal_Int32)
// virtual
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
Paragraph::getAccessibleParent()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return m_xDocument->getAccessible();
@@ -144,7 +140,6 @@ Paragraph::getAccessibleParent()
// virtual
::sal_Int32 SAL_CALL Paragraph::getAccessibleIndexInParent()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return m_xDocument->retrieveParagraphIndex(this);
@@ -152,7 +147,6 @@ Paragraph::getAccessibleParent()
// virtual
::sal_Int16 SAL_CALL Paragraph::getAccessibleRole()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return css::accessibility::AccessibleRole::PARAGRAPH;
@@ -160,7 +154,6 @@ Paragraph::getAccessibleParent()
// virtual
OUString SAL_CALL Paragraph::getAccessibleDescription()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return OUString();
@@ -168,7 +161,6 @@ OUString SAL_CALL Paragraph::getAccessibleDescription()
// virtual
OUString SAL_CALL Paragraph::getAccessibleName()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return OUString();
@@ -177,7 +169,6 @@ OUString SAL_CALL Paragraph::getAccessibleName()
// virtual
css::uno::Reference< css::accessibility::XAccessibleRelationSet >
SAL_CALL Paragraph::getAccessibleRelationSet()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return m_xDocument->retrieveParagraphRelationSet( this );
@@ -186,7 +177,6 @@ SAL_CALL Paragraph::getAccessibleRelationSet()
// virtual
css::uno::Reference< css::accessibility::XAccessibleStateSet >
SAL_CALL Paragraph::getAccessibleStateSet()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
@@ -198,8 +188,6 @@ SAL_CALL Paragraph::getAccessibleStateSet()
// virtual
css::lang::Locale SAL_CALL Paragraph::getLocale()
- throw (css::accessibility::IllegalAccessibleComponentStateException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
return m_xDocument->retrieveLocale();
@@ -207,7 +195,6 @@ css::lang::Locale SAL_CALL Paragraph::getLocale()
// virtual
sal_Bool SAL_CALL Paragraph::containsPoint(css::awt::Point const & rPoint)
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
css::awt::Rectangle aRect(m_xDocument->retrieveParagraphBounds(this,
@@ -219,7 +206,6 @@ sal_Bool SAL_CALL Paragraph::containsPoint(css::awt::Point const & rPoint)
// virtual
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
Paragraph::getAccessibleAtPoint(css::awt::Point const &)
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return nullptr;
@@ -227,7 +213,6 @@ Paragraph::getAccessibleAtPoint(css::awt::Point const &)
// virtual
css::awt::Rectangle SAL_CALL Paragraph::getBounds()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return m_xDocument->retrieveParagraphBounds(this, false);
@@ -235,7 +220,6 @@ css::awt::Rectangle SAL_CALL Paragraph::getBounds()
// virtual
css::awt::Point SAL_CALL Paragraph::getLocation()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
css::awt::Rectangle aRect(m_xDocument->retrieveParagraphBounds(this,
@@ -245,7 +229,6 @@ css::awt::Point SAL_CALL Paragraph::getLocation()
// virtual
css::awt::Point SAL_CALL Paragraph::getLocationOnScreen()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
css::awt::Rectangle aRect(m_xDocument->retrieveParagraphBounds(this,
@@ -255,7 +238,6 @@ css::awt::Point SAL_CALL Paragraph::getLocationOnScreen()
// virtual
css::awt::Size SAL_CALL Paragraph::getSize()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
css::awt::Rectangle aRect(m_xDocument->retrieveParagraphBounds(this,
@@ -264,7 +246,7 @@ css::awt::Size SAL_CALL Paragraph::getSize()
}
// virtual
-void SAL_CALL Paragraph::grabFocus() throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL Paragraph::grabFocus()
{
checkDisposed();
VclPtr<vcl::Window> pWindow = m_xDocument->GetWindow();
@@ -286,21 +268,18 @@ void SAL_CALL Paragraph::grabFocus() throw (css::uno::RuntimeException, std::exc
// virtual
css::util::Color SAL_CALL Paragraph::getForeground()
- throw (css::uno::RuntimeException, std::exception)
{
return 0; // TODO
}
// virtual
css::util::Color SAL_CALL Paragraph::getBackground()
- throw (css::uno::RuntimeException, std::exception)
{
return 0; // TODO
}
// virtual
::sal_Int32 SAL_CALL Paragraph::getCaretPosition()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return m_xDocument->retrieveParagraphCaretPosition(this);
@@ -308,8 +287,6 @@ css::util::Color SAL_CALL Paragraph::getBackground()
// virtual
sal_Bool SAL_CALL Paragraph::setCaretPosition(::sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
m_xDocument->changeParagraphSelection(this, nIndex, nIndex);
@@ -318,8 +295,6 @@ sal_Bool SAL_CALL Paragraph::setCaretPosition(::sal_Int32 nIndex)
// virtual
::sal_Unicode SAL_CALL Paragraph::getCharacter(::sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
return OCommonAccessibleText::getCharacter(nIndex);
@@ -328,8 +303,6 @@ sal_Bool SAL_CALL Paragraph::setCaretPosition(::sal_Int32 nIndex)
// virtual
css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
Paragraph::getCharacterAttributes(::sal_Int32 nIndex, const css::uno::Sequence< OUString >& aRequestedAttributes)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
return m_xDocument->retrieveCharacterAttributes( this, nIndex, aRequestedAttributes );
@@ -338,8 +311,6 @@ Paragraph::getCharacterAttributes(::sal_Int32 nIndex, const css::uno::Sequence<
// virtual
css::awt::Rectangle SAL_CALL
Paragraph::getCharacterBounds(::sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
css::awt::Rectangle aBounds(m_xDocument->retrieveCharacterBounds(this, nIndex));
@@ -351,7 +322,6 @@ Paragraph::getCharacterBounds(::sal_Int32 nIndex)
// virtual
::sal_Int32 SAL_CALL Paragraph::getCharacterCount()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return OCommonAccessibleText::getCharacterCount();
@@ -360,7 +330,6 @@ Paragraph::getCharacterBounds(::sal_Int32 nIndex)
// virtual
::sal_Int32 SAL_CALL
Paragraph::getIndexAtPoint(css::awt::Point const & rPoint)
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
css::awt::Point aPoint(rPoint);
@@ -372,7 +341,6 @@ Paragraph::getIndexAtPoint(css::awt::Point const & rPoint)
// virtual
OUString SAL_CALL Paragraph::getSelectedText()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
@@ -381,7 +349,6 @@ OUString SAL_CALL Paragraph::getSelectedText()
// virtual
::sal_Int32 SAL_CALL Paragraph::getSelectionStart()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return OCommonAccessibleText::getSelectionStart();
@@ -389,7 +356,6 @@ OUString SAL_CALL Paragraph::getSelectedText()
// virtual
::sal_Int32 SAL_CALL Paragraph::getSelectionEnd()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return OCommonAccessibleText::getSelectionEnd();
@@ -398,8 +364,6 @@ OUString SAL_CALL Paragraph::getSelectedText()
// virtual
sal_Bool SAL_CALL Paragraph::setSelection(::sal_Int32 nStartIndex,
::sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
m_xDocument->changeParagraphSelection(this, nStartIndex, nEndIndex);
@@ -408,7 +372,6 @@ sal_Bool SAL_CALL Paragraph::setSelection(::sal_Int32 nStartIndex,
// virtual
OUString SAL_CALL Paragraph::getText()
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return OCommonAccessibleText::getText();
@@ -417,29 +380,27 @@ OUString SAL_CALL Paragraph::getText()
// virtual
OUString SAL_CALL Paragraph::getTextRange(::sal_Int32 nStartIndex,
::sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
return OCommonAccessibleText::getTextRange(nStartIndex, nEndIndex);
}
// virtual
-css::accessibility::TextSegment SAL_CALL Paragraph::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+css::accessibility::TextSegment SAL_CALL Paragraph::getTextAtIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
checkDisposed();
return OCommonAccessibleText::getTextAtIndex(nIndex, aTextType);
}
// virtual
-css::accessibility::TextSegment SAL_CALL Paragraph::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+css::accessibility::TextSegment SAL_CALL Paragraph::getTextBeforeIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
checkDisposed();
return OCommonAccessibleText::getTextBeforeIndex(nIndex, aTextType);
}
// virtual
-css::accessibility::TextSegment SAL_CALL Paragraph::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType ) throw (css::lang::IndexOutOfBoundsException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
+css::accessibility::TextSegment SAL_CALL Paragraph::getTextBehindIndex( sal_Int32 nIndex, sal_Int16 aTextType )
{
checkDisposed();
return OCommonAccessibleText::getTextBehindIndex(nIndex, aTextType);
@@ -448,8 +409,6 @@ css::accessibility::TextSegment SAL_CALL Paragraph::getTextBehindIndex( sal_Int3
// virtual
sal_Bool SAL_CALL Paragraph::copyText(::sal_Int32 nStartIndex,
::sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
m_xDocument->copyParagraphText(this, nStartIndex, nEndIndex);
@@ -459,8 +418,6 @@ sal_Bool SAL_CALL Paragraph::copyText(::sal_Int32 nStartIndex,
// virtual
sal_Bool SAL_CALL Paragraph::cutText(::sal_Int32 nStartIndex,
::sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
m_xDocument->changeParagraphText(this, nStartIndex, nEndIndex, true, false,
@@ -470,8 +427,6 @@ sal_Bool SAL_CALL Paragraph::cutText(::sal_Int32 nStartIndex,
// virtual
sal_Bool SAL_CALL Paragraph::pasteText(::sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
m_xDocument->changeParagraphText(this, nIndex, nIndex, false, true,
@@ -482,8 +437,6 @@ sal_Bool SAL_CALL Paragraph::pasteText(::sal_Int32 nIndex)
// virtual
sal_Bool SAL_CALL Paragraph::deleteText(::sal_Int32 nStartIndex,
::sal_Int32 nEndIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
m_xDocument->changeParagraphText(this, nStartIndex, nEndIndex, false, false,
@@ -494,8 +447,6 @@ sal_Bool SAL_CALL Paragraph::deleteText(::sal_Int32 nStartIndex,
// virtual
sal_Bool SAL_CALL Paragraph::insertText(OUString const & rText,
::sal_Int32 nIndex)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
m_xDocument->changeParagraphText(this, nIndex, nIndex, false, false, rText);
@@ -506,8 +457,6 @@ sal_Bool SAL_CALL Paragraph::insertText(OUString const & rText,
sal_Bool SAL_CALL
Paragraph::replaceText(::sal_Int32 nStartIndex, ::sal_Int32 nEndIndex,
OUString const & rReplacement)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
m_xDocument->changeParagraphText(this, nStartIndex, nEndIndex, false, false,
@@ -519,8 +468,6 @@ Paragraph::replaceText(::sal_Int32 nStartIndex, ::sal_Int32 nEndIndex,
sal_Bool SAL_CALL Paragraph::setAttributes(
::sal_Int32 nStartIndex, ::sal_Int32 nEndIndex,
css::uno::Sequence< css::beans::PropertyValue > const & rAttributeSet)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
m_xDocument->changeParagraphAttributes(this, nStartIndex, nEndIndex,
@@ -530,7 +477,6 @@ sal_Bool SAL_CALL Paragraph::setAttributes(
// virtual
sal_Bool SAL_CALL Paragraph::setText(OUString const & rText)
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
m_xDocument->changeParagraphText(this, rText);
@@ -540,7 +486,6 @@ sal_Bool SAL_CALL Paragraph::setText(OUString const & rText)
// virtual
css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
Paragraph::getDefaultAttributes(const css::uno::Sequence< OUString >& RequestedAttributes)
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return m_xDocument->retrieveDefaultAttributes( this, RequestedAttributes );
@@ -549,8 +494,6 @@ Paragraph::getDefaultAttributes(const css::uno::Sequence< OUString >& RequestedA
// virtual
css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
Paragraph::getRunAttributes(::sal_Int32 Index, const css::uno::Sequence< OUString >& RequestedAttributes)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
return m_xDocument->retrieveRunAttributes( this, Index, RequestedAttributes );
@@ -558,8 +501,6 @@ Paragraph::getRunAttributes(::sal_Int32 Index, const css::uno::Sequence< OUStrin
// virtual
::sal_Int32 SAL_CALL Paragraph::getLineNumberAtIndex( ::sal_Int32 nIndex )
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
@@ -571,8 +512,6 @@ Paragraph::getRunAttributes(::sal_Int32 Index, const css::uno::Sequence< OUStrin
// virtual
css::accessibility::TextSegment SAL_CALL Paragraph::getTextAtLineNumber( ::sal_Int32 nLineNo )
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
checkDisposed();
@@ -585,7 +524,6 @@ css::accessibility::TextSegment SAL_CALL Paragraph::getTextAtLineNumber( ::sal_I
// virtual
css::accessibility::TextSegment SAL_CALL Paragraph::getTextAtLineWithCaret( )
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
@@ -605,7 +543,6 @@ css::accessibility::TextSegment SAL_CALL Paragraph::getTextAtLineWithCaret( )
// virtual
::sal_Int32 SAL_CALL Paragraph::getNumberOfLineWithCaret( )
- throw (css::uno::RuntimeException, std::exception)
{
checkDisposed();
return m_xDocument->retrieveParagraphLineWithCursor(this);
@@ -616,7 +553,6 @@ css::accessibility::TextSegment SAL_CALL Paragraph::getTextAtLineWithCaret( )
void SAL_CALL Paragraph::addAccessibleEventListener(
css::uno::Reference<
css::accessibility::XAccessibleEventListener > const & rListener)
- throw (css::uno::RuntimeException, std::exception)
{
if (rListener.is())
{
@@ -640,7 +576,6 @@ void SAL_CALL Paragraph::addAccessibleEventListener(
void SAL_CALL Paragraph::removeAccessibleEventListener(
css::uno::Reference<
css::accessibility::XAccessibleEventListener > const & rListener)
- throw (css::uno::RuntimeException, std::exception)
{
comphelper::AccessibleEventNotifier::TClientId nId = 0;
{
@@ -1441,7 +1376,6 @@ Document::retrieveParagraphRelationSet( Paragraph const * pParagraph )
// virtual
::sal_Int32 SAL_CALL Document::getAccessibleChildCount()
- throw (css::uno::RuntimeException, std::exception)
{
::comphelper::OExternalLockGuard aGuard(this);
init();
@@ -1451,8 +1385,6 @@ Document::retrieveParagraphRelationSet( Paragraph const * pParagraph )
// virtual
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
Document::getAccessibleChild(::sal_Int32 i)
- throw (css::lang::IndexOutOfBoundsException,
- css::uno::RuntimeException, std::exception)
{
::comphelper::OExternalLockGuard aGuard(this);
init();
@@ -1467,7 +1399,6 @@ Document::getAccessibleChild(::sal_Int32 i)
// virtual
::sal_Int16 SAL_CALL Document::getAccessibleRole()
- throw (css::uno::RuntimeException, std::exception)
{
return css::accessibility::AccessibleRole::TEXT_FRAME;
}
@@ -1475,7 +1406,6 @@ Document::getAccessibleChild(::sal_Int32 i)
// virtual
css::uno::Reference< css::accessibility::XAccessible > SAL_CALL
Document::getAccessibleAtPoint(css::awt::Point const & rPoint)
- throw (css::uno::RuntimeException, std::exception)
{
::comphelper::OExternalLockGuard aGuard(this);
init();