diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 14:59:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 16:12:16 +0000 |
commit | 579d077dbdba7ca22c745581c1cf4714812ced9e (patch) | |
tree | d51f3096444480dde90f80916188705fa7b48727 /sw/source | |
parent | f7e1e0243318743f18b6cc6a87b7307e357f953f (diff) |
coverity#738417 Uncaught exception
Change-Id: I654883e6e2e1826fba8bb922faff84a0b2541024
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/inc/unotxvw.hxx | 5 | ||||
-rw-r--r-- | sw/source/ui/uno/unotxvw.cxx | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sw/source/ui/inc/unotxvw.hxx b/sw/source/ui/inc/unotxvw.hxx index 67df9de58705..2b340c8b33f1 100644 --- a/sw/source/ui/inc/unotxvw.hxx +++ b/sw/source/ui/inc/unotxvw.hxx @@ -262,7 +262,10 @@ public: virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); //XPropertyState - virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState( const OUString& PropertyName ) + throw (::com::sun::star::beans::UnknownPropertyException, + ::com::sun::star::uno::RuntimeException, + std::exception); virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyState > SAL_CALL getPropertyStates( const ::com::sun::star::uno::Sequence< OUString >& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx index 9e89c32940c2..712408bc24d6 100644 --- a/sw/source/ui/uno/unotxvw.cxx +++ b/sw/source/ui/uno/unotxvw.cxx @@ -1549,7 +1549,8 @@ void SwXTextViewCursor::removeVetoableChangeListener( } PropertyState SwXTextViewCursor::getPropertyState( const OUString& rPropertyName ) - throw(UnknownPropertyException, RuntimeException) + throw (UnknownPropertyException, RuntimeException, + std::exception) { SolarMutexGuard aGuard; PropertyState eState; |