diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 20:04:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 11:29:14 +0000 |
commit | 420ca6138c2bc56fcb98262c48b4bf2822cd73cd (patch) | |
tree | 3e2b84257b73faafe9eff2bdbaa0cf7e03466fb3 /accessibility | |
parent | a650d9e368b72c2490ff661a047cd6a11472158e (diff) |
coverity#706219 Uncaught exception
Change-Id: I1c2566337347679453bee46a78a4a0ecd7fdd2fb
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx | 8 | ||||
-rw-r--r-- | accessibility/source/extended/accessibleiconchoicectrlentry.cxx | 6 |
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 ); |