summaryrefslogtreecommitdiff
path: root/svx/source/accessibility/ChildrenManagerImpl.cxx
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 /svx/source/accessibility/ChildrenManagerImpl.cxx
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 'svx/source/accessibility/ChildrenManagerImpl.cxx')
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.cxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx
index 74fb7e481c4e..b3674b56f1d9 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.cxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.cxx
@@ -106,8 +106,6 @@ long ChildrenManagerImpl::GetChildCount() const throw ()
css::uno::Reference<css::drawing::XShape> ChildrenManagerImpl::GetChildShape(long nIndex)
- throw (css::uno::RuntimeException,
- css::lang::IndexOutOfBoundsException)
{
uno::Reference<XAccessible> xAcc = GetChild(nIndex);
ChildDescriptorListType::const_iterator aEnd = maVisibleChildren.end();
@@ -124,8 +122,6 @@ css::uno::Reference<css::drawing::XShape> ChildrenManagerImpl::GetChildShape(lon
*/
uno::Reference<XAccessible>
ChildrenManagerImpl::GetChild (long nIndex)
- throw (css::uno::RuntimeException,
- css::lang::IndexOutOfBoundsException)
{
// Check whether the given index is valid.
if (nIndex < 0 || (unsigned long)nIndex >= maVisibleChildren.size())
@@ -142,7 +138,6 @@ uno::Reference<XAccessible>
*/
uno::Reference<XAccessible>
ChildrenManagerImpl::GetChild (ChildDescriptor& rChildDescriptor,sal_Int32 _nIndex)
- throw (css::uno::RuntimeException)
{
if ( ! rChildDescriptor.mxAccessibleShape.is())
{
@@ -178,7 +173,6 @@ uno::Reference<XAccessible>
uno::Reference<XAccessible>
ChildrenManagerImpl::GetChild (const uno::Reference<drawing::XShape>& xShape)
- throw (uno::RuntimeException)
{
ChildDescriptorListType::const_iterator aEnd = maVisibleChildren.end();
for (ChildDescriptorListType::iterator I = maVisibleChildren.begin(); I != aEnd; ++I)
@@ -623,7 +617,6 @@ void ChildrenManagerImpl::SetInfo (const AccessibleShapeTreeInfo& rShapeTreeInfo
// lang::XEventListener
void SAL_CALL
ChildrenManagerImpl::disposing (const lang::EventObject& rEventObject)
- throw (uno::RuntimeException, std::exception)
{
if (rEventObject.Source == maShapeTreeInfo.GetModelBroadcaster()
|| rEventObject.Source == maShapeTreeInfo.GetController())
@@ -655,7 +648,6 @@ void SAL_CALL
void SAL_CALL
ChildrenManagerImpl::notifyEvent (
const document::EventObject& rEventObject)
- throw (uno::RuntimeException, std::exception)
{
if (rEventObject.EventName == "ShapeInserted")
AddShape (Reference<drawing::XShape>(rEventObject.Source, uno::UNO_QUERY));
@@ -667,7 +659,6 @@ void SAL_CALL
// view::XSelectionChangeListener
void SAL_CALL
ChildrenManagerImpl::selectionChanged (const lang::EventObject& /*rEvent*/)
- throw (uno::RuntimeException, std::exception)
{
UpdateSelection ();
}
@@ -734,7 +725,6 @@ bool ChildrenManagerImpl::ReplaceChild (
const css::uno::Reference< css::drawing::XShape >& _rxShape,
const long /*_nIndex*/,
const AccessibleShapeTreeInfo& _rShapeTreeInfo)
- throw (uno::RuntimeException)
{
AccessibleShapeInfo aShapeInfo( _rxShape, pCurrentChild->getAccessibleParent(), this );
// create the new child
@@ -783,7 +773,7 @@ bool ChildrenManagerImpl::ReplaceChild (
}
// Add the impl method for IAccessibleParent interface
-AccessibleControlShape * ChildrenManagerImpl::GetAccControlShapeFromModel(css::beans::XPropertySet* pSet) throw (css::uno::RuntimeException)
+AccessibleControlShape * ChildrenManagerImpl::GetAccControlShapeFromModel(css::beans::XPropertySet* pSet)
{
sal_Int32 count = GetChildCount();
for (sal_Int32 index=0;index<count;index++)
@@ -800,7 +790,6 @@ AccessibleControlShape * ChildrenManagerImpl::GetAccControlShapeFromModel(css::b
}
uno::Reference<XAccessible>
ChildrenManagerImpl::GetAccessibleCaption (const uno::Reference<drawing::XShape>& xShape)
- throw (uno::RuntimeException)
{
ChildDescriptorListType::const_iterator aEnd = maVisibleChildren.end();
for (ChildDescriptorListType::iterator I = maVisibleChildren.begin(); I != aEnd; ++I)