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

coverity#737772 Uncaught exception

Change-Id: Idbff7a4dd1da93d16f85325ae992efce0b37dfee
üst 62c5c0e3
...@@ -177,7 +177,8 @@ sal_Bool SAL_CALL ViewShellWrapper::select( const ::com::sun::star::uno::Any& aS ...@@ -177,7 +177,8 @@ sal_Bool SAL_CALL ViewShellWrapper::select( const ::com::sun::star::uno::Any& aS
return bOk; return bOk;
} }
uno::Any SAL_CALL ViewShellWrapper::getSelection() throw(uno::RuntimeException) uno::Any SAL_CALL ViewShellWrapper::getSelection()
throw (uno::RuntimeException, std::exception)
{ {
Any aResult; Any aResult;
......
...@@ -102,7 +102,9 @@ public: ...@@ -102,7 +102,9 @@ public:
// XSelectionSupplier // XSelectionSupplier
virtual sal_Bool SAL_CALL select( const ::com::sun::star::uno::Any& aSelection ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL select( const ::com::sun::star::uno::Any& aSelection ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Any SAL_CALL getSelection( ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL getSelection()
throw (::com::sun::star::uno::RuntimeException,
std::exception);
virtual void SAL_CALL addSelectionChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::view::XSelectionChangeListener >& xListener ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addSelectionChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::view::XSelectionChangeListener >& xListener ) throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL removeSelectionChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::view::XSelectionChangeListener >& xListener ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL removeSelectionChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::view::XSelectionChangeListener >& xListener ) throw(::com::sun::star::uno::RuntimeException);
......
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