coverity#706219 Uncaught exception
Change-Id: I1c2566337347679453bee46a78a4a0ecd7fdd2fb
This commit is contained in:
@@ -79,8 +79,12 @@ namespace accessibility
|
|||||||
sal_Bool IsAlive_Impl() const;
|
sal_Bool IsAlive_Impl() const;
|
||||||
sal_Bool IsShowing_Impl() const;
|
sal_Bool IsShowing_Impl() const;
|
||||||
|
|
||||||
Rectangle GetBoundingBox() throw ( ::com::sun::star::lang::DisposedException );
|
Rectangle GetBoundingBox()
|
||||||
Rectangle GetBoundingBoxOnScreen() throw ( ::com::sun::star::lang::DisposedException );
|
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 EnsureIsAlive() const throw ( ::com::sun::star::lang::DisposedException );
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
@@ -149,7 +149,8 @@ throw(RuntimeException)
|
|||||||
return bShowing;
|
return bShowing;
|
||||||
}
|
}
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
Rectangle AccessibleIconChoiceCtrlEntry::GetBoundingBox() throw ( lang::DisposedException )
|
Rectangle AccessibleIconChoiceCtrlEntry::GetBoundingBox()
|
||||||
|
throw (lang::DisposedException, uno::RuntimeException)
|
||||||
{
|
{
|
||||||
SolarMutexGuard aSolarGuard;
|
SolarMutexGuard aSolarGuard;
|
||||||
::osl::MutexGuard aGuard( m_aMutex );
|
::osl::MutexGuard aGuard( m_aMutex );
|
||||||
@@ -158,7 +159,8 @@ throw(RuntimeException)
|
|||||||
return GetBoundingBox_Impl();
|
return GetBoundingBox_Impl();
|
||||||
}
|
}
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
Rectangle AccessibleIconChoiceCtrlEntry::GetBoundingBoxOnScreen() throw ( lang::DisposedException )
|
Rectangle AccessibleIconChoiceCtrlEntry::GetBoundingBoxOnScreen()
|
||||||
|
throw (lang::DisposedException, uno::RuntimeException)
|
||||||
{
|
{
|
||||||
SolarMutexGuard aSolarGuard;
|
SolarMutexGuard aSolarGuard;
|
||||||
::osl::MutexGuard aGuard( m_aMutex );
|
::osl::MutexGuard aGuard( m_aMutex );
|
||||||
|
Reference in New Issue
Block a user