coverity#738392 Uncaught exception
Change-Id: I342ab51f99fd589e79bf650befc5506ab04c3fc0
This commit is contained in:
@@ -88,7 +88,10 @@ public:
|
|||||||
|
|
||||||
//XSelectionSupplier
|
//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(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 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 );
|
||||||
|
|
||||||
|
@@ -226,7 +226,9 @@ uno::Any SAL_CALL SwXTextView::queryInterface( const uno::Type& aType )
|
|||||||
return aRet;
|
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;
|
SolarMutexGuard aGuard;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user