diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 15:04:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 16:12:17 +0000 |
commit | e13c43a8aa7402697b0fbf956ce27ce8fd2c78a3 (patch) | |
tree | 5456169d5aa8a8e8ccd3fab2ed5ca055635363fc | |
parent | f0e85649211101710a100379a05a5a115a7401b7 (diff) |
coverity#738419 Uncaught exception
Change-Id: I6a8a0b9038c5845cb04f6b9e43d8dce997442dc7
-rw-r--r-- | sw/source/ui/inc/unotxvw.hxx | 8 | ||||
-rw-r--r-- | sw/source/ui/uno/unotxvw.cxx | 5 |
2 files changed, 10 insertions, 3 deletions
diff --git a/sw/source/ui/inc/unotxvw.hxx b/sw/source/ui/inc/unotxvw.hxx index eb4a9ac4f6a6..6d3d053d0c7b 100644 --- a/sw/source/ui/inc/unotxvw.hxx +++ b/sw/source/ui/inc/unotxvw.hxx @@ -254,7 +254,13 @@ public: //XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) + throw (::com::sun::star::beans::UnknownPropertyException, + ::com::sun::star::beans::PropertyVetoException, + ::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException, + std::exception); virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx index 1245ee49a9df..bde63cf2a836 100644 --- a/sw/source/ui/uno/unotxvw.cxx +++ b/sw/source/ui/uno/unotxvw.cxx @@ -1487,8 +1487,9 @@ uno::Reference< XPropertySetInfo > SwXTextViewCursor::getPropertySetInfo( ) th } void SwXTextViewCursor::setPropertyValue( const OUString& rPropertyName, const Any& aValue ) - throw(UnknownPropertyException, PropertyVetoException, - IllegalArgumentException, WrappedTargetException, RuntimeException) + throw (UnknownPropertyException, PropertyVetoException, + IllegalArgumentException, WrappedTargetException, + RuntimeException, std::exception) { SolarMutexGuard aGuard; if(m_pView) |