coverity#706219 Uncaught exception

Change-Id: I1c2566337347679453bee46a78a4a0ecd7fdd2fb
This commit is contained in:
Caolán McNamara 2014-01-27 20:04:13 +00:00
parent a650d9e368
commit 420ca6138c
2 changed files with 10 additions and 4 deletions

View File

@ -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:

View File

@ -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 );