summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/inc/accessibility/extended/accessiblelistboxentry.hxx8
-rw-r--r--accessibility/source/extended/accessiblelistboxentry.cxx6
2 files changed, 10 insertions, 4 deletions
diff --git a/accessibility/inc/accessibility/extended/accessiblelistboxentry.hxx b/accessibility/inc/accessibility/extended/accessiblelistboxentry.hxx
index 4eff637f39ab..57c4a8bd609b 100644
--- a/accessibility/inc/accessibility/extended/accessiblelistboxentry.hxx
+++ b/accessibility/inc/accessibility/extended/accessiblelistboxentry.hxx
@@ -104,8 +104,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 );
void NotifyAccessibleEvent( sal_Int16 _nEventId, const ::com::sun::star::uno::Any& _aOldValue, const ::com::sun::star::uno::Any& _aNewValue );
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx
index 98666fdc9590..3d2cefa53dc2 100644
--- a/accessibility/source/extended/accessiblelistboxentry.cxx
+++ b/accessibility/source/extended/accessiblelistboxentry.cxx
@@ -163,7 +163,8 @@ namespace accessibility
return bShowing;
}
// -----------------------------------------------------------------------------
- Rectangle AccessibleListBoxEntry::GetBoundingBox() throw ( lang::DisposedException )
+ Rectangle AccessibleListBoxEntry::GetBoundingBox()
+ throw (lang::DisposedException, uno::RuntimeException)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );
@@ -172,7 +173,8 @@ namespace accessibility
return GetBoundingBox_Impl();
}
// -----------------------------------------------------------------------------
- Rectangle AccessibleListBoxEntry::GetBoundingBoxOnScreen() throw ( lang::DisposedException )
+ Rectangle AccessibleListBoxEntry::GetBoundingBoxOnScreen()
+ throw (lang::DisposedException, uno::RuntimeException)
{
SolarMutexGuard aSolarGuard;
::osl::MutexGuard aGuard( m_aMutex );