Kaydet (Commit) f9f0c0d2 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1158382 Uncaught exception

Change-Id: Icd86cfa4ff0c4c26de0f4f9258646353e718823e
üst 71bd3ad7
......@@ -250,9 +250,8 @@ sal_Int32 SAL_CALL ScAccessibleContextBase::getBackground( )
//===== XAccessibleContext ==================================================
sal_Int32 SAL_CALL
ScAccessibleContextBase::getAccessibleChildCount(void)
throw (uno::RuntimeException)
sal_Int32 SAL_CALL ScAccessibleContextBase::getAccessibleChildCount()
throw (uno::RuntimeException, std::exception)
{
OSL_FAIL("should be implemented in the abrevated class");
return 0;
......
......@@ -1483,7 +1483,8 @@ void SAL_CALL ScAccessibleDocumentPagePreview::grabFocus() throw (uno::RuntimeEx
//===== XAccessibleContext ==============================================
sal_Int32 SAL_CALL ScAccessibleDocumentPagePreview::getAccessibleChildCount(void) throw (uno::RuntimeException)
sal_Int32 SAL_CALL ScAccessibleDocumentPagePreview::getAccessibleChildCount()
throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
IsObjectValid();
......
......@@ -141,8 +141,8 @@ public:
///===== XAccessibleContext ==============================================
/// Return the number of currently visible children.
virtual sal_Int32 SAL_CALL
getAccessibleChildCount(void) throw (::com::sun::star::uno::RuntimeException);
virtual sal_Int32 SAL_CALL getAccessibleChildCount()
throw (::com::sun::star::uno::RuntimeException, std::exception);
/// Return the specified child or NULL if index is invalid.
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
......
......@@ -65,9 +65,8 @@ public:
///===== XAccessibleContext ==============================================
/// Return the number of currently visible children.
virtual sal_Int32 SAL_CALL
getAccessibleChildCount(void)
throw (::com::sun::star::uno::RuntimeException);
virtual sal_Int32 SAL_CALL getAccessibleChildCount()
throw (::com::sun::star::uno::RuntimeException, std::exception);
/// Return the specified child or NULL if index is invalid.
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment