coverity#738383 Uncaught exception
Change-Id: I70c710fe93aa864c2b1ca15d7ae1c04a158c149d
This commit is contained in:
@@ -87,7 +87,9 @@ public:
|
||||
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException);
|
||||
|
||||
//XSelectionSupplier
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL getSelection(void) throw( ::com::sun::star::uno::RuntimeException );
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL getSelection()
|
||||
throw (::com::sun::star::uno::RuntimeException,
|
||||
std::exception);
|
||||
virtual sal_Bool SAL_CALL select(const ::com::sun::star::uno::Any& rInterface)
|
||||
throw (::com::sun::star::lang::IllegalArgumentException,
|
||||
::com::sun::star::uno::RuntimeException,
|
||||
|
@@ -326,7 +326,8 @@ sal_Bool SwXTextView::select(const uno::Any& aInterface)
|
||||
return bRet;
|
||||
}
|
||||
|
||||
uno::Any SwXTextView::getSelection(void) throw( uno::RuntimeException )
|
||||
uno::Any SwXTextView::getSelection()
|
||||
throw (uno::RuntimeException, std::exception)
|
||||
{
|
||||
SolarMutexGuard aGuard;
|
||||
uno::Reference< uno::XInterface > aRef;
|
||||
|
Reference in New Issue
Block a user