diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 20:09:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 11:29:14 +0000 |
commit | ab4b2e0b566d1ca5f730ef07ab335e4546d78346 (patch) | |
tree | 696aca7ff0f0e05c73b22d57facb0c41462fa9e5 /accessibility | |
parent | 420ca6138c2bc56fcb98262c48b4bf2822cd73cd (diff) |
coverity#983594 Uncaught exception
Change-Id: Ic49f88b44216a24df8a236b755d22b2537245c5f
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/inc/accessibility/extended/accessiblelistboxentry.hxx | 8 | ||||
-rw-r--r-- | accessibility/source/extended/accessiblelistboxentry.cxx | 6 |
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 ); |