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

coverity#738392 Uncaught exception

Change-Id: I342ab51f99fd589e79bf650befc5506ab04c3fc0
üst 67d81312
......@@ -88,7 +88,10 @@ public:
//XSelectionSupplier
virtual ::com::sun::star::uno::Any SAL_CALL getSelection(void) throw( ::com::sun::star::uno::RuntimeException );
virtual sal_Bool SAL_CALL select(const ::com::sun::star::uno::Any& aInterface) throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException );
virtual sal_Bool SAL_CALL select(const ::com::sun::star::uno::Any& rInterface)
throw (::com::sun::star::lang::IllegalArgumentException,
::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 removeSelectionChangeListener(const ::com::sun::star::uno::Reference< ::com::sun::star::view::XSelectionChangeListener > & xListener) throw( ::com::sun::star::uno::RuntimeException );
......
......@@ -226,7 +226,9 @@ uno::Any SAL_CALL SwXTextView::queryInterface( const uno::Type& aType )
return aRet;
}
sal_Bool SwXTextView::select(const uno::Any& aInterface) throw( lang::IllegalArgumentException, uno::RuntimeException )
sal_Bool SwXTextView::select(const uno::Any& aInterface)
throw (lang::IllegalArgumentException, uno::RuntimeException,
std::exception)
{
SolarMutexGuard aGuard;
......
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