summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx8
-rw-r--r--accessibility/source/extended/accessibleiconchoicectrlentry.cxx6
2 files changed, 10 insertions, 4 deletions
diff --git a/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx b/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx
index b0108d532008..19b005175465 100644
--- a/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx
+++ b/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx
@@ -79,8 +79,12 @@ namespace accessibility
sal_Bool IsAlive_Impl() const;
sal_Bool IsShowing_Impl() const;
- Rectangle GetBoundingBox() throw ( ::com::sun::star::lang::DisposedException );
- Rectangle GetBoundingBoxOnScreen() throw ( ::com::sun::star::lang::DisposedException );
+ Rectangle GetBoundingBox()
+ throw (css::lang::DisposedException,
+ css::uno::RuntimeException);
+ Rectangle GetBoundingBoxOnScreen()
+ throw (css::lang::DisposedException,
+ css::uno::RuntimeException);
void EnsureIsAlive() const throw ( ::com::sun::star::lang::DisposedException );
protected:
diff --git a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
index 2217d828c100..437dc4856d71 100644
--- a/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
+++ b/accessibility/source/extended/accessibleiconchoicectrlentry.cxx
@@ -149,7 +149,8 @@ throw(RuntimeException)
return bShowing;
}
// -----------------------------------------------------------------------------
- Rectangle AccessibleIconChoiceCtrlEntry::GetBoundingBox() throw ( lang::DisposedException )
+ Rectangle AccessibleIconChoiceCtrlEntry::GetBoundingBox()
+ throw (lang::DisposedException, uno::RuntimeException)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -158,7 +159,8 @@ throw(RuntimeException)
return GetBoundingBox_Impl();
}
// -----------------------------------------------------------------------------
- Rectangle AccessibleIconChoiceCtrlEntry::GetBoundingBoxOnScreen() throw ( lang::DisposedException )
+ Rectangle AccessibleIconChoiceCtrlEntry::GetBoundingBoxOnScreen()
+ throw (lang::DisposedException, uno::RuntimeException)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );