coverity#1267693 Uncaught exception

Change-Id: Id6ed00e9c23cf0cd48ead203e772450680687762
This commit is contained in:
Caolán McNamara
2015-01-31 20:49:41 +00:00
parent f08169c775
commit 3c3a53b3d2
3 changed files with 5 additions and 3 deletions

View File

@@ -2560,7 +2560,8 @@ namespace accessibility
uno::Sequence< beans::PropertyValue > SAL_CALL AccessibleEditableTextPara::getRunAttributes(
sal_Int32 nIndex,
const uno::Sequence< OUString >& rRequestedAttributes )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
throw (beans::UnknownPropertyException, lang::IndexOutOfBoundsException,
uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;

View File

@@ -148,7 +148,7 @@ namespace accessibility
// XAccessibleTextAttributes
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getDefaultAttributes( const ::com::sun::star::uno::Sequence< OUString >& RequestedAttributes ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getRunAttributes( ::sal_Int32 Index, const ::com::sun::star::uno::Sequence< OUString >& RequestedAttributes ) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getRunAttributes( ::sal_Int32 Index, const ::com::sun::star::uno::Sequence< OUString >& RequestedAttributes ) throw (css::beans::UnknownPropertyException, css::lang::IndexOutOfBoundsException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleHypertext
virtual ::sal_Int32 SAL_CALL getHyperLinkCount( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;

View File

@@ -86,7 +86,8 @@ interface XAccessibleTextAttributes
sequence<::com::sun::star::beans::PropertyValue>
getRunAttributes ( [in] long Index,
[in] sequence<string> RequestedAttributes )
raises (::com::sun::star::lang::IndexOutOfBoundsException);
raises (::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::IndexOutOfBoundsException);
};