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

coverity#706504 Uncaught exception

Change-Id: I727779317672fe58c440aee76762d0a9ae28d8ca
üst f816087a
......@@ -2447,7 +2447,7 @@ namespace accessibility
// XAccessibleTextAttributes
uno::Sequence< beans::PropertyValue > SAL_CALL AccessibleEditableTextPara::getDefaultAttributes(
const uno::Sequence< OUString >& rRequestedAttributes )
throw (uno::RuntimeException, std::exception)
throw (beans::UnknownPropertyException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
......
......@@ -147,7 +147,7 @@ namespace accessibility
virtual sal_Bool SAL_CALL setText( const OUString& sText ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// 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::uno::RuntimeException, std::exception) SAL_OVERRIDE;
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;
// XAccessibleHypertext
......
......@@ -22,6 +22,7 @@
#include <com/sun/star/lang/IndexOutOfBoundsException.idl>
#include <com/sun/star/beans/PropertyValue.idl>
#include <com/sun/star/beans/UnknownPropertyException.idl>
module com { module sun { module star { module accessibility {
......@@ -52,7 +53,8 @@ interface XAccessibleTextAttributes
object.
*/
sequence<::com::sun::star::beans::PropertyValue>
getDefaultAttributes ( [in] sequence<string> RequestedAttributes );
getDefaultAttributes ( [in] sequence<string> RequestedAttributes )
raises ( ::com::sun::star::beans::UnknownPropertyException );
/** Get the run attribute set for the specified position.
......
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