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

coverity#1267693 Uncaught exception

Change-Id: Id6ed00e9c23cf0cd48ead203e772450680687762
üst f08169c7
......@@ -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;
......
......@@ -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;
......
......@@ -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);
};
......
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